Domanda

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

È stato utile?

Soluzione 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

Altri suggerimenti

otool -l? or did I misunderstand your question

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top