Maximize the power of hex-rays decompiler
summary
Hex-Rays decompiler plus a new plugin automates structure recovery and cross-references so work that used to take hours becomes interactive and repeatable. The tool HexRaysPyTools is pure Python, adds a shallow and deep scanners flow that scans callees (example deep scan run ~1 minute) and can find constructors called >500 times, builds structures, resolves overlaps heuristically, and applies types everywhere. It also adds recast and name propagation, virtual table extraction, cross-refs by fields, and a GitHub-updated codebase that works across OSes.
AI-written summary · about
chapters (27)
- 0:00Intro
- 1:09Reverse Engineering Challenges
- 3:51Reversing object-oriented code
- 4:03Possible solutions
- 7:49Structure Reconstruction
- 8:55Shallow scan
- 11:57Finalizing structure creation
- 12:22After structure creation
- 14:00Call Graph
- 14:18Deep Scan results
- 17:08Resolving type conflicts (Restrictions)
- 18:08Creating new fields
- 19:42Understanding structure
- 20:39Member cross-references using Structure Builder
- 22:09Structure's members cross-references
- 22:44Member references
- 23:28Guessing allocation
- 25:12Recasting
- 27:21Name propagation
- 30:15Virtual functions scanning
- 30:49Constructor x-refs
- 30:59Deep scan returned value
- 31:12Virtual table
- 32:05Classes
- 32:39Other features
- 34:17HexRaysPyTools API
- 35:40Future development
