defenses and attacks for memory safety 7548911