ROSE 0.11.145.192
|
Information about how an instruction accesses a variable.
Definition at line 17 of file InstructionAccess.h.
#include <Rose/BinaryAnalysis/Variables/InstructionAccess.h>
Public Member Functions | |
InstructionAccess (const AccessFlags) | |
Constructor for variables created by no instruction. | |
InstructionAccess (const Address insnAddr, const AccessFlags) | |
Constructor for variables created by an instruction. | |
Sawyer::Optional< Address > | address () const |
Property: Instruction address. | |
std::string | toString () const |
String representation of this object. | |
AccessFlags | access () const |
Property: Access type. | |
AccessFlags & | access () |
Property: Access type. | |
Public Attributes | |
Sawyer::Optional< Address > | address_ |
Address of instruction accessing the variable. | |
AccessFlags | access_ |
How the instruction accesses the variable. | |
std::string | accessString () const |
String describing access. | |
static std::string | accessString (AccessFlags) |
String describing access. | |
Sawyer::Optional< Address > Rose::BinaryAnalysis::Variables::InstructionAccess::address | ( | ) | const |
Property: Instruction address.
The address is optional. If the address is missing it means that the variable was discovered by some means other than looking at instructions. For instance, some variables might be created by the caller according to the calling convention.
AccessFlags Rose::BinaryAnalysis::Variables::InstructionAccess::access | ( | ) | const |
Property: Access type.
How this instruction accesses the variable, whether it reads from the variable, writes to the variable, or both.
AccessFlags & Rose::BinaryAnalysis::Variables::InstructionAccess::access | ( | ) |
Property: Access type.
How this instruction accesses the variable, whether it reads from the variable, writes to the variable, or both.
std::string Rose::BinaryAnalysis::Variables::InstructionAccess::accessString | ( | ) | const |
String describing access.
Returns "read", "write", "read/write", or "no access".
|
static |
String describing access.
Returns "read", "write", "read/write", or "no access".
Sawyer::Optional<Address> Rose::BinaryAnalysis::Variables::InstructionAccess::address_ |
Address of instruction accessing the variable.
Definition at line 19 of file InstructionAccess.h.
AccessFlags Rose::BinaryAnalysis::Variables::InstructionAccess::access_ |
How the instruction accesses the variable.
Definition at line 20 of file InstructionAccess.h.