ChrisZim / edb-debugger

Automatically exported from code.google.com/p/edb-debugger
GNU General Public License v2.0
0 stars 0 forks source link

Ability to add symbols via plugin #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Looking at the source code the debugger only exports a pointer to the current 
SymbolManager which does not have a function that allows dynamically adding 
symbols.

This is crucial when for example you want to write a plugin that adds all 
exported functions from loaded modules. More importantly, it should do so for 
every newly loaded module (another feature request right there :p).
Not knowing which API you're currently stopped at is frustrating.

It would also allow adding custom symbols ('labels') manually for identified 
functions.

Original issue reported on code.google.com by evan.teran on 3 Oct 2012 at 3:21

GoogleCodeExporter commented 9 years ago
The SymbolMananagerInterface now has a new public function called "add_symbol" 
in my working copy. Which is the simplest way to allow this type of 
functionality.

I am considering an additional mechanism where the symbol manager could  
"defer" to a plugin when it doesn't find a simple. This would make it so 
plugins could manage the symbols they are concerned with internally as well. 
Good for static tables and similar.

Original comment by evan.teran on 3 Oct 2012 at 5:07