Source code from Hacking: The Art of Exploitation (Second Edition).