X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fdisassembler%2Fllvm%2FLLVMDisassembler.hxx;h=b9fc4530aa2c01d34642816760c97638a7b7fde4;hp=a64dc2c66e451131f9187ab82ca5a70342a9e1ab;hb=5d65588185f3d19fc6fa311f642cc5fd78966087;hpb=4443ad3e38327c776dcc68538591456d37c9ed6f diff --git a/src/disassembler/llvm/LLVMDisassembler.hxx b/src/disassembler/llvm/LLVMDisassembler.hxx index a64dc2c..b9fc453 100644 --- a/src/disassembler/llvm/LLVMDisassembler.hxx +++ b/src/disassembler/llvm/LLVMDisassembler.hxx @@ -26,12 +26,8 @@ public: void getSymbols() {} uint64_t entryAddress(); - void printEachInstruction(uint64_t start, uint64_t end, - std::function fun); - Function * disassembleFunctionAt(uint64_t address, const std::string& name = ""); - std::list getInstructions(const BasicBlock* block); + std::vector getInstructions(const BasicBlock* block); private: // http://llvm.org/docs/doxygen/html/MCObjectDisassembler_8cpp_source.html +197 @@ -54,7 +50,7 @@ private: std::unique_ptr MRI; std::unique_ptr AsmInfo; - std::unique_ptr Mod; +// std::unique_ptr Mod; std::unique_ptr IP; std::unique_ptr DisAsm; std::unique_ptr MOFI;