Skip to content

Commit c03202e

Browse files
committed
add HLIL debug report example
1 parent 96a2a78 commit c03202e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/dev/bnil-hlil.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ The High Level Intermediate Language (HLIL) is Binary Ninja's decompiler output.
1414
* Small discrete operations
1515
* Enables source-level forms of queries and analysis
1616

17-
In the rest of this article we will explore the instruction set.
17+
## Debug Report
18+
19+
To observe the transformartions that occur from MLIL to HLIL, you can use the built-in [`debug report`](https://api.binary.ninja/binaryninja.function-module.html#binaryninja.function.Function.request_debug_report) API:
20+
21+
```py
22+
> request_debug_report("hlil")
23+
```
24+
25+
![HLIL Debug Report](../img/hlil-debug-report.png)
1826

1927
## The Instruction Set
2028

0 commit comments

Comments
 (0)