diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-30 14:56:01 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-30 21:10:01 +0100 |
| commit | 3bf16e07198476e614462cb189c7f0ce7a91e444 (patch) | |
| tree | 12e9aafda5e40182a3f00a65a50d1d2eaf1aa7d2 /miasm2/expression/expression.py | |
| parent | 1cb9cbcc2d71d76faf10d7b822f29c035a758343 (diff) | |
| download | miasm-3bf16e07198476e614462cb189c7f0ce7a91e444.tar.gz miasm-3bf16e07198476e614462cb189c7f0ce7a91e444.zip | |
Tipo: dictionary
Diffstat (limited to 'miasm2/expression/expression.py')
| -rw-r--r-- | miasm2/expression/expression.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/expression/expression.py b/miasm2/expression/expression.py index 229f8a21..bda0dbc4 100644 --- a/miasm2/expression/expression.py +++ b/miasm2/expression/expression.py @@ -227,7 +227,7 @@ class Expr(object): def replace_expr(self, dct=None): """Find and replace sub expression using dct - @dct: dictionnary of Expr -> * + @dct: dictionary of Expr -> * """ if dct is None: dct = {} @@ -1214,7 +1214,7 @@ def test_set(e, v, tks, result): @e : Expr @v : Expr @tks : list of ExprId, available jokers - @result : dictionnary of ExprId -> Expr, current context + @result : dictionary of ExprId -> Expr, current context """ if not v in tks: @@ -1227,11 +1227,11 @@ def test_set(e, v, tks, result): def MatchExpr(e, m, tks, result=None): """Try to match m expression with e expression with tks jokers. - Result is output dictionnary with matching joker values. + Result is output dictionary with matching joker values. @e : Expr to test @m : Targetted Expr @tks : list of ExprId, available jokers - @result : dictionnary of ExprId -> Expr, output matching context + @result : dictionary of ExprId -> Expr, output matching context """ if result is None: |