Writing security tools and exploits - Foster, James C. (Syngress, 2006)
Includes index.