Default address of "AddressField" should be rendered as hexadecimal #6282
Labels
Component: UI
Issue needs changes to the user interface
Effort: Low
Issue should take < 1 week
Impact: Low
Issue is a papercut or has a good, supported workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
UI: Dialogs
Issues with smaller dialogs
What is the feature you'd like to have?
Python API,
AddressField
withget_form_input
, renders the default address as decimal.Since the type of
default
parameter inAddressField
is int, I cannot force it to render address as hexadecimal.Users must manually convert the address value to hex even if they want to use the default value.
It'll be nice if I can pass the
default
parameter as str type.At least, I would like the initial address rendering result of the
AddressField
to be expressed in hexadecimal.Is your feature request related to a problem?
AddessField
takes address value as hexadecimal, and I cannot pass the default address value seamlessly.I think this is a problem on the aspect of user experience.
Are any alternative solutions acceptable?
I think there can be several alternatives.
default
parameter type ofAddressField
from int to str. (this suggestion)AddressField
from decimal to hexadecimal.AddressField
's text input acceptable for decimal value(I think this is not a good alternative,,)Additional Information:
You can reproduce this issue with following python code.(binaryninja gui)
The text was updated successfully, but these errors were encountered: