]> git.siccegge.de Git - frida/frida.git/blobdiff - src/gui/Mainwindow.cxx
Display entries for all functions
[frida/frida.git] / 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();