]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: test_stackprotector: Disable for ASAN
authorAndrew Scull <ascull@google.com>
Mon, 30 May 2022 10:00:06 +0000 (10:00 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 16:58:18 +0000 (12:58 -0400)
commit791de336b630709a92ca6f99285c327eadb93165
treee99d6d2dcc9349e13fc25ffcb7f30177593cbb59
parent1e578ed20c733e7b2b6ac1e01a4e33338db45b5a
test/py: test_stackprotector: Disable for ASAN

The stack protector test intentionally overflows a buffer in order to
corrupt the stack canary so that it can test that the corruption is
detected as expected. However, this is incompatible with ASAN, which
detects the buffer overflow and interrupts the test, so disable the test
for such configurations.

Signed-off-by: Andrew Scull <ascull@google.com>
test/py/tests/test_stackprotector.py