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
ZeroMemory
Created
3 years ago
Diff never expires
Clear
Export
Share
Explain
29 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
33 lines
Copy
28 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
35 lines
Copy
Copy
Copied
Copy
Copied
System.Data.SafeNativeMethods:ZeroMemory
1
(long,int):
System.Data.SafeNativeMethods:ZeroMemory
(long,int):
; Emitting BLENDED_CODE for X64 CPU with SSE2 - Unix
; Emitting BLENDED_CODE for X64 CPU with SSE2 - Unix
push rbp
push rbp
sub rsp, 16
sub rsp, 16
lea rbp, [rsp+10H]
lea rbp, [rsp+10H]
;; size=10 bbWeight=1 PerfScore 1.75
;; size=10 bbWeight=1 PerfScore 1.75
Copy
Copied
Copy
Copied
test esi, esi
jl SHORT G_M65310_IG07
mov esi, esi
mov esi, esi
mov qword ptr [rbp-08H], rsi
mov qword ptr [rbp-08H], rsi
test rsi, rsi
test rsi, rsi
Copy
Copied
Copy
Copied
je SHORT G_
M22095
_IG0
4
je SHORT G_
M65310
_IG0
5
;; size=
11
bbWeight=1 PerfScore
2.50
;; size=
15
bbWeight=1 PerfScore
3.75
cmp rsi, 768
cmp rsi, 768
Copy
Copied
Copy
Copied
ja SHORT G_
M22095
_IG0
6
ja SHORT G_
M65310
_IG0
4
xor esi, esi
xor esi, esi
mov edx, dword ptr [rbp-08H]
mov edx, dword ptr [rbp-08H]
call [CORINFO_HELP_MEMSET]
call [CORINFO_HELP_MEMSET]
Copy
Copied
Copy
Copied
;; size=20
bbWeight=0.50 PerfScore 2.
75
jmp SHORT G_M65310_IG05
G_
M22095
_IG0
4
:
;; size=22 bbWeight=0.50 PerfScore 3.75
G_M65310_IG04:
mov rsi, qword ptr [rbp-08H]
call [System.Buffer:_ZeroMemory(byref,ulong)]
;; size=10
bbWeight=0.50 PerfScore 2.
00
G_
M65310
_IG0
5
:
nop
nop
Copy
Copied
Copy
Copied
;; size=1 bbWeight=
0.50
PerfScore 0.
12
;; size=1 bbWeight=
1
PerfScore 0.
25
add rsp, 16
add rsp, 16
pop rbp
pop rbp
ret
ret
Copy
Copied
Copy
Copied
;; size=6 bbWeight=
0.50
PerfScore
0.88
;; size=6 bbWeight=
1
PerfScore
1.75
G_
M22095
_IG0
6
:
G_
M65310
_IG0
7
:
mov
rsi, qword ptr [rbp-08H
]
call
[System.ThrowHelper:ThrowArgumentOutOfRangeException()
]
lea
rax, [(reloc)]
int3
;; size=
11
bbWeight=0
.50
PerfScore 0.
75
;; size=
7
bbWeight=0
PerfScore 0.
00
add rsp, 16
pop rbp
tail.jmp [rax]System.Buffer:_ZeroMemory(byref,ulong)
;; size=8 bbWeight=0.50 PerfScore 1.38
Saved diffs
Original text
Open file
System.Data.SafeNativeMethods:ZeroMemory1(long,int): ; Emitting BLENDED_CODE for X64 CPU with SSE2 - Unix push rbp sub rsp, 16 lea rbp, [rsp+10H] ;; size=10 bbWeight=1 PerfScore 1.75 mov esi, esi mov qword ptr [rbp-08H], rsi test rsi, rsi je SHORT G_M22095_IG04 ;; size=11 bbWeight=1 PerfScore 2.50 cmp rsi, 768 ja SHORT G_M22095_IG06 xor esi, esi mov edx, dword ptr [rbp-08H] call [CORINFO_HELP_MEMSET] ;; size=20 bbWeight=0.50 PerfScore 2.75 G_M22095_IG04: nop ;; size=1 bbWeight=0.50 PerfScore 0.12 add rsp, 16 pop rbp ret ;; size=6 bbWeight=0.50 PerfScore 0.88 G_M22095_IG06: mov rsi, qword ptr [rbp-08H] lea rax, [(reloc)] ;; size=11 bbWeight=0.50 PerfScore 0.75 add rsp, 16 pop rbp tail.jmp [rax]System.Buffer:_ZeroMemory(byref,ulong) ;; size=8 bbWeight=0.50 PerfScore 1.38
Changed text
Open file
System.Data.SafeNativeMethods:ZeroMemory(long,int): ; Emitting BLENDED_CODE for X64 CPU with SSE2 - Unix push rbp sub rsp, 16 lea rbp, [rsp+10H] ;; size=10 bbWeight=1 PerfScore 1.75 test esi, esi jl SHORT G_M65310_IG07 mov esi, esi mov qword ptr [rbp-08H], rsi test rsi, rsi je SHORT G_M65310_IG05 ;; size=15 bbWeight=1 PerfScore 3.75 cmp rsi, 768 ja SHORT G_M65310_IG04 xor esi, esi mov edx, dword ptr [rbp-08H] call [CORINFO_HELP_MEMSET] jmp SHORT G_M65310_IG05 ;; size=22 bbWeight=0.50 PerfScore 3.75 G_M65310_IG04: mov rsi, qword ptr [rbp-08H] call [System.Buffer:_ZeroMemory(byref,ulong)] ;; size=10 bbWeight=0.50 PerfScore 2.00 G_M65310_IG05: nop ;; size=1 bbWeight=1 PerfScore 0.25 add rsp, 16 pop rbp ret ;; size=6 bbWeight=1 PerfScore 1.75 G_M65310_IG07: call [System.ThrowHelper:ThrowArgumentOutOfRangeException()] int3 ;; size=7 bbWeight=0 PerfScore 0.00
Find difference