Commit Graph

70 Commits

Author SHA1 Message Date
Ajax 2420df074c Remove the default size of ExprMem expressions 2018-02-15 15:45:24 +01:00
Fabrice Desclaux 275b8d25aa Expression: no default size for ExprId 2018-02-09 18:13:24 +01:00
Fabrice Desclaux c63ae8e10a IRBlock: getitem/len on assignblks 2018-02-09 10:55:39 +01:00
Fabrice Desclaux 4b257d2d82 IRBlock: irblock iterates on its assignblks 2018-02-09 10:55:39 +01:00
Fabrice Desclaux eca476334f IRBlock: replace irs by assignblks 2018-02-09 10:55:39 +01:00
Fabrice Desclaux 79a39f095a Expression: use stp translator 2018-01-11 10:29:36 +01:00
Fabrice Desclaux d2756cb85f Example: add constant expression propagation 2017-08-09 08:01:15 +02:00
Fabrice Desclaux e6f2b1431e Symbexec: add get_block 2017-08-08 16:12:00 +02:00
Fabrice Desclaux 4b200beb1b Example: update api 2017-08-08 09:25:56 +02:00
Fabrice Desclaux 8df4d3770c Examples: update api 2017-08-07 16:42:30 +02:00
Fabrice Desclaux 4fcd0faa92 Asmblock: rename bloc 2017-07-07 12:43:04 +02:00
Fabrice Desclaux 7c98de47f7 IR: rename add_bloc 2017-07-07 12:33:47 +02:00
Fabrice Desclaux 0da61c83fd IR: rename get_bloc 2017-07-07 12:32:47 +02:00
Fabrice Desclaux c748d74297 IR: avoid IRBlock attribute creation 2017-05-24 12:23:53 +02:00
Fabrice Desclaux 47fb50d611 Example: clean code 2017-05-15 21:29:34 +02:00
Fabrice Desclaux 9e79f4338a Core/Objc: improuve internal type representation 2017-05-15 21:29:34 +02:00
Ajax 9c8869368c Remove PYTHONSTARTUP in end-user scripts 2017-04-24 18:16:47 +02:00
Fabrice Desclaux 4d511eab15 IRBlock: move lines in AssignBlock 2017-04-20 12:36:51 +02:00
Ajax f81c3e4b42 Replace ExprInt[num](x) -> ExprInt(x, num) 2017-03-30 16:04:40 +02:00
Caroline Leman 5d10f696e0 analysis: Introduction of use-definition chains
- previous dead_simp function has been moved to data_flow.py
- ira class has been simplified
- reach analysis code has been 'clarified'
2017-03-29 12:33:05 +02:00
Fabrice Desclaux 1b3fcbdda8 Core/asmbloc: move asmbloc to asmblock 2017-03-13 15:07:28 +01:00
Fabrice Desclaux d0727aa74b Asmbloc: rename asm_label to AsmLabel 2017-03-13 14:13:14 +01:00
Fabrice Desclaux 287cb1bb18 All: rename vars bloc -> block 2017-03-13 14:13:13 +01:00
Fabrice Desclaux c3940991f2 IR: rename blocs to blocks 2017-03-13 14:13:09 +01:00
Fabrice Desclaux d8cbc05965 IR/Symbexec: rename symbexec to SymbolicExecutionEngine 2017-03-13 13:56:26 +01:00
Fabrice Desclaux de06847ea2 Test: add access_c/expr_c example 2017-02-17 14:53:45 +01:00
Camille Mougey d30ea37881 Merge pull request #494 from serpilliere/expression_reducer
Expression: add ExprReduce
2017-02-13 16:35:18 +01:00
Fabrice Desclaux eb7d90bb49 Expression: add ExprReduce 2017-02-13 16:26:05 +01:00
Fabrice Desclaux a7c9a7f769 Core/cpu: change ParseAst name 2017-02-13 15:04:25 +01:00
Fabrice Desclaux 494ba6e2b3 Expr: Remove exprint_from 2016-12-23 15:11:48 +01:00
Fabrice Desclaux 3771288cff ExprCompose: add new api
The ExprComposes uses directly its arguments sizes to guess the slices
locations.
Old api:  ExprCompose([(a, 0, 32), (b, 32, 64)])
becomes:  ExprCompose(a, b)
2016-11-04 16:45:46 +01:00
Fabrice Desclaux 35ead949d8 AssignBlock 2016-02-26 15:53:53 +01:00
Ajax 455cfbe8b7 BasicBlocks: update examples with the new API 2016-01-26 17:09:18 +01:00
Ajax 308a634b7c IR: replace .g with a lazy built .graph, avoiding the need of gen_graph 2015-12-07 11:15:43 +01:00
Ajax b4114c3e78 Example: move output .txt to .dot 2015-11-09 15:01:12 +01:00
Ajax fe5b12c623 Example/Expr: unused import 2015-11-06 17:53:27 +01:00
Ajax 8cc9de4f95 Example/Expr: reorganize imports 2015-11-06 17:39:51 +01:00
Ajax e77a4a2430 Example/Expr: unused import 2015-11-06 17:39:12 +01:00
Ajax 9491efe21e Example/EXPR: unused import 2015-11-06 17:38:21 +01:00
Ajax 685bbab340 Example/EXPR: unused import DiGraph 2015-11-06 17:37:25 +01:00
serpilliere 00daaf5d0d Core/parse_asm: update parse_txt API use 2015-10-29 21:40:20 +01:00
Ajax 039c2ca9d9 GraphDataflow: A function where never executed / tested 2015-04-30 19:12:43 +02:00
Ajax 7c4b58d2fb GraphDataflow: Refactor, PyLinting 2015-04-30 19:12:36 +02:00
Ajax b853add3ef GraphDataflow: update API 2015-04-30 19:12:25 +02:00
Fabrice Desclaux b148652ebd Parse_asm: generate asm_label on symbol parsing
For an unknown symbol, instead of generating ExprId('toto'), it will generate
ExprId(asm_label('toto')). As label is generated in the architecture, this label
must be catched in the parse_asm module to be inserted in the current
symbol_pool.
2015-04-01 23:47:37 +02:00
Fabrice Desclaux f9c49e92da Clean: remove unecessary ast_parser modification 2015-04-01 23:47:37 +02:00
Fabrice Desclaux 22777cc19e Asmbloc: updt asmbloc api 2015-04-01 23:47:37 +02:00
Camille Mougey d9eb63d9c4 Example/Expression: Set the seed for ExprRandom uses 2015-01-23 17:24:43 +01:00
Camille Mougey 42d91afa74 Example: Move expression samples to sample directory 2015-01-23 17:24:43 +01:00
Camille Mougey c0b195dfb8 Example: Update expr_translate to use Miasm translator and take in account #23 2014-12-16 17:48:18 +01:00