Frage

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

War es hilfreich?

Lösung 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

Andere Tipps

otool -l? or did I misunderstand your question

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top