Vector35 / Vector35/binaryninja-api
bv.arch.intrinsics locked to first seen architecture in tabs
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.10292-dev Ultimate
- OS: MacOS
- OS Version: 26.5.2
- CPU Architecture: M4 Max
bv.arch.intrinsics is locked to first seen architecture. Opening and switching to another tab with a different architecture binary view keeps the bv.arch.intrinsics from the first seen tab.
Steps To Reproduce:
- Open binary view in UI with architecture A
- Note the following in the built-in python interpreter:
>>> bv.arch
<arch: x86_64>
>>> len(bv.arch.intrinsics)
11930
- Open another binary view in a different tab with architecture B
- Note the following in the built-in python interpreter:
>>> bv.arch
<arch: x86_64>
>>> len(bv.arch.intrinsics)
11930
The above was repeated with x86, arm64 and hexagon combinations. Doesn't seem to be specific to an architecture.
Expected Behavior:
bv.arch.intrinsics is updated based on the binary view associated with the open tab.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening binary views with different architectures in separate tabs and checking bv.arch and len(bv.arch.intrinsics) in the built-in Python interpreter. Trace how the active tab supplies bv.arch and its intrinsics; done means switching tabs updates both values to the associated binary view's architecture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- desktop, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100