From: Christoph Egger Date: Tue, 10 Mar 2015 11:32:34 +0000 (+0100) Subject: Disable symbolizer X-Git-Tag: v0.1~61 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=61fee0e142cbd73869f21e1a79e4038bb5c61335;p=frida%2Ffrida.git Disable symbolizer Didn't work on ELF binaries and makes the LLVM instruction reader crash on PE binaries --- diff --git a/src/disassembler/llvm/LLVMDisassembler.cxx b/src/disassembler/llvm/LLVMDisassembler.cxx index cdcd3cb..3d969ef 100644 --- a/src/disassembler/llvm/LLVMDisassembler.cxx +++ b/src/disassembler/llvm/LLVMDisassembler.cxx @@ -133,10 +133,10 @@ LLVMDisassembler::LLVMDisassembler(const std::string& filename, RelInfo.reset( target->createMCRelocationInfo(tripleName, Ctx)); if (RelInfo) { - Symzer.reset( - MCObjectSymbolizer::createObjectSymbolizer(Ctx, std::move(RelInfo), o)); - if (Symzer) - DisAsm->setSymbolizer(std::move(Symzer)); + // Symzer.reset( + // MCObjectSymbolizer::createObjectSymbolizer(Ctx, std::move(RelInfo), o)); + // if (Symzer) + // DisAsm->setSymbolizer(std::move(Symzer)); } RelInfo.release(); Symzer.release();