decompiler
1.0.0
|
A context blob, holding context values across some range of code addresses. More...
Public Member Functions | |
FreeArray (void) | |
Construct an empty context blob. | |
~FreeArray (void) | |
Destructor. | |
void | reset (int4 sz) |
Resize the context blob, preserving old values. More... | |
FreeArray & | operator= (const FreeArray &op2) |
Assignment operator. More... | |
Public Attributes | |
uintm * | array |
The "array of words" holding context variable values. | |
uintm * | mask |
The mask array indicating which variables are explicitly set. | |
int4 | size |
The number of words in the array. | |
A context blob, holding context values across some range of code addresses.
This is an internal object that allocates the actual "array of words" for a context blob. An associated mask array holds 1-bits for context variables that were explicitly set for the specific split point.
ContextInternal::FreeArray & ghidra::ContextInternal::FreeArray::operator= | ( | const FreeArray & | op2 | ) |
Assignment operator.
Clone a context blob into this.
op2 | is the context blob being cloned/copied |
References array, ghidra::ContextBitRange::mask, and size.
void ghidra::ContextInternal::FreeArray::reset | ( | int4 | sz | ) |
Resize the context blob, preserving old values.
The "array of words" and mask array are resized to the given value. Old values are preserved, chopping off the last values, or appending zeroes, as needed.
sz | is the new number of words to resize array to |
References ghidra::ContextBitRange::mask.