From 39413323b129153fb6f0d9464aca485a685e4504 Mon Sep 17 00:00:00 2001 From: Michael Ligh Date: Sun, 6 May 2018 09:24:36 -0500 Subject: [PATCH] HexBytes() should inherit from bytes not int --- volatility/framework/renderers/format_hints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/renderers/format_hints.py b/volatility/framework/renderers/format_hints.py index 651091221..34be77dce 100644 --- a/volatility/framework/renderers/format_hints.py +++ b/volatility/framework/renderers/format_hints.py @@ -14,5 +14,5 @@ class Hex(int): """A class to indicate that the integer value should be represented as a hexidecimal value""" -class HexBytes(int): +class HexBytes(bytes): """A class to indicate that the bytes should be display in an extended format showing hexadecimal and ascii printable display"""