Add param to generate separate symbols file
GWRon opened this issue · 1 comments
As discord user wookie22 required "debugging symbols" in his binary (so 3rd party could attach a DRM or something like that) - and there is still the issue of bmk stripping symbols even in debug builds on Win32 ...
What about bmk gaining an additional param to generate external symbols (or more exact have GCC place the extra information in a separate file)
https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
https://www.technovelty.org/code/split-debugging-info-symbols.html
-> "strip --strip-debug" would strip the debug stuff from a binary but keeping the symbols table
So in essence bmk should gain the option to make the symbols table available - in an extra file or inbuilt, but without the overhead of all this debugging stuff making the binaries so big.
I'm able to view function names, addresses, etc from a binary. Symbols can always be exported as text or used with valgrind.