Star on GitHubStar2.4k stars

Tool

HRAST

HRAST is an IDAPython proof of concept for matching and rewriting the Hex-Rays ctree. Load HRAST.py, put pattern tuples in read_patterns.py, and call reLOAD() so the decompiler window picks them up. unLOAD() turns the changes off. The included patterns rename globals and structure fields and replace an inlined strlen on a global. ast_helper.py builds ctree items. The reviewed page points the ctree verifier at IDA 7.1 or newer.

Targets
Binary
Category
Native analysis tools
Relationship
Foundation tool
Sources reviewed
Stars
264
Last commit
2019-12-17
Language
Python
License (GitHub)
MIT

GitHub data as of 2026-11-09

Copy as MarkdownView JSONCite

Requirements & limits

  • IDA with Hex-Rays and IDAPython. The verifier note names IDA 7.1 or newer.
  • License: MIT.

Cite

BibTeX

@misc{hrast,
  title = {{HRAST}},
  howpublished = {\url{https://github.com/sibears/HRAST}},
  url = {https://github.com/sibears/HRAST},
  urldate = {2026-11-07},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/hrast/}}
}

Plain text

HRAST. https://github.com/sibears/HRAST (accessed 2026-11-07). Awesome REA entry: https://awesomerea.org/resources/hrast/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · sibears/HRAST · Revision 5c64853

More in Native binaries

All 502 entries in Native binaries

↑↓ move↵ open⌘↵ new tab