]> git.siccegge.de Git - frida/frida.git/commitdiff
Disable symbolizer
authorChristoph Egger <Christoph.Egger@fau.de>
Tue, 10 Mar 2015 11:32:34 +0000 (12:32 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Tue, 10 Mar 2015 11:32:34 +0000 (12:32 +0100)
Didn't work on ELF binaries and makes the LLVM instruction reader crash
on PE binaries

src/disassembler/llvm/LLVMDisassembler.cxx

index cdcd3cb2cd516883400d08a9b47bef5c94a0341d..3d969ef211975fde131ec83514beb561f220d5af 100644 (file)
@@ -133,10 +133,10 @@ LLVMDisassembler<ELFT>::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();