diff options
| author | Peter LaFosse <peter@vector35.com> | 2024-03-02 08:46:07 -0800 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2024-03-02 08:46:07 -0800 |
| commit | ff2aa7435c3847f6969364f5d04d0943918429be (patch) | |
| tree | b8a8c775a423bc4627755cc423b4381fac93ec72 /docs/dev/cookbook.md | |
| parent | a08f74cc211457c671d9bd168af467558ea69599 (diff) | |
Fix typo in cookbook
Diffstat (limited to 'docs/dev/cookbook.md')
| -rw-r--r-- | docs/dev/cookbook.md | 4 |
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 |
