Add 'u' prefix to wide UTF-16 strings (#7760)

This commit is contained in:
Khairul Azhar Kasmiran 2017-06-18 07:10:58 +08:00 committed by radare
parent efe373de18
commit 389de5f669

View File

@ -2625,7 +2625,7 @@ static void ds_print_str(RDisasmState *ds, const char *str, int len, bool string
// could be a wide string
int i = 0;
ALIGN;
ds_comment (ds, true, "; \"");
ds_comment (ds, true, "; u\"");
for (i = 0; i < len; i+=2) {
if (!str[i]) {
break;