X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.cxx;h=f91957b4235a5eab6964cc3a8e2e25c0944cb12a;hp=91a933bdb390567cc1af9013f9c70898d09847a0;hb=9f05d22509de68655005ca6630972438bb0ef26c;hpb=08210442ccd43d49a5799cada9997e04a352f38b diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 91a933b..f91957b 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -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 symbols = curBin->getSymbols();