summaryrefslogtreecommitdiffstats
path: root/debuggerd/x86_64/crashglue.S
diff options
context:
space:
mode:
Diffstat (limited to 'debuggerd/x86_64/crashglue.S')
-rw-r--r--debuggerd/x86_64/crashglue.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/debuggerd/x86_64/crashglue.S b/debuggerd/x86_64/crashglue.S
new file mode 100644
index 0000000..4d2a5c0
--- /dev/null
+++ b/debuggerd/x86_64/crashglue.S
@@ -0,0 +1,15 @@
+.globl crash1
+.globl crashnostack
+
+crash1:
+ movl $0xa5a50000, %eax
+ movl $0xa5a50001, %ebx
+ movl $0xa5a50002, %ecx
+
+ movl $0, %edx
+ jmp *%rdx
+
+
+crashnostack:
+ movl $0, %ebp
+ jmp *%rbp