Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
875 stars 196 forks source link

DebugInfo: Create local variables in functions #3491

Open CouleeApps opened 1 year ago

CouleeApps commented 1 year ago

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

netadr commented 6 months ago

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!

negasora commented 2 months ago

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