projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bf92206a9d50e0805a3dfb7299c743f8df89df0c
[pintos-anon]
/
grading
/
userprog
/
sc-bad-sp.c
1
#include <stdio.h>
2
#include <syscall.h>
3
4
int
5
main (void)
6
{
7
printf ("(sc-bad-sp) begin\n");
8
asm volatile ("mov %esp, 0x20101234; int 0x30");
9
printf ("(sc-bad-sp) end\n");
10
return 0;
11
}