summaryrefslogtreecommitdiff
path: root/src/cmd/crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/crash.c')
-rw-r--r--src/cmd/crash.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/crash.c b/src/cmd/crash.c
new file mode 100644
index 0000000..a644eed
--- /dev/null
+++ b/src/cmd/crash.c
@@ -0,0 +1,7 @@
+int
+main(void)
+{
+ // TODO flags to write into kernel mem / nonexistent mem, read/write
+ volatile int *thing = (void*)0xF000BAAA;
+ *thing = 1337;
+}