Vector35 / Vector35/binaryninja-api

Binary Ninja Frozen After Changing `char` to `TCHAR` in typedef

Open
#8,214 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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.4.9701-dev Ultimate, 3200ef57
  • OS: macos
  • OS Version: 26.5.0
  • CPU Architecture: arm64

Bug Description:
If I change char to TCHAR in this one type in this database, Binary Ninja locks up and I have to force quit.

Steps To Reproduce:
Database: holistic zero buffers notably

  1. Change the user type NSIS_STRING from char to TCHAR
  2. Force quit

Expected Behavior:
No freeze.

Screenshots:
Video: recursive metal parameterizes typically

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 freeze on macOS arm64 with Binary Ninja 5.4.9701-dev using the named database, then change the NSIS_STRING user type from char to TCHAR. No source file or test is identified in the report, so begin by locating the user-type editing path and capture a minimal reproduction. Done means the type change completes without locking up.

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
Quiet
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.