You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example case - the static function slab_bug cannot be found by name in prog.symbol()
>>> prog.symbol('slab_bug')
Traceback (most recent call last):
File "<console>", line 1, in <module>
LookupError: could not find symbol with name 'slab_bug'
But if we the the address of its Object and pass this to the same function it is returned:
Right now, it only looks for global symbols, and static functions are local symbols. It should be pretty easy to look for local symbols, too, but there may be multiple local symbols with the same name, so we might want to add Program.symbols() that gets all matches.
Example case - the static function
slab_bug
cannot be found by name inprog.symbol()
But if we the the address of its
Object
and pass this to the same function it is returned:Not sure if this is on purpose but I did find it surprising.
The text was updated successfully, but these errors were encountered: