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

Macho loader treating symbol bindings wrong

Open mostobriv opened this issue 1 year ago • 0 comments

Version and Platform (required):

  • Binary Ninja Version: 4.1.5218-dev Personal (423fe6c2)
  • OS: MacOS

Bug Description: I think there is some misconception of how the macho bindings works, as instead of putting the value that can be located by the external symbol to specified address, current BNs macho loader defining the symbol at address instead. image

Steps To Reproduce: Please provide all steps required to reproduce the behavior:

  1. Open attached binary
  2. Go to 0x100008310

Expected Behaviour: As i've said in the description, there should be not defined symbol (void* SYMBOL = ...), but the external value should be stored at address (void* data_XXX = SYMBOL).

test_binary.zip

mostobriv avatar May 02 '24 15:05 mostobriv