From fd0f87ca6ee710da9d0d545ce4f91cdbc86dca34 Mon Sep 17 00:00:00 2001 From: mike-hunhoff Date: Tue, 8 Jun 2021 10:59:42 -0600 Subject: [PATCH] Update capa/features/file.py w/ PR changes Co-authored-by: Willi Ballenthin --- capa/features/file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/capa/features/file.py b/capa/features/file.py index cd4f03f0..2cc4d577 100644 --- a/capa/features/file.py +++ b/capa/features/file.py @@ -33,4 +33,6 @@ class FunctionName(Feature): def __init__(self, name, description=None): # value is function name super(FunctionName, self).__init__(name, description=description) + # override the name property set by `capa.features.Feature` + # that would be `functionname` (note missing dash) self.name = "function-name"