¡@

Home 

c++ Programming Glossary: canary

Critique my non-intrusive heap debugger

http://stackoverflow.com/questions/2835416/critique-my-non-intrusive-heap-debugger

x T y T z x x y y z typedef unsigned char byte const byte CANARY 0x5A 0xFE 0x6A 0x8D 0x5A 0xFE 0x6A 0x8D 0x5A 0xFE 0x6A 0x8D.. bool canary_dead const byte cage bool dead memcmp cage CANARY sizeof CANARY if dead for size_t i 0 i sizeof CANARY i byte.. const byte cage bool dead memcmp cage CANARY sizeof CANARY if dead for size_t i 0 i sizeof CANARY i byte b cage i printf..