summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 22b72ee4..fa076984 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -6953,11 +6953,13 @@ namespace BinaryNinja {
std::string GetName() const;
Ref<DebugInfo> Parse(Ref<BinaryView> view, Ref<DebugInfo> existingDebugInfo = nullptr) const;
+ bool IsExternal() const;
bool IsValidForView(const Ref<BinaryView> view) const;
};
class CustomDebugInfoParser : public DebugInfoParser
{
+ static bool IsExternalCallback(void* ctxt);
static bool IsValidCallback(void* ctxt, BNBinaryView* view);
static void ParseCallback(void* ctxt, BNDebugInfo* debugInfo, BNBinaryView* view);
BNDebugInfoParser* Register(const std::string& name);
@@ -6966,6 +6968,7 @@ namespace BinaryNinja {
CustomDebugInfoParser(const std::string& name);
virtual ~CustomDebugInfoParser() {}
+ virtual bool IsExternal() = 0;
virtual bool IsValid(Ref<BinaryView>) = 0;
virtual void ParseInfo(Ref<DebugInfo>, Ref<BinaryView>) = 0;
};