From 8e757d2099ac0aa61da256ef0ee1f43a633f7490 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Tue, 24 Aug 2021 16:32:44 -0600 Subject: [PATCH] show-features: print function addresses, too --- scripts/show-features.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/show-features.py b/scripts/show-features.py index 6d69ea7f..96a04ce2 100644 --- a/scripts/show-features.py +++ b/scripts/show-features.py @@ -203,6 +203,8 @@ def print_features(functions, extractor): logger.debug("skipping library function 0x%x (%s)", function_address, function_name) continue + print("func: 0x%08x" % (function_address)) + for feature, va in extractor.extract_function_features(f): if capa.features.common.is_global_feature(feature): continue