Skip to content
Evan Teran edited this page Jul 20, 2015 · 5 revisions

In order to have edb take advantage of certain features, it will need some symbol maps to work with. The current version of edb will auto generate symbols as long as a symbol directory is specified in the preferences.


The easiest way to create these is set the symbol directory and let edb generate them for you, but if you happen to have a requirement to create them manually, you can run edb with the --symbols flag, here's an example:

$ ./edb --symbols /lib/libc.so.6 > symbols/libc.so.6.map

The name of the symbol file IS IMPORTANT, a quick and dirty way to get all symbols from existing libraries on your system would be like this:

$ for i in $(ls /lib/*.so* /usr/lib/*.so*); do ./edb --symbols $i > symbols/$(basename $i).map; done

This will take a moment, but not that long, when it is complete you will have symbols based on all libraries on your system. Note that the --symbols function will work on regular binaries as well, not just libraries. So if you are debugging an application, you may want to generate its symbols as well.

Don't forget to set the symbols directory in the options dialog to the directory which you placed the map files!

Clone this wiki locally