David Horstmann e7bfbc27bf Add underflow check to UNPOISON counter decrement
Make sure that extra UNPOISON calls do not cause the poisoning counter
to underflow and wrap around.

Memory that is unpoisoned multiple times should remain unpoisoned.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-01-17 15:37:54 +00:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
configs Update headers 2023-11-03 12:04:52 +00:00
data_files move script to tests/scripts 2023-11-06 10:06:03 +08:00
docker/bionic Update headers 2023-11-03 12:04:52 +00:00
git-scripts Update headers 2023-11-03 12:04:52 +00:00
include Add underflow check to UNPOISON counter decrement 2024-01-17 15:37:54 +00:00
scripts Separate memory poisoning tests from generic ASan 2024-01-17 15:37:54 +00:00
src Change memory poisoning flag to a count 2024-01-17 15:37:54 +00:00
suites Move wrapper include to psa_crypto_helpers.h 2023-12-20 14:49:41 +00:00
.gitignore Ignore *.o everywhere 2023-05-12 13:57:39 +02:00
CMakeLists.txt Fix build errors in CMake 2023-03-16 11:10:17 +08:00
compat-in-docker.sh Update headers 2023-11-03 12:04:52 +00:00
compat.sh Update headers 2023-11-03 12:04:52 +00:00
context-info.sh Update headers 2023-11-03 12:04:52 +00:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Update headers 2023-11-03 12:04:52 +00:00
Makefile Fix build errors in CMake 2023-03-16 11:10:17 +08:00
ssl-opt-in-docker.sh Update headers 2023-11-03 12:04:52 +00:00
ssl-opt.sh Align forced ciphersuite with test description 2023-11-29 10:15:14 +08:00