diff options
| author | KyleMiles <krm504@nyu.edu> | 2022-07-07 19:39:18 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2022-07-07 19:39:18 -0400 |
| commit | b9c6552982ab353c57259a577b91cff986646566 (patch) | |
| tree | 9e144372e7b6064f0a32917ad600f67d7b9b4545 /debuginfo.cpp | |
| parent | c7854604f7610fbde01a981d85c0cad3df29ceae (diff) | |
Revert 94649dde0d847aa2407d565632f7d2c3cdff32f5: "Add IsExternal callback to debug info API"
Diffstat (limited to 'debuginfo.cpp')
| -rw-r--r-- | debuginfo.cpp | 14 |
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))) {} |
