Skip to content

bv.arch.intrinsics locked to first seen architecture in tabs #8394

Description

@bloombit-dev

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:

  1. Open binary view in UI with architecture A
  2. Note the following in the built-in python interpreter:
>>> bv.arch
<arch: x86_64>
>>> len(bv.arch.intrinsics)
11930
  1. Open another binary view in a different tab with architecture B
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions