# 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.

- Type: Tool
- Targets: Binary
- Category: Native analysis tools
- Relationship: Foundation tool
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/sibears/HRAST>
- Primary source: <https://github.com/sibears/HRAST/blob/5c6485340a2dc6d2f5256fceb10a29e7e879351c/README.md>
- Catalog page: <https://awesomerea.org/resources/hrast/>
- Record JSON: <https://awesomerea.org/resources/hrast/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/hrast/index.md)

## Requirements & limits

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

## Primary sources

1. <https://github.com/sibears/HRAST/blob/5c6485340a2dc6d2f5256fceb10a29e7e879351c/README.md>

## More in Native binaries

- [Ouroboros](https://awesomerea.org/resources/ouroboros-decompiler/index.md) · Tool
- [genmc](https://awesomerea.org/resources/genmc/index.md) · Tool
- [serum-preset-packager](https://awesomerea.org/resources/serum-preset-packager/index.md) · Tool
- [OpenJOC](https://awesomerea.org/resources/openjoc/index.md) · Tool
- [Felix](https://awesomerea.org/resources/felix-lynx-debugger/index.md) · Tool
- [aftereffects-aep-parser](https://awesomerea.org/resources/aftereffects-aep-parser/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
