diff options
| -rw-r--r-- | binaryview.cpp | 1 | ||||
| -rw-r--r-- | relocationhandler.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 7ddcf672..1a53d5c8 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -197,6 +197,7 @@ NameSpace Symbol::GetNameSpace() const BNNameSpace name = BNGetSymbolNameSpace(m_object); NameSpace result = NameSpace::FromAPIObject(&name); BNFreeNameSpace(&name); + return result; } diff --git a/relocationhandler.cpp b/relocationhandler.cpp index baceca48..ae0897dc 100644 --- a/relocationhandler.cpp +++ b/relocationhandler.cpp @@ -108,6 +108,11 @@ bool RelocationHandler::ApplyRelocation(Ref<BinaryView> view, Ref<Architecture> size_t RelocationHandler::GetOperandForExternalRelocation(const uint8_t* data, uint64_t addr, size_t length, Ref<LowLevelILFunction> il, Ref<Relocation> relocation) { + (void)data; + (void)addr; + (void)length; + (void)il; + (void)relocation; return BN_INVALID_OPERAND; } |
