Menu

#13 Crash on FAT binary

v1.0_(example)
open
None
5
2017-09-09
2017-09-09
No

MachOView does segfault on a corrupted fat binary. I haven't tested with other fat binaries.
Take the binary "/bin/wait4path" in OSX Sierra.
Open with MachOView.
Get the offset of "CPU Type" in "Fat Binary" > "Executable (X86)" > "Mach Header", which is 0x6004.
At that offset, change the integer "0x00000007" to "0x10000007" with a hex editor like Vim.
Open again with MachOView : segmentation fault

Simon

Discussion


Log in to post a comment.

Monday.com Logo