mirror of
https://github.com/vee1e/capa.git
synced 2026-09-04 20:27:13 +00:00
Update capa/features/file.py w/ PR changes
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
parent
84d2f9f324
commit
fd0f87ca6e
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue