Ghidra 11.3.2
Ghidra internal decompiler documentation.
Loading...
Searching...
No Matches
ghidra::TokenPattern Class Reference
Collaboration diagram for ghidra::TokenPattern:
[legend]

Public Member Functions

 TokenPattern (bool tf)
 
 TokenPattern (Token *tok)
 
 TokenPattern (Token *tok, intb value, int4 bitstart, int4 bitend)
 
 TokenPattern (intb value, int4 startbit, int4 endbit)
 
 TokenPattern (const TokenPattern &tokpat)
 
const TokenPatternoperator= (const TokenPattern &tokpat)
 
void setLeftEllipsis (bool val)
 
void setRightEllipsis (bool val)
 
bool getLeftEllipsis (void) const
 
bool getRightEllipsis (void) const
 
TokenPattern doAnd (const TokenPattern &tokpat) const
 
TokenPattern doOr (const TokenPattern &tokpat) const
 
TokenPattern doCat (const TokenPattern &tokpat) const
 
TokenPattern commonSubPattern (const TokenPattern &tokpat) const
 
PatterngetPattern (void) const
 
int4 getMinimumLength (void) const
 
bool alwaysTrue (void) const
 
bool alwaysFalse (void) const
 
bool alwaysInstructionTrue (void) const
 

Private Member Functions

int4 resolveTokens (const TokenPattern &tokpat1, const TokenPattern &tokpat2)
 
 TokenPattern (Pattern *pat)
 

Static Private Member Functions

static PatternBlockbuildSingle (int4 startbit, int4 endbit, uintm byteval)
 
static PatternBlockbuildBigBlock (int4 size, int4 bitstart, int4 bitend, intb value)
 
static PatternBlockbuildLittleBlock (int4 size, int4 bitstart, int4 bitend, intb value)
 

Private Attributes

Patternpattern
 
vector< Token * > toklist
 
bool leftellipsis
 
bool rightellipsis
 

The documentation for this class was generated from the following files: