to get UUID on mac i can use
dwarfdump -u path/to/compile/executable
also i can get UUID with simple crash
in ‘Binary Images’ section
Is the way to get UUID without crash on ios device?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An executable’s (mach-o file) UUID is created by the linker
ldand is stored in a load command namedLC_UUID. You can see all load commands of a mach-o file usingotool:Any process can access its mach-o header using a global symbol named
_mh_execute_header. Using this symbol you can iterate over the load commands to searchLC_UUID. The payload of the command is the UUID: