about summary refs log tree commit diff stats
path: root/test/expression/modint.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-26Rename BasicBlocks -> AsmCFG, more comprehensible, include "graph"Ajax4-26/+26
2016-01-26BasicBlocks.pendings can be a set (creds @serpilliere)Ajax2-6/+6
2016-01-26Introduce tests for miasm2.core.asmblocAjax2-0/+285
2016-01-26AsmBloc: rewrite split_bloc into BasicBlocks.apply_splittingAjax1-43/+58
2016-01-26AsmBloc: rewrite block_merge using graph simplificationAjax1-171/+46
2016-01-26Graph: introduce GraphSimplifier, counterpart of ExpressionSimplifierAjax1-0/+34
for Graph
2016-01-26BasicBlocks: update examples with the new APIAjax8-28/+18
2016-01-26AsmBloc: introduce BasicBlocks, standing for a CFG with associated methodsAjax2-150/+344
2016-01-25Graph: add_node return the previous statusAjax1-1/+6
2016-01-25Graph; introduce copy and mergeAjax2-0/+34
2016-01-25Graph: two graphs are equals if they have the same nodes and edgesAjax2-0/+17
2016-01-25Move types -> test_types to avoid namespace collision (creds @fmonjalet)Ajax3-2/+2
2016-01-21Asmbloc: fix get_range (creds: @commial)Fabrice Desclaux1-2/+4
2016-01-21Asmbloc: Fix asmbloc label (creds @commial)Fabrice Desclaux2-2/+3
2016-01-18Types: misleading comment correction in exampleFlorent Monjalet1-1/+1
2016-01-18Types: Void type reprFlorent Monjalet2-1/+3
2016-01-18Types: typo, MemStruct.get_offset should be a classmethodFlorent Monjalet2-2/+19
Also added tests and MemArray.get_offset
2016-01-18Types: MemStruct.get_offset() shorthand for @serpiFlorent Monjalet1-0/+4
2016-01-18Types: Support anonymous Struct/Union/BitFieldFlorent Monjalet2-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; }; }; }
2016-01-18Types: adding the ("field", SomeMemType) syntaxFlorent Monjalet2-7/+21
Shorthand for ("field", SomeMemStruct.get_type()) in a Struct or MemStruct fields definition.
2016-01-18Types: short test to assert MemStruct unicityFlorent Monjalet1-0/+4
2016-01-18Types: Type size is now a propertyFlorent Monjalet3-20/+27
2016-01-18Types: Str encoding now generic to all str python supported encodingsFlorent Monjalet1-64/+134
2016-01-18Types: zip -> itertools.izipFlorent Monjalet1-2/+3
2016-01-18MemStruct/Types: ALLOCATOR becomes a MemType class attributeFlorent Monjalet1-17/+24
2016-01-18MemStruct: little MemType doc additionFlorent Monjalet1-1/+1
2016-01-18MemStruct/Types: example on type manipulationsFlorent Monjalet1-1/+23
2016-01-18MemStruct/Types: Array idx fix + MemStr.from_str featureFlorent Monjalet1-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.
2016-01-18MemStruct/Types: pinned renamed to lvalFlorent Monjalet3-46/+79
2016-01-18MemStruct/Types: Renamed analysis.mem to core.typesFlorent Monjalet4-13/+14
2016-01-18MemStruct: Pinned* renamed back to Mem*Florent Monjalet3-166/+166
2016-01-18MemStruct: Global doc updateFlorent Monjalet3-174/+254
2016-01-18MemStruct: allow Type instance in castFlorent Monjalet3-16/+19
2016-01-18MemStruct: Str typeFlorent Monjalet3-67/+86
2016-01-18MemStruct: Array/PinnedArray homogeneityFlorent Monjalet3-158/+84
Array access logic has moved to Array, Pinned(Sized)Array just contains the logic to interface with memory
2016-01-18MemStruct: No more 'pin' and 'mem_sized_arraytype' functionsFlorent Monjalet2-55/+13
2016-01-18MemStruct: big refactor in processFlorent Monjalet3-348/+407
Doc is currently incoherent, impl will also be completed
2016-01-18MemStruct: Refactoring in processFlorent Monjalet1-0/+86
2016-01-18MemStruct: Big refactoring, Mem* -> Pinned*Florent Monjalet3-304/+325
This commit is the first phase of the Type refactor. The PinnedType class has been separated from the more specific PinnedStruct class.
2016-01-18MemStruct: MemField -> TypeFlorent Monjalet1-31/+32
2016-01-18MemStruct: Struct -> RawStructFlorent Monjalet2-10/+10
2016-01-18MemStruct: MemSelf usage fixFlorent Monjalet2-4/+14
2016-01-18MemStruct: hash form fixFlorent Monjalet1-11/+8
(thx @commial)
2016-01-18MemStruct: doc + TODO additions + minor fixesFlorent Monjalet1-45/+45
2016-01-18MemStruct example: fix memset usageFlorent Monjalet1-4/+2
2016-01-18Heap: adding page permissions optionFlorent Monjalet1-4/+7
2016-01-18MemStruct: fix example to use Ptr to MemSizedArray rather that ArrayFlorent Monjalet1-3/+3
2016-01-18MemStruct: Fix MemStruct __eq__Florent Monjalet2-6/+9
2016-01-18MemStruct: dyn types (returned by mem*()) are now cachedFlorent Monjalet2-26/+53
2016-01-18MemStruct: all MemField __hash__Florent Monjalet1-0/+25