Gilles Peskine 0bdb6dc079 Fix memory poisoning with Asan on arbitrary byte boundaries
Asan poisons memory with an 8-byte granularity. We want to make sure that
the whole specified region is poisoned (our typical use case is a
heap-allocated object, and we want to poison the whole object, and we don't
care about the bytes after the end of the object and up to the beginning of
the next object). So align the start and end of the region to (un)poison to
an 8-byte boundary.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-11-29 19:22:03 +01:00
..
cmake_package update headers 2023-11-02 19:47:20 +00:00
cmake_package_install update headers 2023-11-02 19:47:20 +00:00
cmake_subproject update headers 2023-11-02 19:47:20 +00:00
benchmark.c update headers 2023-11-02 19:47:20 +00:00
CMakeLists.txt programs/test/metatest indirectly includes library/common.h 2023-11-06 20:33:19 +01:00
dlopen_demo.sh update headers 2023-11-02 19:47:20 +00:00
dlopen.c update headers 2023-11-02 19:47:20 +00:00
generate_cpp_dummy_build.sh update headers 2023-11-02 19:47:20 +00:00
metatest.c Fix memory poisoning with Asan on arbitrary byte boundaries 2023-11-29 19:22:03 +01:00
query_compile_time_config.c update headers 2023-11-02 19:47:20 +00:00
query_config.h update headers 2023-11-02 19:47:20 +00:00
query_included_headers.c update headers 2023-11-02 19:47:20 +00:00
selftest.c update headers 2023-11-02 19:47:20 +00:00
udp_proxy_wrapper.sh update headers 2023-11-02 19:47:20 +00:00
udp_proxy.c update headers 2023-11-02 19:47:20 +00:00
zeroize.c update headers 2023-11-02 19:47:20 +00:00