Sign in
akaros
/
upstream
/
9ba6f0fe91ecb48e08601005bf91283269c6f5ac
/
.
/
tests
/
old
/
faultreadkernel.c
blob: cef359f3c9098694cd3a131e6a4f95aae3733843 [
file
] [
log
] [
blame
]
// buggy program - faults with a read from kernel space
#include
<stdio.h>
int
main
(
int
argc
,
char
**
argv
)
{
printf
(
"I read %08x from location 0xf0100000!\n"
,
*(
unsigned
*)
0xf0100000
);
return
0
;
}