diff options
author | Christopher Ferris <cferris@google.com> | 2016-02-02 20:40:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-02-02 20:40:36 +0000 |
commit | 4821db1b3ecc14828d4acf4abed26bb7d8b8cf6a (patch) | |
tree | f2a8c2bb80073a9d660599b4ad1ee53cc0c696d4 /libc/malloc_debug/malloc_debug.h | |
parent | 5992e5fb6da2722fb4c3850048f71ef077735381 (diff) | |
parent | 7993b80f894db20af4d1d154221c42fea6171a3d (diff) |
Merge "Add better free tracking."
Diffstat (limited to 'libc/malloc_debug/malloc_debug.h')
-rw-r--r-- | libc/malloc_debug/malloc_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/malloc_debug.h b/libc/malloc_debug/malloc_debug.h index 4a15f77bf..cd025a786 100644 --- a/libc/malloc_debug/malloc_debug.h +++ b/libc/malloc_debug/malloc_debug.h @@ -39,7 +39,6 @@ // will still be in this order. // Header (Required) // BacktraceHeader (Optional: For the allocation backtrace) -// BacktraceHeader (Optional: For the free backtrace) // uint8_t data (Optional: Front guard, will be a multiple of sizeof(uintptr_t)) // allocation data // uint8_t data (Optional: End guard) @@ -70,6 +69,7 @@ struct BacktraceHeader { } __attribute__((packed)); constexpr uint32_t DEBUG_TAG = 0x1ee7d00d; +constexpr uint32_t DEBUG_FREE_TAG = 0x1cc7dccd; constexpr char LOG_DIVIDER[] = "*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***"; constexpr size_t FREE_TRACK_MEM_BUFFER_SIZE = 4096; |