Commit graph

75 commits

Author SHA1 Message Date
Dimitri Papadopoulos
46a201ecd6
Fix typos found by codespell 2024-03-18 10:10:24 +01:00
Fabrice Desclaux
a229f4ef22 Fix ircfg_a names 2021-01-19 08:09:12 +01:00
Fabrice Desclaux
972cad3a89 Rename examples lifter 2020-12-25 21:37:02 +01:00
Fabrice Desclaux
91b1639165 Change example names 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
e6ec952904 Rename ira => LifterModelCall 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
73b9339e58 Use blocks in ircfg instead of ir_arch 2020-10-04 23:16:08 +02:00
Fabrice Desclaux
80e40a3d2c Avoid generate default locationdb 2020-08-31 07:50:01 +02:00
Fabrice Desclaux
ae30dd263f Updt dis_block_callback; apply_splitting 2020-06-10 11:27:12 +02:00
Fabrice Desclaux
257d63333e Updt propagation expression algorithm 2020-05-04 00:21:44 +02:00
Fabrice Desclaux
215c5ebfe9 Analysis: dead simp to class 2020-02-14 16:41:23 +01:00
Fabrice Desclaux
55e94456ef Fix dot 'w' open 2019-11-18 13:52:55 +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
6f67a55036 stack2var: move it from simplification loop to final pass
There are no points to call it in the simplification loop as it's
hypothesis is that we uncover all stack accesses.
Moreover, the index variable generated will collide with previous calls
2019-02-22 10:50:15 +01:00
Fabrice Desclaux
db44ff49a2 IR: add simplifier 2019-02-18 22:49:33 +01:00
Fabrice Desclaux
00ba934bac IR: del unused edges during IR simplifications 2019-02-12 08:07:18 +01:00
Fabrice Desclaux
0fecc22af0 API: replace shift_offset by base_address
WARNING: base address is the negative of shift_offset
2019-02-11 16:03:39 +01:00
Fabrice Desclaux
5fcbef659d Fix bad english 2019-01-17 08:57:31 +01:00
Fabrice Desclaux
f201c480a1 Example/Full: dont modify ircfg in ssa form 2019-01-16 14:50:14 +01:00
Fabrice Desclaux
bae5fd6dff Analysis: fix unssa algorithm 2019-01-16 14:50:14 +01:00
Fabrice Desclaux
a89cc198f0 SSA: make ssa_variable_to_expr public 2019-01-15 15:16:34 +01:00
Ajax
ee0c9c0748 Disasm/full: ircfg_a and ssa.graph are the same object, use only one denomination 2019-01-11 12:46:30 +01:00
Pierre LALET
814ccf5031 Fix typos & add codespell 2018-12-23 19:26:44 +01:00
Fabrice Desclaux
5e620f04a4 Updt example api 2018-12-10 11:10:45 +01:00
Fabrice Desclaux
cc722f808e Example: remove deprecated example 2018-12-10 11:10:45 +01:00
Fabrice Desclaux
4de79169b5 Add some simple disasm/ir examples 2018-12-10 11:10:45 +01:00
Fabrice Desclaux
846d316efa Code cleaning: lgtm.com 2018-09-20 07:44:31 +02:00
Fabrice Desclaux
253547e353 Code cleaning: lgtm.com 2018-08-23 09:35:27 +02:00
Fabrice Desclaux
4c8d2cf0d1 Example/full: add constant propagation 2018-08-06 20:22:09 +02:00
Ajax
b4177eb4de Add support for reloc and rebase in ContainerELF 2018-07-24 12:53:58 +02:00
Ajax
5fcecd3a58 Disasm/Full: fix inversion in output names 2018-07-12 09:45:14 +02:00
Fabrice Desclaux
bd510655cf Examples: updt api 2018-07-10 14:57:24 +02:00
Tim Blazytko
bb40c1a13c Analysis: Add SSA transformation
Joint work with Niko Schmidt
2018-07-09 12:31:29 +02:00
Fabrice Desclaux
7b9db9ff1c Example: fix defuse 2018-07-05 22:38:54 +02:00
Fabrice Desclaux
195c688da0 IR: gen ircfg from ir_arch 2018-07-05 16:14:26 +02:00
Ajax
d314460a5a Update symbol_pool's deprecated API -> LocationDB 2018-07-03 14:28:18 +02:00
Ajax
68fac2e86c symbol_pool -> loc_db 2018-07-03 14:28:18 +02:00
Fabrice Desclaux
3b33944817 All: fix var name to reflect object types 2018-06-19 18:11:01 +02:00
Fabrice Desclaux
8a4172f472 AsmBlock: remove symbol_pool in add_cst 2018-06-10 20:09:29 +02:00
Fabrice Desclaux
61551fa78e Core: replace AsmLabel by LocKey 2018-06-09 00:33:48 +02:00
Fabrice Desclaux
a2637cdf0b Expr: Add new word ExprLoc
This word represents a location in the binary.
Thus, the hack of ExprId containing an AsmLabel ends here.
2018-06-08 17:35:05 +02:00
Fabrice Desclaux
94d49ed54f Core: updt parser structure 2018-05-14 10:29:27 +02:00
Fabrice Desclaux
149c404539 Asmblock: fix dis_block_callback 2018-02-02 17:20:56 +01:00
w4kfu
d147d92892 append b to the opens mode ; Python on Windows makes a distinction between text and binary files 2018-01-16 12:56:14 +01:00
Fabrice Desclaux
e33bffdca0 Asmblock: remove disasm engine job_done attribute
WARNING: disasmEngine behaviour modification

Before patch: job_done containted the already disassembled addresses. If the
user disassembled twice the same addresse, the engine will return empty
object on the second call.

After patch: If the user disassemble twice the same addresse, the engine will
return result of the disassembling in both cases.
2017-07-27 21:17:54 +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
e5e1305c0c Example: fix simplify argument 2017-05-07 16:57:57 +02:00
Ajax
9c8869368c Remove PYTHONSTARTUP in end-user scripts 2017-04-24 18:16:47 +02:00
Fabrice Desclaux
102ad42976 Example: add irblock simplification example 2017-04-21 11:05:06 +02:00