about summary refs log tree commit diff stats
path: root/miasm2/expression/expression_helper.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename miasm2 to miasmFabrice Desclaux2019-03-051-628/+0
|
* Support python2/python3Fabrice Desclaux2019-03-051-28/+46
|
* Rename idiv/imod into sdiv/smodFabrice Desclaux2019-01-151-1/+1
|
* Expression: replace arg by ptr in ExprMemFabrice Desclaux2018-10-121-2/+2
|
* Expresion: use ExprAssign instead of ExprAffFabrice Desclaux2018-10-011-3/+3
| | | | | | ExprAff stands for (in french) "Expression affectation" We will now use ExprAssign (for Expression Assignment) (instead of ExprAss)
* Expr: use TOK define instead of stringsFabrice Desclaux2018-08-291-1/+1
|
* Code cleaning: lgtm.comFabrice Desclaux2018-08-231-1/+0
|
* Expr: Add new word ExprLocFabrice Desclaux2018-06-081-1/+5
| | | | | This word represents a location in the binary. Thus, the hack of ExprId containing an AsmLabel ends here.
* Deprecate expr_cmps/expr_cmpu for a more verbose / understandable APIAjax2018-02-141-5/+5
|
* Replace ExprInt[num](x) -> ExprInt(x, num)Ajax2017-03-301-1/+1
|
* Expression: one pass merge_sliceto_sliceAjax2016-11-071-63/+34
|
* ExprCompose: updt internal structFabrice Desclaux2016-11-041-97/+69
|
* ExprCompose: update apiFabrice Desclaux2016-11-041-14/+8
|
* Expression: remove is_term attributeserpilliere2016-11-041-8/+2
|
* Expression: Use singleton pattern for Expressionserpilliere2016-11-041-1/+1
| | | | | | | | | Start the transformation of Expression into immutable. Multiple problems were present in Expression class. One of them was comparison done through hash, which could generate collisions. The attributes is_simp/is_canon where linked to the instance, and could not survive to expression simplification.
* Update int(XX.arg) -> int(XX)Ajax2016-09-161-4/+4
|
* Add ** (pow) operatorJB Cayrou2016-06-291-1/+1
|
* Introduce `possible_values` helperAjax2016-03-171-0/+124
| | | | | Retrieve values of an Expr with their associated constraint. Thanks to @serpilliere
* Expression: slotsFabrice Desclaux2016-01-151-3/+2
|
* Expression: fix apiFabrice Desclaux2015-10-291-5/+4
|
* Expression/helper: add macro cmpu/cmpsFabrice Desclaux2015-07-291-0/+19
|
* Expression: remove code which uses expression modificationsserpilliere2015-02-221-2/+4
|
* VariablesIdentifier: Handle corner cases (using var ident on already ↵Camille Mougey2015-02-101-2/+5
| | | | computed eq)
* VariableIdentifier: Less hacky way to identify sub vars, add a prefix featureCamille Mougey2015-02-101-9/+14
|
* Merge branch 'feature-exprrandom' of https://github.com/commial/miasm into ↵Fabrice Desclaux2014-12-111-0/+171
|\ | | | | | | | | | | | | commial-feature-exprrandom Conflicts: miasm2/expression/expression_helper.py
| * ExpressionHelper: Introduce ExprRandom, an expression generation featureCamille Mougey2014-12-101-0/+172
| | | | | | | | | | ExprRandom is a customisable (by extending it) class for generating random expression.
* | VariablesIdentifier: Use iterators (credits Pierre Lalet)Camille Mougey2014-12-101-6/+7
| |
* | ExpressionHelper: Introduce Variables_IdentifierCamille Mougey2014-12-091-0/+156
|/ | | | | | Variables_Identifier provides a way to identify redundant pattern (ie. variables) in an expression, replace them and obtain the variables list in a dependencies compliant order.
* Expression: fix umod/udiv in expression simplificationFabrice Desclaux2014-10-311-1/+2
|
* Fix operand unify irem/imodserpilliere2014-06-241-1/+1
|
* expression: fix rol/ror simplifications (fix by fperigaud)serpilliere2014-06-121-1/+1
|
* Miasm v2serpilliere2014-06-031-0/+196
* API has changed, so old scripts need updates * See example for API usage * Use tcc or llvm for jit emulation * Go to test and run test_all.py to check install Enjoy !