tests: cleanup test failures

This commit is contained in:
Willi Ballenthin
2026-04-21 16:03:16 +03:00
parent 8219124d1d
commit 10ccc4a54b
3 changed files with 21 additions and 7 deletions

View File

@@ -571,7 +571,14 @@
"file": "mimikatz.ghidra.be2",
"location": "function=0x4556E5",
"feature": "characteristic: stack string",
"explanation": "stack string (but capa doesn't extract it as a string yet)"
"explanation": "stack string (but capa doesn't extract it as a string yet)",
"marks": [
{
"backend": "binexport",
"mark": "xfail",
"reason": "stack string detection not implemented for binexport"
}
]
},
{
"file": "mimikatz.ghidra.be2",
@@ -980,7 +987,7 @@
"explanation": "7 basic blocks in function",
"marks": [
{
"backend": "ghidra",
"backend": "binexport",
"mark": "xfail",
"reason": "Ghidra identifies different function boundaries; see ghidra-tagged count variant"
}
@@ -999,7 +1006,7 @@
"explanation": "function has 3 calls",
"marks": [
{
"backend": "ghidra",
"backend": "binexport",
"mark": "xfail",
"reason": "Ghidra identifies different function boundaries; see ghidra-tagged count variant"
}
@@ -1012,7 +1019,7 @@
"explanation": "function has no callers",
"marks": [
{
"backend": "ghidra",
"backend": "binexport",
"mark": "xfail",
"reason": "Ghidra identifies different function boundaries; see ghidra-tagged count variant"
}
@@ -1025,7 +1032,7 @@
"explanation": "function has 3 callers",
"marks": [
{
"backend": "ghidra",
"backend": "binexport",
"mark": "xfail",
"reason": "Ghidra identifies different function boundaries; see ghidra-tagged count variant"
}

View File

@@ -1123,7 +1123,14 @@
"file": "bb38149.elf",
"location": "file",
"feature": "section: .dynamic",
"explanation": "stripped ELF section promoted into the shared presence fixture"
"explanation": "stripped ELF section promoted into the shared presence fixture",
"marks": [
{
"backend": "idalib",
"mark": "xfail",
"reason": "IDA maps this stripped ELF from program headers, not section headers, so .dynamic is subsumed into a LOAD segment"
}
]
},
{
"file": "79abd",

View File

@@ -63,7 +63,7 @@ def test_optimizer_order():
- arch: amd64
- mnemonic: cmp
- and:
- bytes: 3
- bytes: 03 04 05
- offset: 2
- or:
- number: 1