From 1532ce1babb3f67e7bf43537dd84955ee23e0d2e Mon Sep 17 00:00:00 2001 From: Yacine Elhamer Date: Tue, 20 Jun 2023 13:20:33 +0100 Subject: [PATCH] add tests for extracting argument values --- tests/fixtures.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/fixtures.py b/tests/fixtures.py index 5310c085..0f70a9ab 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -630,8 +630,8 @@ DYNAMIC_FEATURE_PRESENCE_TESTS = sorted( ("0000a657", "process=(2852:3052),thread=2804", capa.features.insn.Number(0x000000EC), True), ("0000a657", "process=(2852:3052),thread=2804", capa.features.insn.Number(110173), False), # thread/string call argument - # ("0000a657", "process=(2852:3052),thread=500", capa.features.common.String("NtQuerySystemInformation"), True), - # ("0000a657", "process=(2852:3052),thread=500", capa.features.common.String("nope"), False), + ("0000a657", "process=(2852:3052),thread=2804", capa.features.common.String("NtQuerySystemInformation"), True), + ("0000a657", "process=(2852:3052),thread=2804", capa.features.common.String("nope"), False), ], # order tests by (file, item) # so that our LRU cache is most effective. @@ -667,8 +667,8 @@ DYNAMIC_FEATURE_COUNT_TESTS = sorted( ("0000a657", "process=(2852:3052),thread=2804", capa.features.insn.Number(0x000000EC), 1), ("0000a657", "process=(2852:3052),thread=2804", capa.features.insn.Number(110173), 0), # thread/string call argument - # ("0000a657", "process=(2852:3052),thread=500", capa.features.common.String("NtQuerySystemInformation"), True), - # ("0000a657", "process=(2852:3052),thread=500", capa.features.common.String("nope"), False), + ("0000a657", "process=(2852:3052),thread=2804", capa.features.common.String("NtQuerySystemInformation"), True), + ("0000a657", "process=(2852:3052),thread=2804", capa.features.common.String("nope"), False), ], # order tests by (file, item) # so that our LRU cache is most effective.