From 1e6336e12229add2f1716019d1b050c7f989dbaa Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Mon, 20 Aug 2018 08:12:56 -0400 Subject: update user docs example to use dest.name --- docs/dev/bnil-llil.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev') 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 -- cgit v1.3.1