How it works...

The first two commands we run tell us what our processor supports. The first command, lscpu, gives us information about our processor's architecture, which operation mode the processor is currently using, the byte order (Little Endian, in this case), how many processors we're running, how many cores, and so on. The important part of this output is the Endianness of our processor. Little Endian means that when we're reviewing, or storing data in a register or on the stack, it must be formatted with the least significant byte first. So, 0x12345678 will really look like 0x78563412. This is a very important concept to understand and a very important piece of information to know about our processor.

Near the bottom of the output ...

Get Binary Analysis Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.