Skip to content

get_address_input behaves differently in headless and GUI #6558

Open
@xusheng6

Description

@xusheng6

The input is parsed as hex in GUI, but as decimal in headless:

headless:

>>> from binaryninja import *
>>> get_address_input("PROMPT>", "getinfo")
PROMPT> 10
10

GUI:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: APIIssue needs changes to the APIEffort: TrivialIssue should take < 1 dayImpact: LowIssue is a papercut or has a good, supported workaround

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions