[PATCH 2/3] Update macOS load commands: Add LC_NOTE load command

Saagar Jha saagar@saagarjha.com
Sat Oct 27 04:59:00 GMT 2018


macOS Mojave adds a couple of new load commands, one of which is the LC_NOTE command. I’ve added some support for working with this load command, basing my code on how the rest of the load commands are implemented. I couldn’t quite figure the code style out, so I made my best guess as to what it was supposed to be. Also, since I couldn’t actually find any binaries with a LC_NOTE load command to test this code on, I can't guarantee it works correctly. If anyone has actually seen this command somewhere, I’d love to get my hands on something to test on; otherwise I’ll have to hope this works and continue looking for a way to generate an appropriate executable.

Regards,
Saagar Jha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Add-LC_NOTE-load-command.patch
Type: application/octet-stream
Size: 4776 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20181027/e13c733c/attachment.obj>
-------------- next part --------------



More information about the Gdb-patches mailing list