-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
GUI correctly reports the mismatch
but CLI report reports 100% match
"units": [
{
"name": "diffbug",
"measures": {
"fuzzy_match_percent": 100,
"total_code": "6",
"matched_code": "6",
"matched_code_percent": 100,
"matched_data_percent": 100,
"total_functions": 2,
"matched_functions": 2,
"matched_functions_percent": 100,
"complete_data_percent": 100,
"total_units": 1
},
"sections": [
{
"name": ".data",
"fuzzy_match_percent": 100,
"metadata": {
}
},
{
"name": ".text",
"size": "6",
"fuzzy_match_percent": 50,
"metadata": {
}
},
{
"name": "STACK",
"fuzzy_match_percent": 100,
"metadata": {
}
}
],
"functions": [
{
"name": "?First@@YIPBDW4MyType1@@@Z",
"size": "3",
"fuzzy_match_percent": 100,
"metadata": {
"demangled_name": "char const * __fastcall First(enum MyType1)"
},
"address": "0"
},
{
"name": "?Second@@YIPBDW4MyType2@@@Z",
"size": "3",
"fuzzy_match_percent": 100,
"metadata": {
"demangled_name": "char const * __fastcall Second(enum MyType2)"
},
"address": "3"
}
],
"metadata": {
}
},
input asm, build with masm
.686P
.mmx
.model flat
.stack 4096
USEFIRST equ 0
IF USEFIRST eq 0
fun_00401000 EQU ?First@@YIPBDW4MyType1@@@Z
ELSE
fun_00401000 EQU ?First@@YIPBDW4MyType3@@@Z
ENDIF
fun_00401020 EQU ?Second@@YIPBDW4MyType2@@@Z
assume fs:nothing
.code
fun_00401000 proc
xor eax, eax
ret
fun_00401000 endp
fun_00401020 proc
xor edx, edx
ret
fun_00401020 endp
end
change USEFIRST equ 0 to 1 to compile other target
Metadata
Metadata
Assignees
Labels
No labels