mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Allow SLEIGH bitrange operator applied to dynamic varnodes
This commit is contained in:
parent
e440e3333f
commit
311a22c038
63 changed files with 1064 additions and 747 deletions
|
@ -71,11 +71,11 @@ class PcodeSnippet : public PcodeCompile {
|
|||
PcodeLexer lexer;
|
||||
const SleighBase *sleigh; // Language from which we get symbols
|
||||
SymbolTree tree; // Symbols in the local scope of the snippet (temporaries)
|
||||
uintb tempbase;
|
||||
uint4 tempbase;
|
||||
int4 errorcount;
|
||||
string firsterror;
|
||||
ConstructTpl *result;
|
||||
virtual uintb allocateTemp(void);
|
||||
virtual uint4 allocateTemp(void);
|
||||
virtual void addSymbol(SleighSymbol *sym);
|
||||
public:
|
||||
PcodeSnippet(const SleighBase *slgh);
|
||||
|
@ -87,8 +87,8 @@ public:
|
|||
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; }
|
||||
uintb getUniqueBase(void) const { return tempbase; }
|
||||
void setUniqueBase(uint4 val) { tempbase = val; }
|
||||
uint4 getUniqueBase(void) const { return tempbase; }
|
||||
void clear(void);
|
||||
int lex(void);
|
||||
bool parseStream(istream& s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue