diff options
| author | Camille Mougey <commial@gmail.com> | 2018-12-23 23:23:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-23 23:23:30 +0100 |
| commit | 439eacecd16587bf0df8fd097b8c13677326b9f3 (patch) | |
| tree | e19e9820bb8355730ae9bd0c706e414e39c895ef /miasm2/analysis/ssa.py | |
| parent | 011e1e209b3d00afe3c8e65000209a568c5eb791 (diff) | |
| parent | 814ccf50314852d12168ad5b8a4a875a86bc6e3d (diff) | |
| download | miasm-439eacecd16587bf0df8fd097b8c13677326b9f3.tar.gz miasm-439eacecd16587bf0df8fd097b8c13677326b9f3.zip | |
Merge pull request #908 from p-l-/codespell
Fix typos & add codespell
Diffstat (limited to 'miasm2/analysis/ssa.py')
| -rw-r--r-- | miasm2/analysis/ssa.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/analysis/ssa.py b/miasm2/analysis/ssa.py index 0320d117..c22aae59 100644 --- a/miasm2/analysis/ssa.py +++ b/miasm2/analysis/ssa.py @@ -579,7 +579,7 @@ class SSADiGraph(SSA): def get_assignblk(graph, loc, index): """ - Return the dictionnary of the AssignBlock from @graph at location @loc at + Return the dictionary of the AssignBlock from @graph at location @loc at @index @graph: IRCFG instance @loc: Location instance @@ -595,13 +595,13 @@ def get_assignblk(graph, loc, index): def set_assignblk(graph, loc, index, assignblk_dct): """ - Set the Assignblock in @graph at location @loc at @index using dictionnary + Set the Assignblock in @graph at location @loc at @index using dictionary @assignblk_dct @graph: IRCFG instance @loc: Location instance @index: assignblock index - @assignblk_dct: dictionnary representing the AssignBlock + @assignblk_dct: dictionary representing the AssignBlock """ irblock = graph.blocks[loc] @@ -629,7 +629,7 @@ def remove_phi(ssa, head): all_ssa_vars = ssa._ssa_variable_to_expr - # Retrive Phi nodes + # Retrieve Phi nodes phi_nodes = [] for irblock in ssa.graph.blocks.itervalues(): for index, assignblk in enumerate(irblock): |