cape/call.py: remove use of the description keyword for features

Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
Yacine
2023-08-07 09:13:07 +01:00
committed by GitHub
parent f461f65a86
commit 23bd2e7cd4

View File

@@ -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