BinaryNinja::ConstantData Struct Reference

Public Member Functions

 ConstantData ()
 
 ConstantData (BNRegisterValueType state, uint64_t value)
 
 ConstantData (BNRegisterValueType state, uint64_t value, size_t size, Ref< Function > func=nullptr)
 
DataBuffer ToDataBuffer () const
 
RegisterValue ToRegisterValue () const
 

Public Attributes

Ref< Functionfunc = nullptr
 
- Public Attributes inherited from BNRegisterValue
BNRegisterValueType state
 
int64_t value
 
int64_t offset
 
size_t size
 

Constructor & Destructor Documentation

◆ ConstantData() [1/3]

ConstantData::ConstantData ( )

◆ ConstantData() [2/3]

ConstantData::ConstantData ( BNRegisterValueType  state,
uint64_t  value 
)

◆ ConstantData() [3/3]

ConstantData::ConstantData ( BNRegisterValueType  state,
uint64_t  value,
size_t  size,
Ref< Function func = nullptr 
)

Member Function Documentation

◆ ToDataBuffer()

DataBuffer ConstantData::ToDataBuffer ( ) const

◆ ToRegisterValue()

RegisterValue ConstantData::ToRegisterValue ( ) const

Member Data Documentation

◆ func

Ref<Function> BinaryNinja::ConstantData::func = nullptr