Code from OSTEP chapter The Abstraction: Address Spaces.
To compile, just type:
prompt> make
See the highly primitive Makefile for details.
Makefile
Then, run it:
prompt> ./virtual-addresses