Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
显示
视图
拆分
统一
实时编辑器
隐藏空白更改
折叠未更改行
关闭换行
比对精度
智能
语法
无
更改外观
处理
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled Diff
创建于
6年前
差异永不过期
清除
导出
分享
解释
4 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
64 行
全部复制
2 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
62 行
全部复制
; Method Miscompile.Program:Foo2()
; Method Miscompile.Program:Foo2()
G_M14217_IG01:
G_M14217_IG01:
push rbp
push rbp
sub rsp, 48
sub rsp, 48
lea rbp, [rsp+30H]
lea rbp, [rsp+30H]
mov qword ptr [rbp-10H], rsp
mov qword ptr [rbp-10H], rsp
;; bbWeight=1 PerfScore 2.75
;; bbWeight=1 PerfScore 2.75
G_M14217_IG02:
G_M14217_IG02:
xor ecx, ecx
xor ecx, ecx
xor eax, eax
xor eax, eax
mov dword ptr [rbp-04H], eax
mov dword ptr [rbp-04H], eax
align [11 bytes]
align [11 bytes]
;; bbWeight=1 PerfScore 1.75
;; bbWeight=1 PerfScore 1.75
G_M14217_IG03:
G_M14217_IG03:
复制
已复制
复制
已复制
xor eax, eax
mov dword ptr [rbp-04H], eax
test ecx, ecx
test ecx, ecx
jne SHORT G_M14217_IG04
jne SHORT G_M14217_IG04
mov ecx, dword ptr [rbp-04H]
mov ecx, dword ptr [rbp-04H]
add ecx, 100
add ecx, 100
mov dword ptr [rbp-04H], ecx
mov dword ptr [rbp-04H], ecx
mov ecx, 1
mov ecx, 1
jmp SHORT G_M14217_IG03
jmp SHORT G_M14217_IG03
复制
已复制
复制
已复制
;; bbWeight=8 PerfScore
56
.00
;; bbWeight=8 PerfScore
46
.00
G_M14217_IG04:
G_M14217_IG04:
mov rcx, rsp
mov rcx, rsp
call G_M14217_IG07
call G_M14217_IG07
;; bbWeight=1 PerfScore 1.25
;; bbWeight=1 PerfScore 1.25
G_M14217_IG05:
G_M14217_IG05:
nop
nop
;; bbWeight=1 PerfScore 0.25
;; bbWeight=1 PerfScore 0.25
G_M14217_IG06:
G_M14217_IG06:
lea rsp, [rbp]
lea rsp, [rbp]
pop rbp
pop rbp
ret
ret
;; bbWeight=1 PerfScore 2.00
;; bbWeight=1 PerfScore 2.00
G_M14217_IG07:
G_M14217_IG07:
push rbp
push rbp
sub rsp, 48
sub rsp, 48
mov rbp, qword ptr [rcx+32]
mov rbp, qword ptr [rcx+32]
mov qword ptr [rsp+20H], rbp
mov qword ptr [rsp+20H], rbp
lea rbp, [rbp+30H]
lea rbp, [rbp+30H]
;; bbWeight=1 PerfScore 4.75
;; bbWeight=1 PerfScore 4.75
G_M14217_IG08:
G_M14217_IG08:
mov ecx, dword ptr [rbp-04H]
mov ecx, dword ptr [rbp-04H]
call System.Console:WriteLine(int)
call System.Console:WriteLine(int)
nop
nop
;; bbWeight=1 PerfScore 2.25
;; bbWeight=1 PerfScore 2.25
G_M14217_IG09:
G_M14217_IG09:
add rsp, 48
add rsp, 48
pop rbp
pop rbp
ret
ret
;; bbWeight=1 PerfScore 1.75
;; bbWeight=1 PerfScore 1.75
复制
已复制
复制
已复制
; Total bytes of code: 10
5
; Total bytes of code: 10
0
已保存差异
原始文本
打开文件
; Method Miscompile.Program:Foo2() G_M14217_IG01: push rbp sub rsp, 48 lea rbp, [rsp+30H] mov qword ptr [rbp-10H], rsp ;; bbWeight=1 PerfScore 2.75 G_M14217_IG02: xor ecx, ecx xor eax, eax mov dword ptr [rbp-04H], eax align [11 bytes] ;; bbWeight=1 PerfScore 1.75 G_M14217_IG03: xor eax, eax mov dword ptr [rbp-04H], eax test ecx, ecx jne SHORT G_M14217_IG04 mov ecx, dword ptr [rbp-04H] add ecx, 100 mov dword ptr [rbp-04H], ecx mov ecx, 1 jmp SHORT G_M14217_IG03 ;; bbWeight=8 PerfScore 56.00 G_M14217_IG04: mov rcx, rsp call G_M14217_IG07 ;; bbWeight=1 PerfScore 1.25 G_M14217_IG05: nop ;; bbWeight=1 PerfScore 0.25 G_M14217_IG06: lea rsp, [rbp] pop rbp ret ;; bbWeight=1 PerfScore 2.00 G_M14217_IG07: push rbp sub rsp, 48 mov rbp, qword ptr [rcx+32] mov qword ptr [rsp+20H], rbp lea rbp, [rbp+30H] ;; bbWeight=1 PerfScore 4.75 G_M14217_IG08: mov ecx, dword ptr [rbp-04H] call System.Console:WriteLine(int) nop ;; bbWeight=1 PerfScore 2.25 G_M14217_IG09: add rsp, 48 pop rbp ret ;; bbWeight=1 PerfScore 1.75 ; Total bytes of code: 105
更改后文本
打开文件
; Method Miscompile.Program:Foo2() G_M14217_IG01: push rbp sub rsp, 48 lea rbp, [rsp+30H] mov qword ptr [rbp-10H], rsp ;; bbWeight=1 PerfScore 2.75 G_M14217_IG02: xor ecx, ecx xor eax, eax mov dword ptr [rbp-04H], eax align [11 bytes] ;; bbWeight=1 PerfScore 1.75 G_M14217_IG03: test ecx, ecx jne SHORT G_M14217_IG04 mov ecx, dword ptr [rbp-04H] add ecx, 100 mov dword ptr [rbp-04H], ecx mov ecx, 1 jmp SHORT G_M14217_IG03 ;; bbWeight=8 PerfScore 46.00 G_M14217_IG04: mov rcx, rsp call G_M14217_IG07 ;; bbWeight=1 PerfScore 1.25 G_M14217_IG05: nop ;; bbWeight=1 PerfScore 0.25 G_M14217_IG06: lea rsp, [rbp] pop rbp ret ;; bbWeight=1 PerfScore 2.00 G_M14217_IG07: push rbp sub rsp, 48 mov rbp, qword ptr [rcx+32] mov qword ptr [rsp+20H], rbp lea rbp, [rbp+30H] ;; bbWeight=1 PerfScore 4.75 G_M14217_IG08: mov ecx, dword ptr [rbp-04H] call System.Console:WriteLine(int) nop ;; bbWeight=1 PerfScore 2.25 G_M14217_IG09: add rsp, 48 pop rbp ret ;; bbWeight=1 PerfScore 1.75 ; Total bytes of code: 100
查找差异