Skip to content

Conversation

@fsammoura1980
Copy link
Contributor

Adds test_null_pointer_access to verify that attempting to write to a null pointer (address 0x0) correctly triggers a fatal error, confirming the Physical Memory Protection (PMP) guard functionality.

@zephyrbot zephyrbot added area: RISCV RISCV Architecture (32-bit & 64-bit) area: Tests Issues related to a particular existing or missing test labels Dec 9, 2025
@fsammoura1980 fsammoura1980 force-pushed the add_null_ptr_test branch 5 times, most recently from c515733 to 3106142 Compare December 10, 2025 15:53
Adds `test_null_pointer_access` to verify that attempting to write to a
null pointer (address 0x0) correctly triggers a fatal error, confirming
the Physical Memory Protection (PMP) guard functionality.

Signed-off-by: Firas Sammoura <[email protected]>
@sonarqubecloud
Copy link

@nashif nashif merged commit 41403ca into zephyrproject-rtos:main Dec 11, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: RISCV RISCV Architecture (32-bit & 64-bit) area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants