SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 16 | Next

Shon Harris, Allen Harper, Chris Eagle, and Jonathan Ness

"Gray Hat Hacking, Second Edition"

. . . . . . 121
C Programming Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Basic C Language Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Sample Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Compiling with gcc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Computer Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Random Access Memory (RAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Endian . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Segmentation of Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Programs in Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Strings in Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Putting the Pieces of Memory Together .


Pages:
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28