paint-brush
A Curious Case of Mach-O Executableby@raviAggarwal
512 reads
512 reads

A Curious Case of Mach-O Executable

by Ravi Kumar Aggarwal6mMay 23rd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Mach-O is a binary stream of bytes grouped into meaningful chunks of data. These chunks contain information about the meta like byte order, CPU type, size of the chunk and so on. The starting memory address is randomised every time your app launches using a nifty technique called Automatic Space Layout Randomisation or as we lovingly call it ASLR. This is done for security purposes, otherwise, it would become very easy to hack the binary if everything has the same address on every launch!

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - A Curious Case of Mach-O Executable
Ravi Kumar Aggarwal HackerNoon profile picture
Ravi Kumar Aggarwal

Ravi Kumar Aggarwal

@raviAggarwal

L O A D I N G
. . . comments & more!

About Author

Ravi Kumar Aggarwal HackerNoon profile picture
Ravi Kumar Aggarwal@raviAggarwal

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite