Notes : Hacking the Art of Exploitation
1. Programming A. The x86 Processor 1. EAX – Accumulator 2. ECX – Counter 3. EDX – Data ------Registers----------- 4. EBX – Base 5. ESP – Stack Pointer 6. EBP – Base Pointer 7. ESI – Source Index --------Registers------------------- 8. EDI – Destination Index 9. EIP – Instruction Pointer 10.EFLAGS register actually consists of several bit flags that are used for comparisons and memory segmentations. B. Assembly Language 1. The assembly instructions in Intel syntax generally follow this style: operation <destination> , <source> 2. The destination and source values will either be a register, a memory address, or a value. 3. Formats used with examine (x) command in GDB: o Display in octal. x Display in hexadecimal. u Display in unsigned, standard base-10 decimal. t Display in binary. 4. The memory the EIP register is pointing to can be examined by using the address stored in EIP. The debugger lets you ...
Comments
Post a Comment