From 4ef9ad58360b8244185a09c4dabe74c81f9c3c63 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 11 Dec 2025 17:09:46 -0500 Subject: add script for validating white space in mkdocs, and many whitespace fixes --- docs/dev/bnil-llil.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/dev/bnil-llil.md') diff --git a/docs/dev/bnil-llil.md b/docs/dev/bnil-llil.md index 2eafe5cb..2ac1e77f 100644 --- a/docs/dev/bnil-llil.md +++ b/docs/dev/bnil-llil.md @@ -15,8 +15,7 @@ Since doing is the easiest way to learn let's start with a simple example binary ![Low Level IL Option >](../img/llil-option.png) - Download [chal1](../files/chal1) and open it with Binary Ninja - - Next, bring up the `Low Level IL` view by clicking in the view drop down at the top of the pane - (or alternatively, use the `i` key to cycle view levels) + - Next, bring up the `Low Level IL` view by clicking in the view drop down at the top of the pane (or alternatively, use the `i` key to cycle view levels) - Navigate to main (`g`, then "main", or double-click it in the function list) - Finally, bring up the python console using: `~` @@ -97,30 +96,35 @@ For the above instruction, we have a few operations we can perform: >>> instr.function ``` + * **instr_index** - returns the LLIL index ``` >>> instr.instr_index 2 ``` + * **operands** - returns a list of all operands. ``` >>> instr.operands ['rsp', ] ``` + * **operation** - returns the enumeration value of the current operation ``` >>> instr.operation ``` + * **src** - returns the source operand ``` >>> instr.src ``` + * **dest** - returns the destination operand ``` -- cgit v1.3.1