# 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 currenlty functions differently on the command line, as the view and current_address are
disregarded. Additionally where as in the ui the result defaults to hexidecimal on the command line 0x must be specified.
__init__(prompt, view=None, current_address=0)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

 __init__(prompt[, view, current_address]) x.__init__(…) initializes x; see help(type(x)) for signature