Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
897 stars 200 forks source link

`o` does not work as expected on armv7 architecture #5873

Open op2786 opened 3 weeks ago

op2786 commented 3 weeks ago

Version and Platform (required):

Bug Description: I want to set variable type to function pointer by pressing o but it seems like it does not work on armv7 architecture.

Steps To Reproduce:

  1. Find an armv7 binary
  2. Find a variable that holds a function address in data section
  3. Press o and observe that it does not set function prototype as variable type

Expected Behavior: I expect it to set variable type to function pointer.

Screenshots: In the example below when I press o on .rodata+0x24ee0 nothing happens.

Screenshot 2024-08-23 at 16 59 55
xusheng6 commented 2 weeks ago

@op2786 can you share a binary that can reproduce this?