Binary Ninja API C++: BinaryNinja::RelocationHandler Class Reference

Public Member Functions

virtual bool GetRelocationInfo (Ref< BinaryView > view, Ref< Architecture > arch, std::vector< BNRelocationInfo > &result)
virtual bool ApplyRelocation (Ref< BinaryView > view, Ref< Architecture > arch, Ref< Relocation > reloc, uint8_t *dest, size_t len)
virtual size_t GetOperandForExternalRelocation (const uint8_t *data, uint64_t addr, size_t length, Ref< LowLevelILFunction > il, Ref< Relocation > relocation)
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNRelocationHandler, BNNewRelocationHandlerReference, BNFreeRelocationHandler >
 CoreRefCountObject ()
virtual ~CoreRefCountObject ()
BNRelocationHandlerGetObject () const
void AddRef ()
void Release ()
void AddRefForRegistration ()
void ReleaseForRegistration ()
void AddRefForCallback ()
void ReleaseForCallback ()

Static Protected Member Functions

static void FreeCallback (void *ctxt)
RelocationHandler::RelocationHandler ( )
protected

◆ RelocationHandler() [2/2]

◆ FreeCallback()

void RelocationHandler::FreeCallback ( void * ctxt)
staticprotected

◆ GetRelocationInfo()

◆ ApplyRelocation()

◆ GetOperandForExternalRelocation()

size_t RelocationHandler::GetOperandForExternalRelocation ( const uint8_t * data,
uint64_t addr,
size_t length,
Ref< LowLevelILFunction > il,
Ref< Relocation > relocation )
virtual