vverbose: render offset

closes #1215
This commit is contained in:
Willi Ballenthin
2022-12-07 11:52:41 +00:00
parent faefe41ad5
commit d1aafa3764
2 changed files with 2 additions and 1 deletions

View File

@@ -48,6 +48,7 @@
- decouple Token dependency / extractor and features #1139 @mr-tz
- update pydantic model to guarantee type coercion #1176 @mike-hunhoff
- do not overwrite version in version.py during PyInstaller build #1169 @mr-tz
- render: fix vverbose rendering of offsets #1215 @williballenthin
### capa explorer IDA Pro plugin
- fix: display instruction items #1154 @mr-tz

View File

@@ -146,7 +146,7 @@ def render_feature(ostream, match: rd.Match, feature: frzf.Feature, indent=0):
if key == "string":
value = render_string_value(value)
if key == "number":
if key in ("number", "offset"):
assert isinstance(value, int)
value = hex(value)