diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-12 12:34:53 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-12 12:34:53 +0200 |
commit | 6b40189045645938098772260ecda1c0bcbf6467 (patch) | |
tree | 4e4c012155e4c7f78b4b9d93553f419bf9736fcc /include/alloc-inl.h | |
parent | df379dfcf46941125bc6b8f9d3e2e1141b84e137 (diff) | |
download | afl++-6b40189045645938098772260ecda1c0bcbf6467.tar.gz |
first version of persistent QEMU
Diffstat (limited to 'include/alloc-inl.h')
-rw-r--r-- | include/alloc-inl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h index d851fd61..814d8511 100644 --- a/include/alloc-inl.h +++ b/include/alloc-inl.h @@ -112,16 +112,19 @@ \ \ \ + \ if (_p) { \ \ \ \ \ + \ if (ALLOC_C1(_p) ^ ALLOC_MAGIC_C1) {\ \ \ \ \ + \ if (ALLOC_C1(_p) == ALLOC_MAGIC_F) \ ABORT("Use after free."); \ else ABORT("Corrupted head alloc canary."); \ @@ -130,6 +133,7 @@ \ \ \ + \ if (ALLOC_C2(_p) ^ ALLOC_MAGIC_C2) \ ABORT("Corrupted tail alloc canary."); \ \ @@ -139,6 +143,7 @@ \ \ \ + \ } while (0) */ |