comments and improved error message on buffer overflow

This commit is contained in:
daan 2020-04-06 13:30:17 -07:00
parent 19cae48556
commit a38abae0a1
4 changed files with 28 additions and 16 deletions

View file

@ -17,11 +17,11 @@ int main() {
mi_version();
// detect double frees and heap corruption
// double_free1();
// double_free2();
// corrupt_free();
// block_overflow1();
dangling_ptr_write();
double_free1();
double_free2();
corrupt_free();
block_overflow1();
// dangling_ptr_write();
void* p1 = malloc(78);
void* p2 = malloc(24);