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
..
alt-dummy update headers 2023-11-02 19:47:20 +00:00
alt-extra/psa Test the PSA alternative header configuration macros 2023-02-23 17:18:33 +01:00
baremetal-override update headers 2023-11-02 19:47:20 +00:00
spe update headers 2023-11-02 19:47:20 +00:00
test Fix memory poisoning with Asan on arbitrary byte boundaries 2023-11-29 19:22:03 +01:00