Fix #3087 - use new RzStrEnc for RzBinString (#3088)

This commit is contained in:
Anton Kochkov 2023-01-29 16:51:48 +08:00 committed by GitHub
parent 7f0daf96dd
commit baeffba7d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3330,7 +3330,7 @@ QList<StringDescription> 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 : "";