From baeffba7d1b2f783c06cc3af51ba7533b3f6df15 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Sun, 29 Jan 2023 16:51:48 +0800 Subject: [PATCH] Fix #3087 - use new RzStrEnc for RzBinString (#3088) --- src/core/Cutter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index b21a1e03..dc585dd4 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -3330,7 +3330,7 @@ QList CutterCore::getAllStrings() StringDescription string; string.string = rz_str_escape_utf8_keep_printable(str->string, &opt); string.vaddr = obj ? rva(obj, str->paddr, str->vaddr, va) : str->paddr; - string.type = str->type; + string.type = rz_str_enc_as_string(str->type); string.size = str->size; string.length = str->length; string.section = section ? section->name : "";