From 23bd2e7cd470d95d8ec8d596a75669c1e6464616 Mon Sep 17 00:00:00 2001 From: Yacine <16624109+yelhamer@users.noreply.github.com> Date: Mon, 7 Aug 2023 09:13:07 +0100 Subject: [PATCH] cape/call.py: remove use of the description keyword for features Co-authored-by: Willi Ballenthin --- capa/features/extractors/cape/call.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/capa/features/extractors/cape/call.py b/capa/features/extractors/cape/call.py index 35c64266..405902da 100644 --- a/capa/features/extractors/cape/call.py +++ b/capa/features/extractors/cape/call.py @@ -48,9 +48,9 @@ def extract_call_features( # list similar to disassembly: arguments right-to-left, call for arg in call["arguments"][::-1]: try: - yield Number(int(arg["value"], 16), description=f"{arg['name']}"), caller + yield Number(int(arg["value"], 16)), caller except ValueError: - yield String(arg["value"], description=f"{arg['name']}"), caller + yield String(arg["value"]), caller yield API(call["api"]), caller