Skip to content

Instantly share code, notes, and snippets.

@fanquake
Last active November 25, 2020 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fanquake/5a38c523df0e54d24c626c339870082e to your computer and use it in GitHub Desktop.
Save fanquake/5a38c523df0e54d24c626c339870082e to your computer and use it in GitHub Desktop.

Comparing bitcoin-ab23a83400d5_fanquake/bin/bitcoind & bitcoin-ab23a83400d5_achow/bin/bitcoind

otool -arch x86_64 -tdvV {}

Code for architecture x86_64

@@ -1172024,21 +1172024,21 @@
 000000010050b79e	leaq	__mh_execute_header(%rip), %r14
 000000010050b7a5	movq	%rbx, %rdi
 000000010050b7a8	movq	%r14, %rdx
 000000010050b7ab	callq	0x10090daf2 ## symbol stub for: ___cxa_atexit
 000000010050b7b0	movq	$0x0, 0x4ff2b5(%rip)
 000000010050b7bb	movq	$0x0, 0x4ff2b2(%rip)
 000000010050b7c6	movq	$0x0, 0x4ff2af(%rip)
-000000010050b7d1	movb	$0x26, 0x4ff298(%rip)
+000000010050b7d1	movb	$0x28, 0x4ff298(%rip)
 000000010050b7d8	movabsq	$0x2e302e31322e3076, %rax
 000000010050b7e2	movq	%rax, 0x4ff288(%rip)
 000000010050b7e9	movabsq	$0x3861333262612d30, %rax
 000000010050b7f3	movq	%rax, 0x4ff27f(%rip)
-000000010050b7fa	movl	$0x30343338, 0x4ff27c(%rip)
-000000010050b804	movb	$0x0, 0x4ff279(%rip)
+000000010050b7fa	movl	$0x30303433, 0x4ff27d(%rip)
+000000010050b804	movb	$0x0, 0x4ff27a(%rip)
 000000010050b80b	movq	0x4e0026(%rip), %rax ## literal pool symbol address: ___stack_chk_guard
 000000010050b812	movq	(%rax), %rax
 000000010050b815	cmpq	-0x18(%rbp), %rax
 000000010050b819	jne	0x10050b835
 000000010050b81b	leaq	0x4ff24e(%rip), %rsi
 000000010050b822	movq	%rbx, %rdi
 000000010050b825	movq	%r14, %rdx

Comparing bitcoin-ab23a83400d5_fanquake/bin/bitcoin-cli & bitcoin-ab23a83400d5_achow/bin/bitcoin-cli

otool -arch x86_64 -tdvV {}

Code for architecture x86_64

@@ -29361,21 +29361,21 @@
 000000010002572e	leaq	__mh_execute_header(%rip), %r14
 0000000100025735	movq	%rbx, %rdi
 0000000100025738	movq	%r14, %rdx
 000000010002573b	callq	0x10005444c ## symbol stub for: ___cxa_atexit
 0000000100025740	movq	$0x0, 0x3e31d(%rip)
 000000010002574b	movq	$0x0, 0x3e31a(%rip)
 0000000100025756	movq	$0x0, 0x3e317(%rip)
-0000000100025761	movb	$0x26, 0x3e300(%rip)
+0000000100025761	movb	$0x28, 0x3e300(%rip)
 0000000100025768	movabsq	$0x2e302e31322e3076, %rax
 0000000100025772	movq	%rax, 0x3e2f0(%rip)
 0000000100025779	movabsq	$0x3861333262612d30, %rax
 0000000100025783	movq	%rax, 0x3e2e7(%rip)
-000000010002578a	movl	$0x30343338, 0x3e2e4(%rip)
-0000000100025794	movb	$0x0, 0x3e2e1(%rip)
+000000010002578a	movl	$0x30303433, 0x3e2e5(%rip)
+0000000100025794	movb	$0x0, 0x3e2e2(%rip)
 000000010002579b	movq	0x38aee(%rip), %rax ## literal pool symbol address: ___stack_chk_guard
 00000001000257a2	movq	(%rax), %rax
 00000001000257a5	cmpq	-0x18(%rbp), %rax
 00000001000257a9	jne	0x1000257c5
 00000001000257ab	leaq	0x3e2b6(%rip), %rsi
 00000001000257b2	movq	%rbx, %rdi
 00000001000257b5	movq	%r14, %rdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment