7 Commits

Author SHA1 Message Date
Ivan “CLOVIS” Canet e71c3152d1 Fixed no-op in example/expression/simplification_add
Previously, the test would not do anything, as the simplification added in the test is already a part of the default enabled simplifications:

```
Without adding the simplification:
	a + a + a = a * 0x3
After adding the simplification:
	a + a + a = a * 0x3
```

This also meant that editing the added simplification would have no effect (since the expression was already modified by the default simplifier, it would never match the custom one).

This commit replaces `expr_simp` by a newly-created `simp` that doesn't have any simplifications enabled, so the one added by the test has an impact.
2022-03-15 14:35:13 +01:00
Fabrice Desclaux 944806c506 Rename miasm2 to miasm 2019-03-05 16:52:51 +01:00
Fabrice Desclaux 02bbb30efe Support python2/python3 2019-03-05 16:52:49 +01:00
Fabrice Desclaux 275b8d25aa Expression: no default size for ExprId 2018-02-09 18:13:24 +01:00
Ajax 9c8869368c Remove PYTHONSTARTUP in end-user scripts 2017-04-24 18:16:47 +02:00
Fabrice Desclaux 494ba6e2b3 Expr: Remove exprint_from 2016-12-23 15:11:48 +01:00
Camille Mougey 602f73846b Example: Add an example of a simplification registering 2014-09-19 14:18:12 +02:00