hase-project / hase

Timeless debugging with symbolic execution and processor trace
BSD 2-Clause "Simplified" License
74 stars 8 forks source link

Correct add-symbol-file addr #93

Closed bet4it closed 5 years ago

bet4it commented 5 years ago

The ADDR argument used by add-symbol-file should be the starting address of the file's text section.

In fact, I hope to use set solib-search-path or set sysroot rather than add-symbol-file, they are more elegant to add symbols. However, the library names depended by ELF and found in memory maps are different (libc.so.6 vs libc-2.27.so), I can't find convenient way to do it.