Open gaasedelen opened 3 years ago
In the binary ninja console, there's a few 'helper' functions / variables they alias (c.f. https://docs.binary.ninja/getting-started.html#script-python-console)
I think we should inject at least one or two into the iPython scope.
current_address / here() current_function
Where current_address or here() returns the result of idaapi.get_screen_ea() and current_function returns idaapi.get_func(idaapi.get_screen_ea))
current_address
here()
idaapi.get_screen_ea()
current_function
idaapi.get_func(idaapi.get_screen_ea))
I am not sure where the best place is to integrate / alias these, but I don't think it should be too hard.
In the binary ninja console, there's a few 'helper' functions / variables they alias (c.f. https://docs.binary.ninja/getting-started.html#script-python-console)
I think we should inject at least one or two into the iPython scope.
Where
current_address
orhere()
returns the result ofidaapi.get_screen_ea()
andcurrent_function
returnsidaapi.get_func(idaapi.get_screen_ea))
I am not sure where the best place is to integrate / alias these, but I don't think it should be too hard.