Vector35 / binaryninja-api

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

Unsupported Mach-O relocation: X86_64_RELOC_TLV #5460

Open amyspark opened 6 months ago

amyspark commented 6 months ago

Version and Platform (required):

Bug Description:

I was trying to disassemble the attached object file. It took several seconds before returning

[Default] Unsupported Mach-O relocation: X86_64_RELOC_TLV

In my macbook Pro (early 2015) Binary Ninja either hangs or outright closes.

Steps To Reproduce:

Attempt to disassemble the attached object file.

Expected Behavior:

Disassembling is provided.

Screenshots:

Additional Information: cef_sandbox.zip

xusheng6 commented 6 months ago

The relocation issue is confirmed. However, I am not experiencing a crash when I try to analyze it. Could you please provide a stack trace when the crash happens?

amyspark commented 6 months ago

@xusheng6 Sure. This is the tombstone report produced by macOS: binaryninja-2024-05-27-073200.ips.zip

negasora commented 6 months ago

The hang and crash are both fixed in 4.1.5370-dev

amyspark commented 6 months ago

Hi! Just got 4.1.5371-dev and can confirm that the crash is fixed, even on Windows where I reproduced it with 4.1.5360 earlier today.