summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorrose <47357290+rose4096@users.noreply.github.com>2022-06-09 17:06:30 -0400
committerrose <47357290+rose4096@users.noreply.github.com>2022-06-09 17:06:30 -0400
commit94649dde0d847aa2407d565632f7d2c3cdff32f5 (patch)
tree3af9509057f2fea45c6ae11a8e54d2cd57132bda /binaryninjacore.h
parent3556fc9c0cf451739df838ad78b5be52a2d482f3 (diff)
Add `IsExternal` callback to debug info API
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 9961f45b..64b41bde 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -6109,13 +6109,15 @@ extern "C"
BINARYNINJACOREAPI char* BNRustSimplifyStrToStr(const char* const);
BINARYNINJACOREAPI BNDebugInfoParser* BNRegisterDebugInfoParser(const char* name,
- bool (*isValid)(void*, BNBinaryView*), void (*parseInfo)(void*, BNDebugInfo*, BNBinaryView*), void* context);
+ bool(*IsExternal)(void*), bool (*isValid)(void*, BNBinaryView*),
+ void (*parseInfo)(void*, BNDebugInfo*, BNBinaryView*), void* context);
BINARYNINJACOREAPI void BNUnregisterDebugInfoParser(const char* rawName);
BINARYNINJACOREAPI BNDebugInfoParser* BNGetDebugInfoParserByName(const char* name);
BINARYNINJACOREAPI BNDebugInfoParser** BNGetDebugInfoParsers(size_t* count);
BINARYNINJACOREAPI BNDebugInfoParser** BNGetDebugInfoParsersForView(BNBinaryView* view, size_t* count);
BINARYNINJACOREAPI char* BNGetDebugInfoParserName(BNDebugInfoParser* parser);
BINARYNINJACOREAPI bool BNIsDebugInfoParserValidForView(BNDebugInfoParser* parser, BNBinaryView* view);
+ BINARYNINJACOREAPI bool BNIsDebugInfoParserExternal(BNDebugInfoParser* parser);
BINARYNINJACOREAPI BNDebugInfo* BNParseDebugInfo(
BNDebugInfoParser* parser, BNBinaryView* view, BNDebugInfo* existingDebugInfo);
BINARYNINJACOREAPI BNDebugInfoParser* BNNewDebugInfoParserReference(BNDebugInfoParser* parser);