Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Affichage
Vue
Divisé
Unifié
Éditeur live
Masquer les espaces
Cacher identiques
Sans retour à la ligne
Niveau de précision
Intelligent
Syntaxe
Aucun
Modifier l’apparence
Traitement
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled Diff
Créé
il y a 6 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
4 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
64 lignes
Copier tout
2 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
62 lignes
Copier tout
; 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:
Copier
Copié
Copier
Copié
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
Copier
Copié
Copier
Copié
;; 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
Copier
Copié
Copier
Copié
; Total bytes of code: 10
5
; Total bytes of code: 10
0
Différences enregistrées
Texte d'origine
Ouvrir un fichier
; 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
Texte modifié
Ouvrir un fichier
; 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
Trouver la différence