Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime/libia2: enable MTE #334

Merged
merged 2 commits into from
Oct 31, 2024
Merged

runtime/libia2: enable MTE #334

merged 2 commits into from
Oct 31, 2024

Conversation

ayrtonm
Copy link
Contributor

@ayrtonm ayrtonm commented Mar 26, 2024

This PR actually enables MTE after #311 added support for cross-compiling for ARM. I wrote some basic tests that protects static data but we'll need to test a different way as explained in this comment.

@ayrtonm ayrtonm mentioned this pull request Mar 28, 2024
28 tasks
@ayrtonm ayrtonm force-pushed the am/mte_fault branch 2 times, most recently from 82bb469 to 2070e23 Compare May 28, 2024 18:39
@ayrtonm ayrtonm changed the base branch from main to am/qemu_tests May 28, 2024 18:39
@ayrtonm
Copy link
Contributor Author

ayrtonm commented May 28, 2024

Rebased this on #353 which adds support for running tests in QEMU.

@ayrtonm ayrtonm force-pushed the am/qemu_tests branch 20 times, most recently from f620a28 to ff75a18 Compare May 29, 2024 03:48
@fw-immunant fw-immunant changed the base branch from am/qemu_tests to main June 3, 2024 19:59
@fw-immunant fw-immunant force-pushed the am/mte_fault branch 3 times, most recently from 6a64337 to b414dbc Compare June 4, 2024 22:48
@fw-immunant fw-immunant force-pushed the am/mte_fault branch 2 times, most recently from 42fd2b1 to 50ba9c5 Compare June 4, 2024 23:11
@fw-immunant
Copy link
Contributor

This appears to work correctly: we see MTE violations in test logs here. We can wait to merge this until we fix most (if not all) of these with call-gates.

Without this CTest only prints tests that fail so MTE check failures logged by
QEMU won't show up unless the test fails for another reason.
@fw-immunant fw-immunant merged commit 34221df into main Oct 31, 2024
34 checks passed
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.

2 participants