Question

Are there any existing tools or libraries to grab the UUID(s) from the Mach-o binary load command header?

Was it helpful?

Solution 2

After attempting to us objdump from my Groovy process.

"objdump -P load ${filename}".execute()

I couldn't get this to work under our Ubuntu servers, even after I compiled binutils with arm support.

I ended up hacking together a really quick and dirty library to read Mach-o binaries. I'm going to avoid posting it here because it was done so quickly, but a coworker of mine took some time and wrote up what looks like a much more robust solution, https://github.com/dzog/machismo

OTHER TIPS

otool -l? or did I misunderstand your question

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top