Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
표시
레이아웃
나란히 보기
합쳐 보기
실시간 편집
공백 변경 숨기기
변경 없는 행 숨기기
줄바꿈 비활성화
비교 단위
스마트
구문
없음
모양 변경
처리
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 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
비교하기