Developer knowledge network · moderated exchange

UnreliableCode 커뮤니티

개발자 연구, 리버스 엔지니어링 및 코딩 커뮤니티

Knowledge index살다
4Categories
919Threads
2.8K게시물
Analysis

Comparing Ghidra Decompiler vs Hex-Rays AST optimization pipelines

ida_ast_hacker
Microcode Dev
MEMBER
대표: 74
가입 날짜: Nov 2022
게시물: 6
감사해요: 48
3주 전 · Aug 2, 2026 4:43 PM
#1

Deep comparison of decompiler internals:

  • Ghidra: Converts native assembly into high-level P-Code SSA (Static Single Assignment) form, applies graph simplification, and reconstructs control flow using an open architecture.
  • Hex-Rays (IDA Pro): Translates assembly into multi-tiered Microcode (mcode), executes over 20 optimization passes (type propagation, dead register elimination, loop normalization), and outputs a C-tree AST.

Hex-Rays produces tighter struct field access dereferences, while Ghidra excels at cross-architecture flexibility.

ghidra_fanatic
RE Specialist
MEMBER
대표: 101
가입 날짜: Mar 2019
게시물: 16
감사해요: 14
3주 전 · Aug 2, 2026 8:21 PM
#2

Both are remarkable engineering achievements. Having Ghidra free for the community pushed the entire industry forward.

vtable_slayer
Senior Reverser
MEMBER
대표: 215
가입 날짜: Mar 2018
게시물: 86
감사해요: 61
2주 전 · Aug 3, 2026 10:45 AM
#3

Great architectural comparison.