binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

DebugInfo: Create local variables in functions

Open CouleeApps opened this issue 3 years ago • 3 comments

What is the feature you'd like to have? I want the various Debug Info loaders to create named/typed local variables within functions for the debug info formats that supply this information. This is more than just argument variables, and will likely need the concept of "this stack slot/register is valid for this name+type in this range," which is not exposed to DebugInfo at this time.

Is your feature request related to a problem? I want to load ALL the debug info

Are any alternative solutions acceptable? Not as far as I can tell

Additional Information: CC #695
Other decompilers support this in various capacities, so we should be able to as well

CouleeApps avatar Sep 30 '22 21:09 CouleeApps

This issue is important to me -- when doing video game reverse-engineering when symbols are available, having local variable information as well would be immensely useful!

netadr avatar Feb 08 '24 00:02 netadr

Support for loading stack locals from DWARF added in 4.1.5496-dev

negasora avatar Jun 13 '24 18:06 negasora

hopefully this is added for pdb soon, it's pretty crucial

2xmos avatar Oct 15 '24 19:10 2xmos