AddressField(prompt, view=None, current_address=0)¶
AddressFieldprompts 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.
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)¶
Initialize self. See help(type(self)) for accurate signature.
__init__(prompt[, view, current_address])