From c03202e79c06421f09f603a71d7f7e1a7600bf5f Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Tue, 20 May 2025 14:15:08 -0400 Subject: add HLIL debug report example --- docs/dev/bnil-hlil.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/dev') diff --git a/docs/dev/bnil-hlil.md b/docs/dev/bnil-hlil.md index 157b6a59..5b9da995 100644 --- a/docs/dev/bnil-hlil.md +++ b/docs/dev/bnil-hlil.md @@ -14,7 +14,15 @@ The High Level Intermediate Language (HLIL) is Binary Ninja's decompiler output. * Small discrete operations * Enables source-level forms of queries and analysis -In the rest of this article we will explore the instruction set. +## Debug Report + +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: + +```py +> request_debug_report("hlil") +``` + +![HLIL Debug Report](../img/hlil-debug-report.png) ## The Instruction Set -- cgit v1.3.1