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 July 16, 2024 20:02
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.