Can Ghidra do inline strings?
from exposable_preview@slrpnk.net to cybersecurity@sh.itjust.works on 16 Apr 2024 20:18
https://slrpnk.net/post/8693876

I’m not sure if this is the right place to ask, but here we go.

I run into scenarios like these quite often. There is some kind of stack based array (or character string in this case) which is initialized on declaration. Ghidra displays it like this in the decompilation window, which is, declaration first and initialization one element at a time. Is there a way to make Ghidra display a stack string like this on a single line? Something like:

wchar16 buf[22] = L"69F2a+18d346b/SQ5c65e";

This would be a lot nicer on the eyes.

#cybersecurity

threaded - newest