Loading...
Searching...
No Matches
BinaryNinja::ValueLocationComponent Struct Reference

Public Member Functions

 ValueLocationComponent ()=default
 ValueLocationComponent (Variable var, int64_t ofs=0, std::optional< uint64_t > sz=std::nullopt)
ValueLocationComponent RemapVariables (const std::function< Variable(Variable)> &remap) const
bool operator== (const ValueLocationComponent &component) const
bool operator!= (const ValueLocationComponent &component) const
BNValueLocationComponent ToAPIObject () const
std::string ToString (Architecture *arch) const

Static Public Member Functions

static ValueLocationComponent FromAPIObject (const BNValueLocationComponent *loc)

Public Attributes

Variable variable
int64_t offset = 0
std::optional< uint64_t > size

Constructor & Destructor Documentation

◆ ValueLocationComponent() [1/2]

BinaryNinja::ValueLocationComponent::ValueLocationComponent ( )
default

◆ ValueLocationComponent() [2/2]

BinaryNinja::ValueLocationComponent::ValueLocationComponent ( Variable var,
int64_t ofs = 0,
std::optional< uint64_t > sz = std::nullopt )
inline

Member Function Documentation

◆ RemapVariables()

ValueLocationComponent ValueLocationComponent::RemapVariables ( const std::function< Variable(Variable)> & remap) const

◆ operator==()

bool ValueLocationComponent::operator== ( const ValueLocationComponent & component) const

◆ operator!=()

bool ValueLocationComponent::operator!= ( const ValueLocationComponent & component) const

◆ FromAPIObject()

ValueLocationComponent ValueLocationComponent::FromAPIObject ( const BNValueLocationComponent * loc)
static

◆ ToAPIObject()

BNValueLocationComponent ValueLocationComponent::ToAPIObject ( ) const

◆ ToString()

std::string ValueLocationComponent::ToString ( Architecture * arch) const

Member Data Documentation

◆ variable

Variable BinaryNinja::ValueLocationComponent::variable

◆ offset

int64_t BinaryNinja::ValueLocationComponent::offset = 0

◆ size

std::optional<uint64_t> BinaryNinja::ValueLocationComponent::size