about summary refs log tree commit diff stats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename BasicBlocks -> AsmCFG, more comprehensible, include "graph"Ajax2016-01-261-4/+4
|
* BasicBlocks.pendings can be a set (creds @serpilliere)Ajax2016-01-261-1/+1
|
* Introduce tests for miasm2.core.asmblocAjax2016-01-262-0/+285
|
* Graph; introduce copy and mergeAjax2016-01-251-0/+15
|
* Graph: two graphs are equals if they have the same nodes and edgesAjax2016-01-251-0/+10
|
* Move types -> test_types to avoid namespace collision (creds @fmonjalet)Ajax2016-01-252-2/+2
|
* Types: typo, MemStruct.get_offset should be a classmethodFlorent Monjalet2016-01-181-0/+11
| | | | Also added tests and MemArray.get_offset
* Types: Support anonymous Struct/Union/BitFieldFlorent Monjalet2016-01-181-0/+27
| | | | | | | | | | | | | | | | | | 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-181-2/+3
| | | | | 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-181-5/+5
|
* MemStruct/Types: pinned renamed to lvalFlorent Monjalet2016-01-181-22/+22
|
* MemStruct/Types: Renamed analysis.mem to core.typesFlorent Monjalet2016-01-182-7/+8
|
* MemStruct: Pinned* renamed back to Mem*Florent Monjalet2016-01-181-30/+30
|
* MemStruct: Global doc updateFlorent Monjalet2016-01-181-1/+3
|
* MemStruct: allow Type instance in castFlorent Monjalet2016-01-181-2/+1
|
* MemStruct: Str typeFlorent Monjalet2016-01-181-17/+17
|
* MemStruct: Array/PinnedArray homogeneityFlorent Monjalet2016-01-181-22/+10
| | | | | 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-181-5/+5
|
* MemStruct: big refactor in processFlorent Monjalet2016-01-181-112/+134
| | | | Doc is currently incoherent, impl will also be completed
* MemStruct: Big refactoring, Mem* -> Pinned*Florent Monjalet2016-01-181-56/+56
| | | | | This commit is the first phase of the Type refactor. The PinnedType class has been separated from the more specific PinnedStruct class.
* MemStruct: Struct -> RawStructFlorent Monjalet2016-01-181-7/+7
|
* MemStruct: MemSelf usage fixFlorent Monjalet2016-01-181-3/+5
|
* MemStruct: dyn types (returned by mem*()) are now cachedFlorent Monjalet2016-01-181-3/+13
|
* MemStruct: MemField equalityFlorent Monjalet2016-01-181-1/+37
|
* MemStruct: module and MemFields documentationFlorent Monjalet2016-01-181-2/+2
| | | | + minor fixes/refactors
* MemStruct: minor fixes + toy example scriptFlorent Monjalet2016-01-181-4/+3
|
* MemStruct: auto-allocation featureFlorent Monjalet2016-01-181-67/+75
| | | | | | | | | | | | MemStruct can be automatically allocated if a None addr is passed to the constructor and mem.allocator has been set to an allocation function. miasm2.os_dep.common.heap API has been extended to directly support a VmMngr as an argument. NOTE: heap.alloc and heap.vm_alloc could be merged, but allowing the first argument to be either a jitter or a vm is misleading, and changing the old API would have broken some code.
* Introducing MemStruct feature in miasm2.analysis.memFlorent Monjalet2016-01-182-0/+442
|
* Merge pull request #298 from mrphrazer/smt2_translatorserpilliere2016-01-122-0/+42
|\ | | | | SMT2 translator
| * smt2_translator: fixed regression test insertion, creds @serpilliere and ↵Tim Blazytko2016-01-121-1/+3
| | | | | | | | @commial
| * smt2_translator: added regression testsTim Blazytko2016-01-052-1/+41
| |
* | Test: add x86 reg testFabrice Desclaux2016-01-063-0/+32
| |
* | X86: add andnp[sd]Fabrice Desclaux2016-01-061-0/+5
| |
* | X86: add pshufdFabrice Desclaux2016-01-061-0/+2
| |
* | X86: add sse sqrtFabrice Desclaux2016-01-061-0/+10
| |
* | X86: add mov[hl]p[ds]Fabrice Desclaux2016-01-061-0/+27
| |
* | X86: add unpck[hl]p[sd]Fabrice Desclaux2016-01-061-0/+11
| |
* | Test: add x86 reg testFabrice Desclaux2015-12-242-0/+26
| |
* | X86: add pextrFabrice Desclaux2015-12-241-0/+26
| |
* | Test: add x86 reg testFabrice Desclaux2015-12-242-0/+26
| |
* | X86: add pinsrFabrice Desclaux2015-12-241-0/+44
| |
* | Test: add x86 reg testFabrice Desclaux2015-12-241-1/+62
| |
* | X86: add punpcklFabrice Desclaux2015-12-241-1/+19
| |
* | Test: add x86 reg testFabrice Desclaux2015-12-242-0/+64
| |
* | X86: add punpckFabrice Desclaux2015-12-241-0/+20
| |
* | Test: add x86 reg testFabrice Desclaux2015-12-242-0/+65
| |
* | X86: add pcmpeqFabrice Desclaux2015-12-241-0/+16
| |
* | Test: add x86 reg testFabrice Desclaux2015-12-242-0/+26
| |
* | X86: add pminuFabrice Desclaux2015-12-241-0/+12
| |