BNCustomRelocationHandler Struct Reference

Public Attributes

void * context
 
void(* freeObject )(void *ctxt)
 
bool(* getRelocationInfo )(void *ctxt, BNBinaryView *view, BNArchitecture *arch, BNRelocationInfo *result, size_t resultCount)
 
bool(* applyRelocation )(void *ctxt, BNBinaryView *view, BNArchitecture *arch, BNRelocation *reloc, uint8_t *dest, size_t len)
 
size_t(* getOperandForExternalRelocation )(void *ctxt, const uint8_t *data, uint64_t addr, size_t length, BNLowLevelILFunction *il, BNRelocation *relocation)
 

Member Data Documentation

◆ applyRelocation

bool(* BNCustomRelocationHandler::applyRelocation) (void *ctxt, BNBinaryView *view, BNArchitecture *arch, BNRelocation *reloc, uint8_t *dest, size_t len)

◆ context

void* BNCustomRelocationHandler::context

◆ freeObject

void(* BNCustomRelocationHandler::freeObject) (void *ctxt)

◆ getOperandForExternalRelocation

size_t(* BNCustomRelocationHandler::getOperandForExternalRelocation) (void *ctxt, const uint8_t *data, uint64_t addr, size_t length, BNLowLevelILFunction *il, BNRelocation *relocation)

◆ getRelocationInfo

bool(* BNCustomRelocationHandler::getRelocationInfo) (void *ctxt, BNBinaryView *view, BNArchitecture *arch, BNRelocationInfo *result, size_t resultCount)

The documentation for this struct was generated from the following file: