mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
render: display number feature as hex vverbose (#1097)
This commit is contained in:
@@ -63,6 +63,7 @@ Deprecation notice: as described in [#937](https://github.com/mandiant/capa/issu
|
||||
### Bug Fixes
|
||||
- improve handling _ prefix compile/link artifact #924 @mike-hunhoff
|
||||
- better detect OS in ELF samples #988 @williballenthin
|
||||
- display number feature zero in vverbose #1097 @mike-hunhoff
|
||||
|
||||
### capa explorer IDA Pro plugin
|
||||
- improve file format extraction #918 @mike-hunhoff
|
||||
|
||||
@@ -142,6 +142,10 @@ def render_feature(ostream, match: rd.Match, feature: frzf.Feature, indent=0):
|
||||
if key == "string":
|
||||
value = render_string_value(value)
|
||||
|
||||
if key == "number":
|
||||
assert isinstance(value, int)
|
||||
value = hex(value)
|
||||
|
||||
ostream.write(key)
|
||||
ostream.write(": ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user