mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
features: store mnemomics lower case
miasm extracts mnemonic capitalized while other backends do it lowercase. To ensure capa works with all of them, use lower case in the Mnemomic constructor.
This commit is contained in:
committed by
Ana María Martínez Gómez
parent
2d1e7946e3
commit
3e52c7de23
@@ -37,4 +37,4 @@ class Offset(Feature):
|
||||
|
||||
class Mnemonic(Feature):
|
||||
def __init__(self, value, description=None):
|
||||
super(Mnemonic, self).__init__(value, description=description)
|
||||
super(Mnemonic, self).__init__(value.lower(), description=description)
|
||||
|
||||
Reference in New Issue
Block a user