mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
A first cut at normalizing the structure of sleigh error messages
This commit is contained in:
parent
b0609a1cb3
commit
0ed1540e3a
22 changed files with 661 additions and 408 deletions
|
@ -82,7 +82,9 @@ public:
|
|||
void setResult(ConstructTpl *res) { result = res; }
|
||||
ConstructTpl *releaseResult(void) { ConstructTpl *res = result; result = (ConstructTpl *)0; return res; }
|
||||
virtual ~PcodeSnippet(void);
|
||||
virtual void reportError(const string &msg);
|
||||
virtual const Location *getLocation(SleighSymbol *sym) const { return (const Location *)0; }
|
||||
virtual void reportError(const Location *loc, const string &msg);
|
||||
virtual void reportWarning(const Location *loc, const string &msg) {}
|
||||
bool hasErrors(void) const { return (errorcount != 0); }
|
||||
const string getErrorMessage(void) const { return firsterror; }
|
||||
void setUniqueBase(uintb val) { tempbase = val; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue