summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2024-01-16 15:07:23 -0500
committerKyleMiles <krm504@nyu.edu>2024-01-19 15:45:24 -0500
commitfb0fcd199680032932784b07b074738999779d58 (patch)
tree55a1d53541c0ec99bb486ff9863d14540602ad9c /binaryninjacore.h
parent60d69dba06adb8ea442ee5e28c1bfda5290818e1 (diff)
Add support for components in debug info
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 0fdba060..3bea2623 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2989,6 +2989,8 @@ extern "C"
uint64_t address;
BNType* type;
BNPlatform* platform;
+ char** components;
+ size_t componentN;
} BNDebugFunctionInfo;
typedef struct BNSecretsProviderCallbacks
@@ -6597,7 +6599,7 @@ extern "C"
BINARYNINJACOREAPI bool BNRemoveDebugParserDataVariables(
BNDebugInfo* const debugInfo, const char* const parserName);
BINARYNINJACOREAPI bool BNAddDebugType(
- BNDebugInfo* const debugInfo, const char* const name, const BNType* const type);
+ BNDebugInfo* const debugInfo, const char* const name, const BNType* const type, const char** const components, size_t components_count);
BINARYNINJACOREAPI BNNameAndType* BNGetDebugTypes(
BNDebugInfo* const debugInfo, const char* const name, size_t* count);
BINARYNINJACOREAPI BNType* BNGetDebugTypeByName(
@@ -6614,7 +6616,7 @@ extern "C"
BNDebugInfo* const debugInfo, const char* const parserName, const size_t index);
BINARYNINJACOREAPI void BNFreeDebugFunctions(BNDebugFunctionInfo* functions, size_t count);
BINARYNINJACOREAPI bool BNAddDebugDataVariable(
- BNDebugInfo* const debugInfo, uint64_t address, const BNType* const type, const char* name);
+ BNDebugInfo* const debugInfo, uint64_t address, const BNType* const type, const char* name, const char** const components, size_t components_count);
BINARYNINJACOREAPI bool BNAddDebugDataVariableInfo(
BNDebugInfo* const debugInfo, const BNDataVariableAndName* var);
BINARYNINJACOREAPI BNDataVariableAndName* BNGetDebugDataVariables(