summaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/cookbook.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/cookbook.md b/docs/dev/cookbook.md
index eb1dbb20..9f5164e9 100644
--- a/docs/dev/cookbook.md
+++ b/docs/dev/cookbook.md
@@ -181,8 +181,8 @@ for func in bv.functions:
# SSA
hlil_ssa_vars = func.hlil.ssa_vars # You can also get ssa variables
- def_inst = func.hlil.ssa_form.get_ssa_variable_definition(ssa_vars[0]) # But if you want definitions, you need to use the ssa form
- use_insts = func.hlil.ssa_form.get_ssa_variable_uses(ssa_vars[0]) # There's only ever one ssa definition, but potentially many uses
+ def_inst = func.hlil.ssa_form.get_ssa_var_definition(ssa_vars[0]) # But if you want definitions, you need to use the ssa form
+ use_insts = func.hlil.ssa_form.get_ssa_var_uses(ssa_vars[0]) # There's only ever one ssa definition, but potentially many uses
```
### Working with Tags