My Project
|
Description of a LOAD operation that needs to be guarded. More...
#include <heritage.hh>
Public Member Functions | |
PcodeOp * | getOp (void) const |
Get the PcodeOp being guarded. | |
uintb | getMinimum (void) const |
Get minimum offset of the guarded range. | |
uintb | getMaximum (void) const |
Get maximum offset of the guarded range. | |
int4 | getStep (void) const |
Get the calculated step associated with the range (or 0) | |
bool | isGuarded (const Address &addr) const |
Does this guard apply to the given address. More... | |
bool | isRangeLocked (void) const |
Return true if the range is fully determined. | |
bool | isValid (OpCode opc) const |
Return true if the record still describes an active LOAD. | |
Friends | |
class | Heritage |
Description of a LOAD operation that needs to be guarded.
Heritage maintains a list of CPUI_LOAD ops that reference the stack dynamically. These can potentially alias stack Varnodes, so we maintain what (possibly limited) information we known about the range of stack addresses that can be referenced.
bool LoadGuard::isGuarded | ( | const Address & | addr | ) | const |
Does this guard apply to the given address.
Check if the address falls within the range defined by this
addr | is the given address |