Skip to content

Instantly share code, notes, and snippets.

@shyouhei
Created January 26, 2018 05:01
Show Gist options
  • Save shyouhei/48deb57c3ef6a74414e0edb4fd48829d to your computer and use it in GitHub Desktop.
Save shyouhei/48deb57c3ef6a74414e0edb4fd48829d to your computer and use it in GitHub Desktop.
--- before.txt 2018-01-26 13:38:32.000000000 +0900
+++ after.txt 2018-01-26 13:38:57.000000000 +0900
@@ -719,15 +719,15 @@ miniruby[0x1002259d7] <+3223>: movq %r
miniruby[0x1002259da] <+3226>: movq %r15, %rsi
miniruby[0x1002259dd] <+3229>: vzeroupper
miniruby[0x1002259e0] <+3232>: callq 0x100218b00 ; vm_trace at vm_insnhelper.c:3805
-miniruby[0x1002259e5] <+3237>: leaq 0x8(%r14), %rax
-miniruby[0x1002259e9] <+3241>: movq %r14, %rcx
-miniruby[0x1002259ec] <+3244>: movq %rax, (%r15)
-miniruby[0x1002259ef] <+3247>: movq %rax, %r14
-miniruby[0x1002259f2] <+3250>: movq 0x8(%r15), %rax
-miniruby[0x1002259f6] <+3254>: movq $0x8, (%rax)
-miniruby[0x1002259fd] <+3261>: addq $0x8, %rax
-miniruby[0x100225a01] <+3265>: movq %rax, 0x8(%r15)
-miniruby[0x100225a05] <+3269>: jmpq *0x8(%rcx)
+miniruby[0x1002259e5] <+3237>: movq 0x8(%r15), %rax
+miniruby[0x1002259e9] <+3241>: leaq 0x8(%r14), %rcx
+miniruby[0x1002259ed] <+3245>: movq $0x8, (%rax)
+miniruby[0x1002259f4] <+3252>: addq $0x8, %rax
+miniruby[0x1002259f8] <+3256>: movq %rax, 0x8(%r15)
+miniruby[0x1002259fc] <+3260>: movq %r14, %rax
+miniruby[0x1002259ff] <+3263>: movq %rcx, %r14
+miniruby[0x100225a02] <+3266>: movq %rcx, (%r15)
+miniruby[0x100225a05] <+3269>: jmpq *0x8(%rax)
miniruby[0x100225a08] <+3272>: nopl (%rax,%rax)
miniruby[0x100225a10] <+3280>: movq -0x3d8(%rbp), %rdi
miniruby[0x100225a17] <+3287>: movq %r14, %rdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment