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
尋找差異