summaryrefslogtreecommitdiff
path: root/docs/dev/bnil-hlil.md
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-09-11 18:29:59 -0400
committerJosh Ferrell <josh@vector35.com>2025-09-11 19:09:28 -0400
commit5f21429815bfa13bc167aff4a9785424675b82b6 (patch)
treed13caac55b8ad269062929413e286bab44ad8429 /docs/dev/bnil-hlil.md
parent2d20ed145b9135a7d3390acb3ac10a900d947f91 (diff)
Docs grammar and spelling fixes
Diffstat (limited to 'docs/dev/bnil-hlil.md')
-rw-r--r--docs/dev/bnil-hlil.md32
1 files changed, 16 insertions, 16 deletions
diff --git a/docs/dev/bnil-hlil.md b/docs/dev/bnil-hlil.md
index 4829ad4a..b66081dc 100644
--- a/docs/dev/bnil-hlil.md
+++ b/docs/dev/bnil-hlil.md
@@ -16,7 +16,7 @@ The High Level Intermediate Language (HLIL) is Binary Ninja's decompiler output.
## 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:
+To observe the transformations 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
> current_function.request_debug_report("hlil")
@@ -51,22 +51,22 @@ There are a number of properties that can be queried on the [`HighLevelILInstruc
* `HLIL_TAILCALL` - This instruction calls the expression `dest` using `params` as input and `output` for return values
not exist
* `HLIL_SYSCALL` - Make a system/service call with parameters `params` and output `output`
-* `HLIL_WHILE` -
-* `HLIL_DO_WHILE` -
-* `HLIL_FOR` -
-* `HLIL_SWITCH` -
-* `HLIL_CASE` -
-* `HLIL_BREAK` -
-* `HLIL_CONTINUE` -
+* `HLIL_WHILE` -
+* `HLIL_DO_WHILE` -
+* `HLIL_FOR` -
+* `HLIL_SWITCH` -
+* `HLIL_CASE` -
+* `HLIL_BREAK` -
+* `HLIL_CONTINUE` -
### Variable Reads and Writes
* `HLIL_VAR_DECLARE` - A declaration of `var`
* `HLIL_VAR_INIT` - Initializes `dest` to the result of an expression `src`
* `HLIL_ASSIGN` - Sets a variable `dest` to the result of an expression `src`
-* `HLIL_ASSIGN_UNPACK` -
+* `HLIL_ASSIGN_UNPACK` -
* `HLIL_VAR` - A variable expression `src`
-* `HLIL_VAR_PHI` - A `PHI` represents the combination of several prior versions of a variable when differnet basic blocks coalesce into a single destination and it's unknown which path was taken.
+* `HLIL_VAR_PHI` - A `PHI` represents the combination of several prior versions of a variable when different basic blocks coalesce into a single destination and it's unknown which path was taken.
* `HLIL_MEM_PHI` - A memory `PHI` represents memory modifications that could have occured down different source basic blocks similar to a `VAR_PHI`.
* `HLIL_ADDRESS_OF` - The address of variable `src`
* `HLIL_CONST` - A constant integral value `constant`
@@ -76,11 +76,11 @@ not exist
* `HLIL_FLOAT_CONST` - A floating point constant `constant`
* `HLIL_IMPORT` - A `constant` integral value representing an imported address
* `HLIL_LOW_PART` - `size` bytes from the low end of `src` expression
-* `HLIL_STRUCT_FIELD` -
-* `HLIL_ARRAY_INDEX` -
+* `HLIL_STRUCT_FIELD` -
+* `HLIL_ARRAY_INDEX` -
* `HLIL_SPLIT` - A split pair of variables `high`:`low` which can be used a single expression
* `HLIL_DEREF` - Dereferences `src`
-* `HLIL_DEREF_FIELD` -
+* `HLIL_DEREF_FIELD` -
### Arithmetic Operations
@@ -161,6 +161,6 @@ not exist
* `HLIL_UNDEF` - The expression performs undefined behavior
* `HLIL_UNIMPL` - The expression is not implemented
* `HLIL_UNIMPL_MEM` - The expression is not implemented but does access `src` memory
-* `HLIL_BLOCK` -
-* `HLIL_LABEL` -
-* `HLIL_UNREACHABLE` -
+* `HLIL_BLOCK` -
+* `HLIL_LABEL` -
+* `HLIL_UNREACHABLE` -