-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crash: Make everything more architecture-independent
- Document exactly which crash features are available on which architectures. There's several interesting crash tests we will want to add for specific architectures, such as misaligned memory accesses. - Don't compile the divide by zero crash test on RISC-V, as they simply don't crash here. - Rename the test for "x86 User Mode Instruction Prevention" to a more generic "try to execute a priviledged instruction"; whatever that specifically entails on any given architecture. - Rename a bunch of internal variables to more generic names. - Wrap the x86-specific implementation of "execute non executable memory" in architecture preprocessor checks.
- Loading branch information
1 parent
311af9a
commit e11f84f
Showing
2 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters