mirror of
https://github.com/mandiant/capa.git
synced 2026-01-26 11:14:46 -08:00
Update capa/features/file.py w/ PR changes
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user