]> git.siccegge.de Git - frida/frida.git/blobdiff - src/disassembler/Disassembler.hxx
Change from list to vector
[frida/frida.git] / src / disassembler / Disassembler.hxx
index 78c67c6610ac5b75d709d2ac0b2e0d15a4058aba..ffcc889caee40f8118494cf9bd3583ac130ac466 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <string>
 #include <functional>
-#include <list>
+#include <vector>
 
 #include "Instruction.hxx"
 
@@ -24,7 +24,7 @@ public:
                                          std::function<void (uint8_t*, size_t, const std::string&,
                                                              const std::string&)> fun) = 0;
        virtual Function * disassembleFunctionAt(uint64_t address, const std::string& name = "") = 0;
-       virtual std::list<Instruction> getInstructions(const BasicBlock* block) = 0;
+       virtual std::vector<Instruction> getInstructions(const BasicBlock* block) = 0;
 };
 
 #endif