mirror of
https://github.com/mandiant/capa.git
synced 2026-04-28 11:53:20 -07:00
tests: cleanup test failures
This commit is contained in:
17
tests/fixtures/features/binexport.json
vendored
17
tests/fixtures/features/binexport.json
vendored
@@ -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"
|
||||
}
|
||||
|
||||
9
tests/fixtures/features/static.json
vendored
9
tests/fixtures/features/static.json
vendored
@@ -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",
|
||||
|
||||
@@ -63,7 +63,7 @@ def test_optimizer_order():
|
||||
- arch: amd64
|
||||
- mnemonic: cmp
|
||||
- and:
|
||||
- bytes: 3
|
||||
- bytes: 03 04 05
|
||||
- offset: 2
|
||||
- or:
|
||||
- number: 1
|
||||
|
||||
Reference in New Issue
Block a user