Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
隐藏空白更改
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
文本样式
更改外观
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Optimise DateTime.ObjectEquals
创建于
4年前
差异永不过期
清除
导出
分享
解释
22 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
53 行
全部复制
16 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
49 行
全部复制
复制
已复制
复制
已复制
## .NET
7
.0.0 (
7.0.22.47809
), X64 RyuJIT AVX2
## .NET
8
.0.0 (
42.42.42.42424
), X64 RyuJIT AVX2
; System.DateTime.Equals(System.Object)
; System.DateTime.Equals(System.Object)
push rdi
push rdi
push rsi
push rsi
复制
已复制
复制
已复制
push rbx
sub rsp,
28
sub rsp,
20
mov rdi,rcx
mov rdi,rcx
mov rsi,rdx
mov rsi,rdx
mov rcx,rsi
mov rcx,rsi
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
test rax,rax
test rax,rax
je short M01_L01
je short M01_L01
复制
已复制
复制
已复制
mov rbx,3FFFFFFFFFFFFFFF
and rbx,[rdi]
mov rcx,[rsi]
mov rcx,[rsi]
cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
je short M01_L00
je short M01_L00
mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
mov rdx,rsi
mov rdx,rsi
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
M01_L00:
M01_L00:
mov rax,[rsi+8]
mov rax,[rsi+8]
复制
已复制
复制
已复制
mov rdx,
3FFFFFFFFFFFFFFF
mov rdx,
[rdi]
and
rax,rdx
xor
rax,rdx
cmp
rbx,
rax
shl
rax
,2
sete al
sete al
movzx eax,al
movzx eax,al
复制
已复制
复制
已复制
add rsp,
20
add rsp,
28
pop rbx
pop rsi
pop rsi
pop rdi
pop rdi
ret
ret
M01_L01:
M01_L01:
xor eax,eax
xor eax,eax
复制
已复制
复制
已复制
add rsp,
20
add rsp,
28
pop rbx
pop rsi
pop rsi
pop rdi
pop rdi
ret
ret
复制
已复制
复制
已复制
Text moved from lines 48-52
int 3
int 3
int 3
int 3
int 3
int 3
mov rax,[rcx]
mov rax,[rcx]
xor rax,rdx
xor rax,rdx
shl rax,2
shl rax,2
sete al
sete al
movzx eax,al
movzx eax,al
ret
ret
int 3
int 3
int 3
int 3
复制
已复制
复制
已复制
Text moved to lines 35-39
int 3
; Total bytes of code
115
int 3
int 3
int 3
int 3
; Total bytes of code
136
已保存差异
原始文本
打开文件
## .NET 7.0.0 (7.0.22.47809), X64 RyuJIT AVX2 ; System.DateTime.Equals(System.Object) push rdi push rsi push rbx sub rsp,20 mov rdi,rcx mov rsi,rdx mov rcx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] test rax,rax je short M01_L01 mov rbx,3FFFFFFFFFFFFFFF and rbx,[rdi] mov rcx,[rsi] cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] je short M01_L00 mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] mov rdx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] M01_L00: mov rax,[rsi+8] mov rdx,3FFFFFFFFFFFFFFF and rax,rdx cmp rbx,rax sete al movzx eax,al add rsp,20 pop rbx pop rsi pop rdi ret M01_L01: xor eax,eax add rsp,20 pop rbx pop rsi pop rdi ret mov rax,[rcx] xor rax,rdx shl rax,2 sete al movzx eax,al ret int 3 int 3 int 3 int 3 int 3 int 3 int 3 ; Total bytes of code 136
更改后文本
打开文件
## .NET 8.0.0 (42.42.42.42424), X64 RyuJIT AVX2 ; System.DateTime.Equals(System.Object) push rdi push rsi sub rsp,28 mov rdi,rcx mov rsi,rdx mov rcx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] test rax,rax je short M01_L01 mov rcx,[rsi] cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] je short M01_L00 mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] mov rdx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] M01_L00: mov rax,[rsi+8] mov rdx,[rdi] xor rax,rdx shl rax,2 sete al movzx eax,al add rsp,28 pop rsi pop rdi ret M01_L01: xor eax,eax add rsp,28 pop rsi pop rdi ret int 3 int 3 int 3 int 3 int 3 int 3 mov rax,[rcx] xor rax,rdx shl rax,2 sete al movzx eax,al ret int 3 int 3 ; Total bytes of code 115
查找差异