Invalid HighLevelIL token exprIndex in HighLevelILFunctionGraph

Open
#7,183 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Reproduce the issue in the HLIL graph view using the test case from #7175, then exercise right-click actions including condition inversion and expression folding while watching the console. Trace the invalid token exprIndex errors and confirm that these interactions no longer print errors.

Written by the indexing model from the issue text.

Description

Component: UI Effort: Low Impact: Low

Version and Platform (required):

  • Binary Ninja Version: 5.1.8002-dev
  • Edition: Ultimate
  • OS: macOS
  • OS Version: 15
  • CPU Architecture: arm64

Bug Description:
Sometimes, when I right click in HLIL graph view, I get a bunch of errors printed to the log about invalid token exprIndex.

Steps To Reproduce:

  1. Open a binary, I was using the test case from #7175
  2. Open HLIL graph view
  3. Right click various things, try using the "show condition as inverted" option and changing "expression folding" options
  4. Sometimes error prints to console when right clicking

Expected Behavior:
I expected no error

Screenshots/Video Recording:

Image
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.