Improve firmware parser and tool robustness

closes #241
This commit is contained in:
joevt 2021-10-07 18:51:39 +03:00 committed by vit9696
parent e14547c497
commit f9c35f77a6
41 changed files with 415 additions and 324 deletions

View file

@ -46,7 +46,7 @@ public:
FfsParser(TreeModel* treeModel);
~FfsParser();
// Obtain parser messages
// Obtain parser messages
std::vector<std::pair<UString, UModelIndex> > getMessages() const;
// Clear messages
void clearMessages() { messagesVector.clear(); }
@ -63,6 +63,9 @@ public:
// Obtain offset/address difference
UINT64 getAddressDiff() { return addressDiff; }
// Output some info to stdout
void outputInfo(void);
private:
TreeModel *model;
std::vector<std::pair<UString, UModelIndex> > messagesVector;