GhidraStackStrings
Hacky scripts to fixup stack strings in Ghidra's decompiler.
Install / Use
/learn @SamL98/GhidraStackStringsREADME
Ghidra Stack Strings
This project provides a first-pass hack for getting stack strings to display in Ghidra's decompiler window.
Here's an example of the results:

to

The methodology is detailed in here
Dependencies
This project has dependencies?! Yep. Ghidra's built-in assembler kept yelling at me so at 2am, I decided to give up and call rasm2 as a subprocess. So yeah. You're gonna need radare2. Or some familiarity with the Ghidra API.
Warnings
Most of this code was hacked together at the wee hours of the night. Therefore, let's just say it's not production quality. There's also some hacks in the code that were specific to the binary I was looking at while developing this. I don't think it's gonna hurt on other binaries (y'never know) but it's unnecessary nonetheless.
Yoour binary also needs strcpy for the script to work.
Usage
Copy all the scripts to ~/ghidra_scripts or add this directory to the Ghidra script search paths. Then run deoptimizer.py.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
