mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
tests: fix COM tests with dynamic scope
This commit is contained in:
@@ -410,7 +410,9 @@ def test_com_feature_matching(z395eb_extractor):
|
||||
rule:
|
||||
meta:
|
||||
name: initialize IWebBrowser2
|
||||
scope: basic block
|
||||
scopes:
|
||||
- static: basic block
|
||||
- dynamic: unsupported
|
||||
features:
|
||||
- and:
|
||||
- api: ole32.CoCreateInstance
|
||||
|
||||
@@ -1540,6 +1540,9 @@ def test_translate_com_features():
|
||||
rule:
|
||||
meta:
|
||||
name: test rule
|
||||
scopes:
|
||||
static: basic block
|
||||
dynamic: call
|
||||
features:
|
||||
- com/class: WICPngDecoder
|
||||
# 389ea17b-5078-4cde-b6ef-25c15175c751 WICPngDecoder
|
||||
|
||||
Reference in New Issue
Block a user