mongodb-labs / disasm

Interactive Disassembler GUI - This Repository is NOT a supported MongoDB product
Apache License 2.0
247 stars 20 forks source link

Wrong source file path #4

Open adah1972 opened 7 years ago

adah1972 commented 7 years ago

I build a small program with -g, and set the config.py to look for the source at ../test (I also tried the full path). However, disasm insists my source file is under /usr/include (e.g. it looks for the file /usr/include/test.c, and reports "Sorry, cannot get source code from this path", unless I really put the source file there).

Any fixes or workarounds?

P.S. The executable is built on Ubuntu 14.04 LTS with included GCC 4.8.4. The command line is simply gcc -g .... I also tried CentOS 7, with the same result. disasm itself is run on Ubuntu 14.04 LTS and macOS Sierra.