]> git.siccegge.de Git - frida/frida.git/commitdiff
Remove old API
authorChristoph Egger <siccegge@cs.fau.de>
Tue, 27 May 2014 12:41:20 +0000 (14:41 +0200)
committerChristoph Egger <siccegge@cs.fau.de>
Tue, 27 May 2014 12:41:20 +0000 (14:41 +0200)
src/disassembler/Disassembler.cxx
src/disassembler/Disassembler.hxx
src/disassembler/llvm/LLVMDisassembler.cxx
src/disassembler/llvm/LLVMDisassembler.hxx

index e3a48a262ce6c30e82512b22f3f3d8199ffde171..cf531d0b41aa591adbecf47d29e115ee4fce85a3 100644 (file)
@@ -1,6 +1 @@
 #include "disassembler/Disassembler.hxx"
-
-
-BasicBlock * Disassembler::generateControlFlowGraph(uint64_t address) {
-       
-}
index b2576f70d3c5939f132374a7d5fbdff498162604..285c6738462669a59767b149c7cb06115b9ed4e6 100644 (file)
@@ -17,11 +17,6 @@ public:
        uint64_t entryAddress();
 
        virtual void forEachFunction(std::function<void (uint64_t, Function*)> callback) = 0;
-    // virtual void forEachInstruction(const std::string& name, std::function<void (long, std::string, std::string)> callback) = 0;
-
-    // http://llvm.org/docs/doxygen/html/MCObjectDisassembler_8cpp_source.html +197
-       BasicBlock * generateControlFlowGraph(const std::string& name);
-       BasicBlock * generateControlFlowGraph(uint64_t address);
 
 protected:
     virtual bool isFunctionCall(uint64_t address) = 0;
index 287d6a06d05e3049d9ea3211ddf21b55e0457ae9..c6146f81e2ed209c64544da23de9b28e429048f5 100644 (file)
@@ -280,9 +280,3 @@ void LLVMDisassembler::forEachFunction(std::function<void (uint64_t, Function*)>
                                          callback(x.first, x.second);
                                  });
 }
-
-
-
-void LLVMDisassembler::generateControlFlowGraph(uint64_t address) {
-
-}
index 42024ee7c4998839f796c7d55ea43ea45ccd8a2b..682b1dfd89141d18943a2a8b43d5e357b107206c 100644 (file)
@@ -25,14 +25,12 @@ public:
 
        void forEachFunction(std::function<void (uint64_t, Function*)> callback);
 
-       BasicBlock * generateControlFlowGraph(const std::string& name);
-       BasicBlock * generateControlFlowGraph(uint64_t address);
-
 protected:
     bool isFunctionCall(uint64_t address) {return false;}
     bool isJump(uint64_t address) {return false;}
 
 private:
+    // http://llvm.org/docs/doxygen/html/MCObjectDisassembler_8cpp_source.html +197
        void disassemble();
 
        void readSymbols();