debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Read symbols from the debugger backend

Open xusheng6 opened this issue 3 years ago • 2 comments

There are certain symbols that the debugger (windbg/lldb) understands but BN does not know about. For example, when a register points to the address of a Windows API function, it would be great if we can let the user know about it. However, this requires the debugger knowing the address of the API function, which is not present in the executable binary view. To solve this problem, we need to read symbols from the debugger backend and somehow integrate it into the debugger binary view. So the annotation process is aware of it.

xusheng6 avatar Jun 27 '22 04:06 xusheng6

So a compromise on this is that we can offer a method to read the symbol at a specific address. The users can use this API on demand. This avoids many tricky design issues, e.g., how often/when should we update the symbols.

xusheng6 avatar Nov 17 '23 12:11 xusheng6