Files
include
test
simple-memory-corruption
.gitignore
Makefile
large_array_growth.c
mallinfo.c
mallinfo2.c
malloc_info.c
offset.c
test_util.h
third_party
.clang-tidy
.gitignore
Android.bp
CREDITS
KERNEL_FEATURE_WISHLIST.md
LICENSE
Makefile
README.md
calculate_waste.py
chacha.c
chacha.h
h_malloc.c
memory.c
memory.h
mutex.h
new.cc
pages.c
pages.h
preload.sh
random.c
random.h
util.c
util.h
hardened_malloc/test/test_util.h
2020-06-17 20:08:46 -04:00

11 lines
165 B
C

#ifndef TEST_UTIL_H
#define TEST_UTIL_H
#ifdef __clang__
#define OPTNONE __attribute__((optnone))
#else
#define OPTNONE __attribute__((optimize(0)))
#endif
#endif