Vector35 / Vector35/binaryninja-api

Error logged when clicking curly brace in Pseudo-C

Open
#7,582 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Impact: Low LanguageRep: Pseudo-C UI: Linear
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 5.2.8585

Bug Description:
Clicking a curly brace in pseudo-c logs an error

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open ls.txt
  2. Go to linear view pseudo-c
  3. Go to sort_files
  4. Click on the opening curly brace
  5. Notice an error message gets logged like ```[Default] Invalid HighLevelIL token exprIndex 387 in HighLevelLanguageRepresentationFunctionGraph of 407e50 (reported instrIndex 18446744073709551615)

**Expected Behavior:**
No error is logged

**Screenshots/Video Recording:**
![Image](https://github.com/user-attachments/assets/6d94eb19-b046-4bf6-b3cc-1c76bc45675d)

**Additional Information:**
I have no idea if this actually impacts anything outside of the spooky error message

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.

Research direction

Reproduce the issue by opening ls.txt, navigating to the pseudo-C linear view and sort_files, then clicking the opening curly brace. Start by tracing the logged “Invalid HighLevelIL token” message from that interaction. Done means the click no longer logs the error and the existing pseudo-C view behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.