diff --git a/tests/fixtures/features/binexport.json b/tests/fixtures/features/binexport.json index d3d1aa6d..1a2a08c6 100644 --- a/tests/fixtures/features/binexport.json +++ b/tests/fixtures/features/binexport.json @@ -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" } diff --git a/tests/fixtures/features/static.json b/tests/fixtures/features/static.json index 2c92b121..e274d64e 100644 --- a/tests/fixtures/features/static.json +++ b/tests/fixtures/features/static.json @@ -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", diff --git a/tests/test_optimizer.py b/tests/test_optimizer.py index 0f3ee0f9..8c3f0794 100644 --- a/tests/test_optimizer.py +++ b/tests/test_optimizer.py @@ -63,7 +63,7 @@ def test_optimizer_order(): - arch: amd64 - mnemonic: cmp - and: - - bytes: 3 + - bytes: 03 04 05 - offset: 2 - or: - number: 1