diff options
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/bnil-llil.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/bnil-llil.md b/docs/dev/bnil-llil.md index 2a339371..5d59d3f0 100644 --- a/docs/dev/bnil-llil.md +++ b/docs/dev/bnil-llil.md @@ -25,7 +25,7 @@ Next, enter the following in the console: ``` >>> for block in current_function.low_level_il: ... for instr in block: -... print instr.address, instr.instr_index, instr +... print (instr.address, instr.instr_index, instr) ... 4196422 0 push(rbp) 4196423 1 rbp = rsp {var_8} @@ -141,7 +141,7 @@ Now with some knowledge of the `LowLevelIL` class let's try to do something with >>> for block in current_function.low_level_il: ... for instr in block: ... if instr.operation == LowLevelILOperation.LLIL_SET_REG and instr.dest.name == 'rdx': -... print instr.address, instr.instr_index, instr +... print (instr.address, instr.instr_index, instr) ... 4196490 14 rdx = [rax].q 4196500 16 rdx = [rax + 8].q |
