BNTypePrinterCallbacks Struct Reference

Public Attributes

void * context
 
bool(* getTypeTokens )(void *ctxt, BNType *type, BNPlatform *platform, BNQualifiedName *name, uint8_t baseConfidence, BNTokenEscapingType escaping, BNInstructionTextToken **result, size_t *resultCount)
 
bool(* getTypeTokensBeforeName )(void *ctxt, BNType *type, BNPlatform *platform, uint8_t baseConfidence, BNType *parentType, BNTokenEscapingType escaping, BNInstructionTextToken **result, size_t *resultCount)
 
bool(* getTypeTokensAfterName )(void *ctxt, BNType *type, BNPlatform *platform, uint8_t baseConfidence, BNType *parentType, BNTokenEscapingType escaping, BNInstructionTextToken **result, size_t *resultCount)
 
bool(* getTypeString )(void *ctxt, BNType *type, BNPlatform *platform, BNQualifiedName *name, BNTokenEscapingType escaping, char **result)
 
bool(* getTypeStringBeforeName )(void *ctxt, BNType *type, BNPlatform *platform, BNTokenEscapingType escaping, char **result)
 
bool(* getTypeStringAfterName )(void *ctxt, BNType *type, BNPlatform *platform, BNTokenEscapingType escaping, char **result)
 
bool(* getTypeLines )(void *ctxt, BNType *type, BNBinaryView *data, BNQualifiedName *name, int lineWidth, bool collapsed, BNTokenEscapingType escaping, BNTypeDefinitionLine **result, size_t *resultCount)
 
void(* freeTokens )(void *ctxt, BNInstructionTextToken *tokens, size_t count)
 
void(* freeString )(void *ctxt, char *string)
 
void(* freeLines )(void *ctxt, BNTypeDefinitionLine *lines, size_t count)
 

Member Data Documentation

◆ context

void* BNTypePrinterCallbacks::context

◆ freeLines

void(* BNTypePrinterCallbacks::freeLines) (void *ctxt, BNTypeDefinitionLine *lines, size_t count)

◆ freeString

void(* BNTypePrinterCallbacks::freeString) (void *ctxt, char *string)

◆ freeTokens

void(* BNTypePrinterCallbacks::freeTokens) (void *ctxt, BNInstructionTextToken *tokens, size_t count)

◆ getTypeLines

bool(* BNTypePrinterCallbacks::getTypeLines) (void *ctxt, BNType *type, BNBinaryView *data, BNQualifiedName *name, int lineWidth, bool collapsed, BNTokenEscapingType escaping, BNTypeDefinitionLine **result, size_t *resultCount)

◆ getTypeString

bool(* BNTypePrinterCallbacks::getTypeString) (void *ctxt, BNType *type, BNPlatform *platform, BNQualifiedName *name, BNTokenEscapingType escaping, char **result)

◆ getTypeStringAfterName

bool(* BNTypePrinterCallbacks::getTypeStringAfterName) (void *ctxt, BNType *type, BNPlatform *platform, BNTokenEscapingType escaping, char **result)

◆ getTypeStringBeforeName

bool(* BNTypePrinterCallbacks::getTypeStringBeforeName) (void *ctxt, BNType *type, BNPlatform *platform, BNTokenEscapingType escaping, char **result)

◆ getTypeTokens

bool(* BNTypePrinterCallbacks::getTypeTokens) (void *ctxt, BNType *type, BNPlatform *platform, BNQualifiedName *name, uint8_t baseConfidence, BNTokenEscapingType escaping, BNInstructionTextToken **result, size_t *resultCount)

◆ getTypeTokensAfterName

bool(* BNTypePrinterCallbacks::getTypeTokensAfterName) (void *ctxt, BNType *type, BNPlatform *platform, uint8_t baseConfidence, BNType *parentType, BNTokenEscapingType escaping, BNInstructionTextToken **result, size_t *resultCount)

◆ getTypeTokensBeforeName

bool(* BNTypePrinterCallbacks::getTypeTokensBeforeName) (void *ctxt, BNType *type, BNPlatform *platform, uint8_t baseConfidence, BNType *parentType, BNTokenEscapingType escaping, BNInstructionTextToken **result, size_t *resultCount)

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