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 274 | Next

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

"Gray Hat Hacking, Second Edition"

Civil war broke out between the Little-
Endians and the Big-Endians, resulting in the Big-Endians taking refuge on
a nearby island, the kingdom of Blefuscu??¦???
He went on to describe a holy war that broke out between the two sides. The point of his
paper was to describe the two schools of thought when writing data into memory. Some
feel that the high-order bytes should be written first (???little-endian???), while others think
the low-order bytes should be written first (???big-endian???). It really depends on the
Gray Hat Hacking: The Ethical Hacker??™s Handbook
128
Chapter 6: Programming Survival Skills
129
PART III
hardware you are using as to the difference. For example, Intel-based processors use the
little-endian method, whereas Motorola-based processors use big-endian. This will
come into play later as we talk about shellcode.
Segmentation of Memory
The subject of segmentation could easily consume a chapter itself. However, the basic
concept is simple. Each process (oversimplified as an executing program) needs to have
access to its own areas in memory. After all, you would not want one process overwriting
another process??™s data. So memory is broken down into small segments and handed out
to processes as needed.


Pages:
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286