about summary refs log tree commit diff stats
path: root/miasm2 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename miasm2 to miasmFabrice Desclaux2019-03-05166-81175/+0
|
* Support python2/python3Fabrice Desclaux2019-03-05103-2125/+3110
|
* Merge pull request #984 from commial/feature/remove_bp_by_addrserpilliere2019-02-221-17/+31
|\ | | | | Add a "remove_breakpoints_by_address" capability to jitter
| * CallbackHandler: 'name' -> 'key'Ajax2019-02-221-22/+22
| |
| * Add a "remove_breakpoints_by_address" capability to jitterAjax2019-02-211-0/+14
| |
* | stack2var: move it from simplification loop to final passFabrice Desclaux2019-02-221-8/+13
| | | | | | | | | | | | 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
* | Dataflow: fix mem propagationFabrice Desclaux2019-02-221-4/+3
| |
* | Merge pull request #981 from hax0kartik/patch-1serpilliere2019-02-212-1/+2
|\ \ | | | | | | implement NOP for arm and fix ldrsb
| * | Fix ldrsbKartik2019-02-201-1/+1
| | |
| * | implement NOP for armKartik2019-02-191-0/+1
| | |
* | | X86: makes tsc 64 bit instead of 2 32bits regsFabrice Desclaux2019-02-204-27/+14
| | |
* | | Merge pull request #976 from serpilliere/passes_simplifierCamille Mougey2019-02-193-99/+598
|\ \ \ | |/ / |/| | Passes simplifier
| * | SSA: ensure graph head has no predecessorsFabrice Desclaux2019-02-181-2/+39
| | |
| * | Fix has_call testFabrice Desclaux2019-02-181-21/+3
| | |
| * | SSA: head should not be in loopsFabrice Desclaux2019-02-181-0/+1
| | |
| * | Merge blocks: don't create predecessors for headsFabrice Desclaux2019-02-181-10/+29
| | |
| * | Data flow: propagate phi with identical sourcesFabrice Desclaux2019-02-181-3/+47
| | |
| * | Use AssignblkNodeFabrice Desclaux2019-02-181-24/+25
| | |
| * | IR: add simplifierFabrice Desclaux2019-02-183-24/+444
| | |
| * | SSA: inserted var are not immutableFabrice Desclaux2019-02-181-1/+0
| | |
| * | Propagation: Don't propagate immutable registersFabrice Desclaux2019-02-181-0/+2
| | |
| * | Dataflow: use AssignblkNode in SSADefUseFabrice Desclaux2019-02-181-25/+19
| | |
* | | Implement rev16 for armKartik2019-02-191-0/+1
|/ /
* / Example: update ida apiFabrice Desclaux2019-02-181-1/+0
|/
* Merge pull request #973 from su-vikas/masterserpilliere2019-02-131-2/+2
|\ | | | | Fix for bin_stream_ida after change in shift_offset API
| * changed self.shift to self.base_addressVikas Gupta2019-02-131-2/+2
| |
* | Merge pull request #975 from commial/feature/objc-c-type-cacheserpilliere2019-02-131-7/+22
|\ \ | |/ |/| ObjC C type cache
| * Add a cache for C typesAjax2019-02-131-6/+19
| |
| * CHandler: make struct_expr_types optionalAjax2019-02-131-1/+3
| |
* | Merge pull request #969 from serpilliere/fix_deprecated_apiCamille Mougey2019-02-125-190/+27
|\ \ | | | | | | Fix deprecated api
| * | Symbexec: fix contain useFabrice Desclaux2019-02-121-28/+0
| | |
| * | Remove old api supportFabrice Desclaux2019-02-125-162/+27
| | |
* | | lstrcat fix (#968)Vladislav Hrčka2019-02-121-4/+4
| | | | | | | | | my_lstrcat couldn't process unicode strings before
* | | Add simp cst == X+ cst; X ^cst = cstFabrice Desclaux2019-02-121-22/+37
| | |
* | | Add simplificationsFabrice Desclaux2019-02-123-10/+57
|/ /
* | IR: del unused edges during IR simplificationsFabrice Desclaux2019-02-123-46/+613
| |
* | SSA: fix unused varFabrice Desclaux2019-02-121-1/+0
| |
* | API: replace shift_offset by base_addressFabrice Desclaux2019-02-112-19/+23
| | | | | | | | WARNING: base address is the negative of shift_offset
* | Merge pull request #953 from serpilliere/elf_add_symCamille Mougey2019-02-112-1/+34
|\ \ | | | | | | Elf add sym
| * | Binary: add more elf symbolsFabrice Desclaux2019-02-032-0/+30
| | |
| * | Location: known_offset can be NoneFabrice Desclaux2019-02-031-1/+4
| |/
* | Merge pull request #966 from serpilliere/fix_popfwCamille Mougey2019-02-111-1/+1
|\ \ | | | | | | X86: fix popfw semantic
| * | X86: fix popfw semanticFabrice Desclaux2019-02-081-1/+1
| | |
* | | Merge pull request #965 from serpilliere/fix_z3_cmp_opCamille Mougey2019-02-081-2/+2
|\ \ \ | | | | | | | | Translator/z3: fix tipo in z3 cmp operators
| * | | Translator/z3: fix tipo in z3 cmp operatorsFabrice Desclaux2019-02-081-2/+2
| |/ / | | | | | | | | | | | | | | | As stated in https://github.com/Z3Prover/z3/blob/master/src/api/python/z3/z3.py "Use the operator <= for signed less than or equal to."
* | | Added descriptionVladislav Hrčka2019-02-081-1/+14
| | | | | | | | | Added description according to: https://github.com/cea-sec/miasm/pull/963#issuecomment-461737259. Also added docstring for find_path
* | | Added function find_path_from_srcVladislav Hrčka2019-02-081-0/+22
|/ / | | | | The function find_path_from_src does the same as function find_path, but it searches the paths from src to dst, not vice versa like find_path, which might be more efficient in some cases.
* | Support for REP instruction prefix (#956)Vladislav Hrčka2019-02-072-20/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added function find_path_by_successors The function find_path_by_successors does the same as function find_path, but it searches the paths from src to dst, not vice versa like find_path, which might be more efficient in some cases. * Added support for REP instruction prefix Added support for REP instruction prefix * Added support for REP instruction prefix Added support for REP instruction prefix * Added support for REP prefix According to https://c9x.me/x86/html/file_module_x86_id_279.html 0xF3AD is REP LODSD and not REPE LODSD * Added REP instruction prefix support fix Added REP instruction prefix support fix * Added REP instruction prefix support fix Added REP instruction prefix support and REPNZ, REPZ aliases * Fix of adding REP instruction prefix Fixing https://github.com/cea-sec/miasm/pull/956#discussion_r253361754. I also put https://github.com/nofiv/miasm/edit/master/miasm2/arch/x86/arch.py#diff-f7dd74dede0a04f194dff140d0976b98L739 behind the loop since it seems to be serving similar purpose. * Fix of the added REP intruction prefix Fixing https://github.com/cea-sec/miasm/pull/956#discussion_r253361339 * Discard changes Creating another PR for this * Update arch.py
* | Add ENDBR64 and ENDBR32 instructionsWilliam Bruneau2019-02-052-0/+12
| |
* | bin_stream: check negative offsetFabrice Desclaux2019-02-041-0/+8
|/