Skip to content

Show variables of selected type in Types tab#3536

Merged
notxvilka merged 5 commits intorizinorg:devfrom
PremadeS:show-vars-of-selected-type
Jan 18, 2026
Merged

Show variables of selected type in Types tab#3536
notxvilka merged 5 commits intorizinorg:devfrom
PremadeS:show-vars-of-selected-type

Conversation

@PremadeS
Copy link
Copy Markdown
Collaborator

@PremadeS PremadeS commented Jan 5, 2026

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've updated the documentation with the relevant information (if needed)
  • I've used AI tools to generate fully or partially these code changes and I'm sure the changes are not copyrighted by somebody else.

Detailed description

Displays global and local variables of the selected Non-Primitive type in Types widget
Double clicking on any entry in the dialog seeks to the offset where the variable is defined (in the disassembly). In case of local variables, it seeks to the start of function containing the selected variable

Test plan (required)

  • Run Cutter on any binary
  • Go to Types Widget
  • Right Click on any Non-Primitive Type
  • Click "Show Variables and Globals of this Type"
  • It should open a TypesVariablesDialog containing the
    • Name
    • Address
    • Scope
    • Function Name (if local), for each variable associated with the selected type

Closing issues
#3313

@notxvilka notxvilka requested a review from karliss January 6, 2026 04:19
@PremadeS
Copy link
Copy Markdown
Collaborator Author

PremadeS commented Jan 8, 2026

Possibly better to use a ComboQuickFilterView instead of simple QLineEdit for filtering, I'll update it

@notxvilka
Copy link
Copy Markdown
Contributor

Possibly better to use a ComboQuickFilterView instead of simple QLineEdit for filtering, I'll update it

Good idea

@notxvilka notxvilka merged commit 1333dcc into rizinorg:dev Jan 18, 2026
14 checks passed
@PremadeS PremadeS deleted the show-vars-of-selected-type branch January 18, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants