summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2018-08-20 08:12:56 -0400
committerJordan Wiens <jordan@psifertex.com>2018-08-20 08:12:56 -0400
commit1e6336e12229add2f1716019d1b050c7f989dbaa (patch)
tree80eed8a7dbb05be4ccc31e285ca3e340e2f51abd
parent56bfbc430d8aa7f5e581958a5b9e600372805cdb (diff)
update user docs example to use dest.name
-rw-r--r--docs/dev/bnil-llil.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/bnil-llil.md b/docs/dev/bnil-llil.md
index 7748d140..4f5ff0c3 100644
--- a/docs/dev/bnil-llil.md
+++ b/docs/dev/bnil-llil.md
@@ -143,7 +143,7 @@ Now with some knowledge of the `LowLevelIL` class lets 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 == 'rdx':
+... if instr.operation == LowLevelILOperation.LLIL_SET_REG and instr.dest.name == 'rdx':
... print instr.address, instr.instr_index, instr
...
4196490 14 rdx = [rax].q