A Curious Case of Mach-O Executableby@raviAggarwal
480 reads

A Curious Case of Mach-O Executable

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@raviAggarwal

Ravi Kumar Aggarwal

Receive Stories from @raviAggarwal

react to story with heart

RELATED STORIES

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