about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Introduce MatchGraph, the counterpart of MatchExpr for DiGraphAjax2016-01-271-0/+248
|
* Merge pull request #309 from commial/feature-basicblocksserpilliere2016-01-2614-393/+842
|\ | | | | Feature AsmCFG
| * Rename BasicBlocks -> AsmCFG, more comprehensible, include "graph"Ajax2016-01-264-26/+26
| |
| * BasicBlocks.pendings can be a set (creds @serpilliere)Ajax2016-01-262-6/+6
| |
| * Introduce tests for miasm2.core.asmblocAjax2016-01-262-0/+285
| |
| * AsmBloc: rewrite split_bloc into BasicBlocks.apply_splittingAjax2016-01-261-43/+58
| |
| * AsmBloc: rewrite block_merge using graph simplificationAjax2016-01-261-171/+46
| |
| * Graph: introduce GraphSimplifier, counterpart of ExpressionSimplifierAjax2016-01-261-0/+34
| | | | | | | | for Graph
| * BasicBlocks: update examples with the new APIAjax2016-01-268-28/+18
| |
| * AsmBloc: introduce BasicBlocks, standing for a CFG with associated methodsAjax2016-01-262-150/+344
| |
| * Graph: add_node return the previous statusAjax2016-01-251-1/+6
| |
| * Graph; introduce copy and mergeAjax2016-01-252-0/+34
| |
| * Graph: two graphs are equals if they have the same nodes and edgesAjax2016-01-252-0/+17
|/
* Merge pull request #308 from commial/rename-testserpilliere2016-01-253-2/+2
|\ | | | | Move types -> test_types to avoid namespace collision (creds @fmonjalet)
| * Move types -> test_types to avoid namespace collision (creds @fmonjalet)Ajax2016-01-253-2/+2
|/
* Merge pull request #307 from serpilliere/fix_add_instrCamille Mougey2016-01-212-4/+7
|\ | | | | Fix asmbloc
| * Asmbloc: fix get_range (creds: @commial)Fabrice Desclaux2016-01-211-2/+4
| |
| * Asmbloc: Fix asmbloc label (creds @commial)Fabrice Desclaux2016-01-212-2/+3
|/
* Merge pull request #284 from fmonjalet/feature_memstructserpilliere2016-01-186-3/+2452
|\ | | | | Feature MemStruct
| * Types: misleading comment correction in exampleFlorent Monjalet2016-01-181-1/+1
| |
| * Types: Void type reprFlorent Monjalet2016-01-182-1/+3
| |
| * Types: typo, MemStruct.get_offset should be a classmethodFlorent Monjalet2016-01-182-2/+19
| | | | | | | | Also added tests and MemArray.get_offset
| * Types: MemStruct.get_offset() shorthand for @serpiFlorent Monjalet2016-01-181-0/+4
| |
| * Types: Support anonymous Struct/Union/BitFieldFlorent Monjalet2016-01-182-11/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See the test addition for an example. A Struct, Union, or BitField field with no name will be considered anonymous: all its fields will be added to the parent Struct/Union/BitField. This implements this kind of C declaration: struct foo { int a; union { int bar; struct { short baz; short foz; }; }; }
| * Types: adding the ("field", SomeMemType) syntaxFlorent Monjalet2016-01-182-7/+21
| | | | | | | | | | Shorthand for ("field", SomeMemStruct.get_type()) in a Struct or MemStruct fields definition.
| * Types: short test to assert MemStruct unicityFlorent Monjalet2016-01-181-0/+4
| |
| * Types: Type size is now a propertyFlorent Monjalet2016-01-183-20/+27
| |
| * Types: Str encoding now generic to all str python supported encodingsFlorent Monjalet2016-01-181-64/+134
| |
| * Types: zip -> itertools.izipFlorent Monjalet2016-01-181-2/+3
| |
| * MemStruct/Types: ALLOCATOR becomes a MemType class attributeFlorent Monjalet2016-01-181-17/+24
| |
| * MemStruct: little MemType doc additionFlorent Monjalet2016-01-181-1/+1
| |
| * MemStruct/Types: example on type manipulationsFlorent Monjalet2016-01-181-1/+23
| |
| * MemStruct/Types: Array idx fix + MemStr.from_str featureFlorent Monjalet2016-01-181-16/+45
| | | | | | | | | | MemStr.from_str allows to allocate and set a string automatically if ALLOCATOR is set. This avoids allocating a buffer and filling it later.
| * MemStruct/Types: pinned renamed to lvalFlorent Monjalet2016-01-183-46/+79
| |
| * MemStruct/Types: Renamed analysis.mem to core.typesFlorent Monjalet2016-01-184-13/+14
| |
| * MemStruct: Pinned* renamed back to Mem*Florent Monjalet2016-01-183-166/+166
| |
| * MemStruct: Global doc updateFlorent Monjalet2016-01-183-174/+254
| |
| * MemStruct: allow Type instance in castFlorent Monjalet2016-01-183-16/+19
| |
| * MemStruct: Str typeFlorent Monjalet2016-01-183-67/+86
| |
| * MemStruct: Array/PinnedArray homogeneityFlorent Monjalet2016-01-183-158/+84
| | | | | | | | | | Array access logic has moved to Array, Pinned(Sized)Array just contains the logic to interface with memory
| * MemStruct: No more 'pin' and 'mem_sized_arraytype' functionsFlorent Monjalet2016-01-182-55/+13
| |
| * MemStruct: big refactor in processFlorent Monjalet2016-01-183-348/+407
| | | | | | | | Doc is currently incoherent, impl will also be completed
| * MemStruct: Refactoring in processFlorent Monjalet2016-01-181-0/+86
| |
| * MemStruct: Big refactoring, Mem* -> Pinned*Florent Monjalet2016-01-183-304/+325
| | | | | | | | | | This commit is the first phase of the Type refactor. The PinnedType class has been separated from the more specific PinnedStruct class.
| * MemStruct: MemField -> TypeFlorent Monjalet2016-01-181-31/+32
| |
| * MemStruct: Struct -> RawStructFlorent Monjalet2016-01-182-10/+10
| |
| * MemStruct: MemSelf usage fixFlorent Monjalet2016-01-182-4/+14
| |
| * MemStruct: hash form fixFlorent Monjalet2016-01-181-11/+8
| | | | | | | | (thx @commial)
| * MemStruct: doc + TODO additions + minor fixesFlorent Monjalet2016-01-181-45/+45
| |
| * MemStruct example: fix memset usageFlorent Monjalet2016-01-181-4/+2
| |