Commit graph

75 commits

Author SHA1 Message Date
Fabrice Desclaux
2a3c5a4f9d Symbols are str instead of bytes 2021-06-08 08:11:01 +02:00
Fabrice Desclaux
6a9b83cb26 Sembuilder: Remove mem[X] 2020-12-16 10:01:29 +01:00
Fabrice Desclaux
24ce193b8b Update api according to loc_db update 2020-08-31 07:50:01 +02:00
Fabrice Desclaux
80e40a3d2c Avoid generate default locationdb 2020-08-31 07:50:01 +02:00
Fabrice Desclaux
82c5d696eb Move modint in core 2020-07-21 16:47:59 +02:00
w4kfu
f134c52375 Fix issue #1255 ; Add unit test 2020-06-16 10:09:41 +02:00
Fabrice Desclaux
ae30dd263f Updt dis_block_callback; apply_splitting 2020-06-10 11:27:12 +02:00
Fabrice Desclaux
d1e994652f Graph: add weakly connected components 2020-03-16 18:52:12 +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
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
Ajax
2a7182fd88 LocationDB: add a name -> offset method 2018-07-19 14:03:34 +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
Ajax
6ef8dbb222 LocationDB: introduced to replace AsmSymbolPool 2018-07-03 14:28:18 +02:00
Ajax
94fbf89c00 Unify ExprLoc str with LocKey and others 2018-06-17 12:35:23 +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
losynix
9a0eda072a add getby_offset in AsmCFG 2018-05-09 16:34:36 +02:00
Fabrice Desclaux
7d4100ea29 Fix __ne__ calls 2018-04-19 18:02:10 +02:00
Fabrice Desclaux
275b8d25aa Expression: no default size for ExprId 2018-02-09 18:13:24 +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
Tim Blazytko
3419b0a920 DiGraph: fixed node order in natural loop backedges 2017-10-18 16:26:07 +02: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
serpilliere
4dfca940e7 Merge pull request #579 from serpilliere/fix_get_bloc
Fix get bloc
2017-07-20 19:35:49 +02:00
William Bruneau
eba096682d Fix typo in /test/core/asmblock.py 2017-07-20 13:58:30 +02:00
Fabrice Desclaux
4fcd0faa92 Asmblock: rename bloc 2017-07-07 12:43:04 +02:00
Fabrice Desclaux
1b3fcbdda8 Core/asmbloc: move asmbloc to asmblock 2017-03-13 15:07:28 +01:00
Fabrice Desclaux
7a473f0df4 Asmbloc: rename asm_constraint[to/next] to AsmConstraint[To/Next] 2017-03-13 14:13:14 +01:00
Fabrice Desclaux
8651b88eda Asmbloc: rename asm_constraint to AsmConstraint 2017-03-13 14:13:14 +01:00
Fabrice Desclaux
d0727aa74b Asmbloc: rename asm_label to AsmLabel 2017-03-13 14:13:14 +01:00
Fabrice Desclaux
e1fc2de7e4 Asmbloc: rename asm_block_bad to AsmBlockBad 2017-03-13 14:13:13 +01:00
Fabrice Desclaux
9f04c551bd Asmbloc: rename asm_bloc to AsmBlock 2017-03-13 14:13:13 +01:00
Ajax
a89ff77f5e Interval: add .length computation 2017-02-13 17:27:12 +01:00
Aymeric Vincent
28d0696bea use python2 as executable name, give adequate permissions 2017-01-05 16:45:17 +01:00
serpilliere
b127dbdfe5 Merge pull request #342 from fmonjalet/fix_types
Fix miasm2.core.types API
2016-04-19 20:31:49 +02:00
Fabrice Desclaux
3fdfc8edac Asmcfg: add reg test 2016-03-16 10:59:27 +01:00
Florent Monjalet
98a7703963 Types: Ptr.dst_type is now a Type rather than a MemType
Makes for a more coherent API
2016-03-15 11:14:17 +01:00
Florent Monjalet
c83c648991 Types: handle MemType as argument to Array constructor
Alse add a to_type helper that factorizes the boilerplate code to
get a Type from either a MemType or a Type.
2016-03-15 11:14:17 +01:00
Fabrice Desclaux
35ead949d8 AssignBlock 2016-02-26 15:53:53 +01:00
Fabrice Desclaux
3bf16e0719 Tipo: dictionary 2016-01-30 21:10:01 +01:00
Ajax
51ec4ba8e1 Add regression tests for MatchGraph
Conflicts:
	test/core/graph.py
2016-01-27 11:12:18 +01:00
Ajax
d6222c4383 Rename BasicBlocks -> AsmCFG, more comprehensible, include "graph" 2016-01-26 17:15:22 +01:00
Ajax
2a3cca15ca BasicBlocks.pendings can be a set (creds @serpilliere) 2016-01-26 17:09:18 +01:00
Ajax
1a49c715e3 Introduce tests for miasm2.core.asmbloc 2016-01-26 17:09:18 +01:00
Ajax
418d2f1600 Graph; introduce copy and merge 2016-01-25 14:28:41 +01:00
Ajax
b4d46020af Graph: two graphs are equals if they have the same nodes and edges 2016-01-25 14:28:41 +01:00
Ajax
195ae36b8f Move types -> test_types to avoid namespace collision (creds @fmonjalet) 2016-01-25 13:07:45 +01:00