binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

`o` does not work as expected on armv7 architecture

Open op2786 opened this issue 1 year ago • 1 comments

Version and Platform (required):

  • Binary Ninja Version: 4.2.5948-dev, 2dc1308c
  • OS: macos
  • OS Version: 14.6
  • CPU Architecture: arm64

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

op2786 avatar Aug 23 '24 13:08 op2786

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

xusheng6 avatar Aug 27 '24 03:08 xusheng6

I'm guessing this is an arm/thumb issue

plafosse avatar Nov 08 '24 16:11 plafosse