You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Does anyone know if you can get mach-o binaries function names from the binary or eventually import them? [/-][+]Binary ninja fails to parse symbol tables in Mach-O binaries.[/+]on Jul 16, 2020
changed the title [-]Binary ninja fails to parse symbol tables in Mach-O binaries.[/-][+]Binary ninja fails to parse symbol tables in Mach-O binaries[/+]on Jul 16, 2020
My mach-o binaries come from .ipa files all the time, I've never had symbol tables parsed in binary ninja unfortunately and I've tried on all OS supported by binary ninja
I just found and fixed a bug related to parsing the dynamic table. Related bug is #1862. Unsure if it fixes the issue encountered here. If you are able to check please report back. Thanks!
I just found and fixed a bug related to parsing the dynamic table. Related bug is #1862. Unsure if it fixes the issue encountered here. If you are able to check please report back. Thanks!
The other fix is in 2.1.2319-dev.
I'm on Version 2.1.2319-dev Personal (Build ID 7d13301) and unfortunately the issue is still present, hopper can correctly display the classes names and functions, meanwhile binary ninja just calls them by their address. :(
This requires some extra objective c analysis which we do not currently have built into the core Mach-O loader. You can potentially use https://github.com/trailofbits/ObjCGraphView to apply the proper analysis in the mean time.
You can track #362, #419, and #420 for native objective c support in the future.
Reacted by fuomag9 and Daniil Nababkin (cryptoplague)
Activity
fuomag9 commentedon Jul 16, 2020
As you can see the function in binary ninja doesn't have either the class nor the name it has in hopper, it gets the address name instead
fuomag9 commentedon Jul 16, 2020
According to Peter on slack this is a bug

[-]Does anyone know if you can get mach-o binaries function names from the binary or eventually import them? [/-][+]Binary ninja fails to parse symbol tables in Mach-O binaries.[/+][-]Binary ninja fails to parse symbol tables in Mach-O binaries.[/-][+]Binary ninja fails to parse symbol tables in Mach-O binaries[/+]jeffli678 commentedon Jul 16, 2020
Yeah I also encounter this from time to time.
fuomag9 commentedon Jul 16, 2020
My mach-o binaries come from .ipa files all the time, I've never had symbol tables parsed in binary ninja unfortunately and I've tried on all OS supported by binary ninja
jeffli678 commentedon Jul 16, 2020
Exactly, ipa files are problematic. I might look into this.
bpotchik commentedon Aug 3, 2020
I just found and fixed a bug related to parsing the dynamic table. Related bug is #1862. Unsure if it fixes the issue encountered here. If you are able to check please report back. Thanks!
The other fix is in 2.1.2319-dev.
fuomag9 commentedon Aug 3, 2020
I'm on Version 2.1.2319-dev Personal (Build ID 7d13301) and unfortunately the issue is still present, hopper can correctly display the classes names and functions, meanwhile binary ninja just calls them by their address. :(
hubert3 commentedon Aug 23, 2020
Confirm version 2.1.2346-dev is still missing many symbols in a Mach-O binary that Hopper and IDA display.
Binary Ninja seems to get some symbols from the application's main executable binary but fewer from a Mach-O framework library
bpotchik commentedon Aug 25, 2020
@hubert3 would you happen to have a binary you can share? You can DM me on slack if you like. Thanks!
fuomag9 commentedon Sep 6, 2020
Sample binary here (The main Zoom binary inside the .ipa is the one to analyze)
I'd have uploaded it here but it's too heavy for github
[-]Binary ninja fails to parse symbol tables in Mach-O binaries[/-][+]Mach-O Objective-C Symbol Support[/+]bpotchik commentedon Feb 14, 2021
This requires some extra objective c analysis which we do not currently have built into the core Mach-O loader. You can potentially use https://github.com/trailofbits/ObjCGraphView to apply the proper analysis in the mean time.
You can track #362, #419, and #420 for native objective c support in the future.