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.
Version and Platform (required):
bv.arch.intrinsicsis 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:
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.