]> git.siccegge.de Git - frida/frida.git/commitdiff
Display entries for all functions
authorChristoph Egger <siccegge@cs.fau.de>
Tue, 27 May 2014 12:37:01 +0000 (14:37 +0200)
committerChristoph Egger <siccegge@cs.fau.de>
Tue, 27 May 2014 12:37:01 +0000 (14:37 +0200)
src/gui/Mainwindow.cxx

index 91a933bdb390567cc1af9013f9c70898d09847a0..f91957b4235a5eab6964cc3a8e2e25c0944cb12a 100644 (file)
@@ -62,6 +62,10 @@ void Mainwindow::open() {
 void Mainwindow::openBinary(const std::string& filename) {
     if (filename != "") {
         disassembler.reset(new LLVMDisassembler(filename));
+               disassembler->forEachFunction([&](uint64_t address, Function* fun) {
+                               populateSymbolInformation(fun->getName());
+                       });
+
         // curBin = new Binary(fileName.toStdString());
 
         // std::vector<std::string> symbols = curBin->getSymbols();