Select Git revision
pt-bad-addr.c
Forked from
h-attak / Pintos_Student
Source project has a limited visibility.
-
h-attak authored
- Added all source files from the initial UWE version of Pintos repository. Commits history was irrelevant in the original project, starting from no previous commits here. - Added a .gitignore, so that binary and meaningless files won't get committed. - Updated and moved the README.md file to be used properly by GitLab.
h-attak authored- Added all source files from the initial UWE version of Pintos repository. Commits history was irrelevant in the original project, starting from no previous commits here. - Added a .gitignore, so that binary and meaningless files won't get committed. - Updated and moved the README.md file to be used properly by GitLab.
pt-bad-addr.c 211 B
/* Accesses a bad address.
The process must be terminated with -1 exit code. */
#include "tests/lib.h"
#include "tests/main.h"
void
test_main (void)
{
fail ("bad addr read as %d", *(int *) 0x04000000);
}