Skip to content

Instantly share code, notes, and snippets.

View vicnetto's full-sized avatar
🏀

Victor de Moura Netto vicnetto

🏀
View GitHub Profile
@SeanPesce
SeanPesce / ghidra_concat.h
Last active June 23, 2024 12:45
Ghidra CONCAT Implementations
// Author: Sean Pesce
//
// Manual implementations of the CONCAT operations produced by the Ghidra decompiler.
// These definitions are helpful for compiling re-implementations of native code using
// decompiler output (e.g., with gcc).
//
// Note that these implementations would be outperformed by minimal C preprocessor macros
// that replicate the same logic.