Skip to content

Console helper functions / aliases #2

@gaasedelen

Description

@gaasedelen

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))

I am not sure where the best place is to integrate / alias these, but I don't think it should be too hard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions