Skip to content

Conversation

@alexhoppus
Copy link
Contributor

@alexhoppus alexhoppus commented Jan 23, 2026

This commit adds AddressSanitizer tests for OP-TEE Trusted Applications. The test logic is reused from the existing kernel tests but is exposed and executed in the TA context.

This is part of the work to support AddressSanitizer for Trusted Applications. The main MR is here

Add regression case 1042 to exercise ASAN in TA:
- stack overflow
- global (ro/static/regular)
- malloc (including overflow)
- use-after-free
- memcpy/memset bounds

Wire new commands in os_test TA and expose entry points. The host
test opens os_test TA and runs the subcases, skipping gracefully
when ASAN is not supported (CFG_TA_SANITIZE_KADDRESS=n).

Signed-off-by: Aleksandr Iashchenko <aleksandr.iashchenko@linutronix.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant