summaryrefslogtreecommitdiff
path: root/debuginfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debuginfo.cpp')
-rw-r--r--debuginfo.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/debuginfo.cpp b/debuginfo.cpp
index 59636d4a..e8450399 100644
--- a/debuginfo.cpp
+++ b/debuginfo.cpp
@@ -222,12 +222,6 @@ Ref<DebugInfo> DebugInfoParser::Parse(Ref<BinaryView> view, Ref<DebugInfo> exist
}
-bool DebugInfoParser::IsExternal() const
-{
- return BNIsDebugInfoParserExternal(m_object);
-}
-
-
bool DebugInfoParser::IsValidForView(const Ref<BinaryView> view) const
{
return BNIsDebugInfoParserValidForView(m_object, view->GetObject());
@@ -238,12 +232,6 @@ bool DebugInfoParser::IsValidForView(const Ref<BinaryView> view) const
// Plugin registration APIs //
//////////////////////////////
-bool CustomDebugInfoParser::IsExternalCallback(void* ctxt)
-{
- CustomDebugInfoParser* parser = (CustomDebugInfoParser*)ctxt;
- return parser->IsExternal();
-}
-
bool CustomDebugInfoParser::IsValidCallback(void* ctxt, BNBinaryView* view)
{
@@ -261,5 +249,5 @@ void CustomDebugInfoParser::ParseCallback(void* ctxt, BNDebugInfo* debugInfo, BN
CustomDebugInfoParser::CustomDebugInfoParser(const string& name) :
DebugInfoParser(
- BNNewDebugInfoParserReference(BNRegisterDebugInfoParser(name.c_str(), IsExternalCallback, IsValidCallback, ParseCallback, this)))
+ BNNewDebugInfoParserReference(BNRegisterDebugInfoParser(name.c_str(), IsValidCallback, ParseCallback, this)))
{}