Category: Theory


PWN>Theory

Segments and Sections

SegmentsSegments usually describe the layout of .elf files in memory. In a C program the memory layout is as follows: So each the segments are...

PWN>Theory

Endianness

Endianness is a quite simple concept. They are 2 types of endianness: big endian and little endian. Nowadays most machines use little endian but...

PWN>Theory

Assembly

Assembly SyntaxThere are 2 types of styles of assembly code: Intel and AT&T. The main difference is: In Intel syntax the first operand is the...