Skip to content

Add ability to get list of instructions/lines from the current selection #4327

Closed
@kristopax

Description

@kristopax

What is the feature you'd like to have?
I would like the ability to get the list of instructions/lines associated with the current selection. Based on the instruction type of the current view (e.g. disassembly, IL), the list should contain the appropriate instructions.

Is your feature request related to a problem?
Currently, the current_selection returns a virtual address range in the form of a tuple (start_addr, end_addr). For some ILs, this address range seems to span the (min, max) of the addresses of the instructions contained in the selection, so it's unclear how to get instructions/lines using the address range since the linear view of IL instructions are not always ordered according to virtual address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: APIIssue needs changes to the APIComponent: UIIssue needs changes to the user interfaceEffort: LowIssue should take < 1 weekImpact: MediumIssue is impactful with a bad, or no, workaroundState: IntendedIssue is actually intended behaviorType: EnhancementIssue is a small enhancement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions