From d22d513716804bb4af002cefbe8cbeed2afcadb1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Mar 2025 16:40:53 +0000 Subject: [PATCH] Re-type the correct function --- volatility3/framework/objects/utility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 57d1bca4c..ef702060c 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -105,7 +105,7 @@ def pointer_to_string( def gather_contiguous_bytes_from_address( context, data_layer, starting_address: int, count: int -) -> str: +) -> bytes: """ This method reconstructs a string from memory while also carefully examining each page @@ -148,7 +148,7 @@ def gather_contiguous_bytes_from_address( def bytes_to_decoded_string( data: bytes, encoding: str, errors: str, return_truncated: bool = True -) -> bytes: +) -> str: """ Args: data: The `bytes` buffer containing the string of a string at offset 0