BinaryNinja::ExternalLocation Class Reference

Public Member Functions

 ExternalLocation (BNExternalLocation *loc)
 
Ref< SymbolGetSourceSymbol ()
 
std::optional< uint64_t > GetTargetAddress ()
 
std::optional< std::string > GetTargetSymbol ()
 
Ref< ExternalLibraryGetExternalLibrary ()
 
bool HasTargetAddress ()
 
bool HasTargetSymbol ()
 
bool SetTargetAddress (std::optional< uint64_t > address)
 
bool SetTargetSymbol (std::optional< std::string > symbol)
 
void SetExternalLibrary (Ref< ExternalLibrary > library)
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNExternalLocation, BNNewExternalLocationReference, BNFreeExternalLocation >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNExternalLocationGetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 
void AddRefForCallback ()
 
void ReleaseForCallback ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNExternalLocation, BNNewExternalLocationReference, BNFreeExternalLocation >
static BNExternalLocationGetObject (CoreRefCountObject *obj)
 
static BNExternalLocationGetObject (const CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNExternalLocation, BNNewExternalLocationReference, BNFreeExternalLocation >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNExternalLocationm_object
 

Constructor & Destructor Documentation

◆ ExternalLocation()

ExternalLocation::ExternalLocation ( BNExternalLocation loc)

Member Function Documentation

◆ GetSourceSymbol()

Ref< Symbol > ExternalLocation::GetSourceSymbol ( )

◆ GetTargetAddress()

std::optional< uint64_t > ExternalLocation::GetTargetAddress ( )

◆ GetTargetSymbol()

std::optional< std::string > ExternalLocation::GetTargetSymbol ( )

◆ GetExternalLibrary()

Ref< ExternalLibrary > ExternalLocation::GetExternalLibrary ( )

◆ HasTargetAddress()

bool ExternalLocation::HasTargetAddress ( )

◆ HasTargetSymbol()

bool ExternalLocation::HasTargetSymbol ( )

◆ SetTargetAddress()

bool ExternalLocation::SetTargetAddress ( std::optional< uint64_t >  address)

◆ SetTargetSymbol()

bool ExternalLocation::SetTargetSymbol ( std::optional< std::string >  symbol)

◆ SetExternalLibrary()

void ExternalLocation::SetExternalLibrary ( Ref< ExternalLibrary library)