15.3 Hardware-based Relocation

https://csl.snu.ac.kr/courses/4190.307

https://csl.snu.ac.kr/courses/4190.307

base and bounds

base register

bounds register also called limit register

Offers protection: the CPU raises an exception if process generates a virtual address that is greater than or equal to the bounds.

OSTEP

OSTEP

128: movl 0x0(%ebx), %eax
eax = *ebx
32 * 1024 = 32768