Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide whitespace changes
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Text styles
Change appearance
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled Diff
Created
3 years ago
Diff never expires
Clear
Export
Share
Explain
19 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
36 lines
Copy
14 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
33 lines
Copy
Copy
Copied
Copy
Copied
; Method MyTests:Foo
1
(int,int)
; Method MyTests:Foo
2
(int,int)
G_
M6347
_IG01: ;; offset=0000H
G_
M55528
_IG01: ;; offset=0000H
push rsi
push rsi
sub rsp, 32
sub rsp, 32
;; size=5 bbWeight=1 PerfScore 1.25
;; size=5 bbWeight=1 PerfScore 1.25
Copy
Copied
Copy
Copied
G_
M6347
_IG02: ;; offset=0005H
G_
M55528
_IG02: ;; offset=0005H
movsxd rcx, ecx
movsxd rcx, ecx
movsxd rax, edx
movsxd rax, edx
add rcx, rax
add rcx, rax
Copy
Copied
Copy
Copied
mov eax, ecx
cmp r
c
x,
0x7FFFFFFF
movsxd rdx, eax
jg
SHORT G_
M55528
_IG04
cmp r
d
x,
rcx
;; size=
18
bbWeight=1 PerfScore 2.
00
jne
SHORT G_
M6347
_IG04
mov ecx, eax
;; size=
21
bbWeight=1 PerfScore 2.
75
Copy
Copied
Copy
Copied
G_
M6347
_IG03: ;; offset=001
A
H
G_
M55528
_IG03: ;; offset=001
7
H
add rsp, 32
add rsp, 32
pop rsi
pop rsi
tail.jmp [System.Console:WriteLine(int)]
tail.jmp [System.Console:WriteLine(int)]
;; size=11 bbWeight=1 PerfScore 2.75
;; size=11 bbWeight=1 PerfScore 2.75
Copy
Copied
Copy
Copied
G_
M6347
_IG04: ;; offset=002
5
H
G_
M55528
_IG04: ;; offset=002
2
H
mov rcx, 0x7FFF7D5D68A8 ; System.OverflowException
mov rcx, 0x7FFF7D5D68A8 ; System.OverflowException
call CORINFO_HELP_NEWSFAST
call CORINFO_HELP_NEWSFAST
mov rsi, rax
mov rsi, rax
mov rcx, rsi
mov rcx, rsi
call [System.OverflowException:.ctor():this]
call [System.OverflowException:.ctor():this]
mov rcx, rsi
mov rcx, rsi
call CORINFO_HELP_THROW
call CORINFO_HELP_THROW
int3
int3
;; size=36 bbWeight=0 PerfScore 0.00
;; size=36 bbWeight=0 PerfScore 0.00
Copy
Copied
Copy
Copied
; Total bytes of code:
73
; Total bytes of code:
70
Saved diffs
Original text
Open file
; Method MyTests:Foo1(int,int) G_M6347_IG01: ;; offset=0000H push rsi sub rsp, 32 ;; size=5 bbWeight=1 PerfScore 1.25 G_M6347_IG02: ;; offset=0005H movsxd rcx, ecx movsxd rax, edx add rcx, rax mov eax, ecx movsxd rdx, eax cmp rdx, rcx jne SHORT G_M6347_IG04 mov ecx, eax ;; size=21 bbWeight=1 PerfScore 2.75 G_M6347_IG03: ;; offset=001AH add rsp, 32 pop rsi tail.jmp [System.Console:WriteLine(int)] ;; size=11 bbWeight=1 PerfScore 2.75 G_M6347_IG04: ;; offset=0025H mov rcx, 0x7FFF7D5D68A8 ; System.OverflowException call CORINFO_HELP_NEWSFAST mov rsi, rax mov rcx, rsi call [System.OverflowException:.ctor():this] mov rcx, rsi call CORINFO_HELP_THROW int3 ;; size=36 bbWeight=0 PerfScore 0.00 ; Total bytes of code: 73
Changed text
Open file
; Method MyTests:Foo2(int,int) G_M55528_IG01: ;; offset=0000H push rsi sub rsp, 32 ;; size=5 bbWeight=1 PerfScore 1.25 G_M55528_IG02: ;; offset=0005H movsxd rcx, ecx movsxd rax, edx add rcx, rax cmp rcx, 0x7FFFFFFF jg SHORT G_M55528_IG04 ;; size=18 bbWeight=1 PerfScore 2.00 G_M55528_IG03: ;; offset=0017H add rsp, 32 pop rsi tail.jmp [System.Console:WriteLine(int)] ;; size=11 bbWeight=1 PerfScore 2.75 G_M55528_IG04: ;; offset=0022H mov rcx, 0x7FFF7D5D68A8 ; System.OverflowException call CORINFO_HELP_NEWSFAST mov rsi, rax mov rcx, rsi call [System.OverflowException:.ctor():this] mov rcx, rsi call CORINFO_HELP_THROW int3 ;; size=36 bbWeight=0 PerfScore 0.00 ; Total bytes of code: 70
Find difference