binaryninja.interaction.AddressField

class AddressField(prompt, view=None, current_address=0)[source]

AddressField prompts the user for an address. By passing the optional view and current_address parameters offsets can be used instead of just an address. The result is stored as in int in self.result.

Note: This API currently functions differently on the command-line, as the view and current_address are

disregarded. Additionally where as in the UI the result defaults to hexadecimal on the command-line 0x must be specified.

__init__(prompt, view=None, current_address=0)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(prompt[, view, current_address])

Initialize self.