summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2019-05-09 13:46:57 -0700
committerGeorge Burgess IV <gbiv@google.com>2019-05-23 13:38:09 -0700
commit5273dc588a39579b7b48baa38323994d9b12c49a (patch)
treeb1df0b2c9616d944b03359c99f5f5d8eb46f8e30 /libc/malloc_debug/malloc_debug.cpp
parentf8813d14aa5eb70fa0cf95b36b5f68a4f631c123 (diff)
fortify: use a macro in diagnose_if
Our diagnose_if conditions are repetitive. It's potentially convenient to hide that behind a macro. There's an upcoming refactor to our run-time checks; having static checks look super similar is convenient, and makes correctness (hopefully) slightly more obvious. Bug: 131861088 Test: checkbuild on internal master. Change-Id: Ic39a3b6bf020734c1bef6be144f61ef81466aafe
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions