Commit graph

736 commits

Author SHA1 Message Date
Duncan Ogilvie
71df018677 Modernize Python project and GitHub Actions for linux/windows/macos 2026-05-31 15:56:18 +02:00
Fabrice Desclaux
d9fb6d58c7 Update setup & tests 2025-01-26 13:17:14 +01:00
serpilliere
243e4f0c54
Merge pull request #1496 from AeonLucid/fix/aarch64_immhi_page
Fix typo in aarch64_immhi_page decode
2024-08-20 17:12:43 +02:00
serpilliere
7ffe28628a
Merge pull request #1502 from W0ni/fix_expression_division
fix expression division
2024-08-20 17:11:44 +02:00
woni
0dfc550534 fix expression division and add test 2024-08-19 20:55:10 +02:00
Alex
1cd118a01b Fixes #1500 2024-08-13 22:43:04 +03:00
AeonLucid
360981951c Add regression test for aarch64_immhi_page 2024-08-10 00:29:57 +02:00
serpilliere
90dc1671b5
Merge pull request #1486 from serpilliere/fix_aarch64_cmp
Fix add/sub aarch64
2024-04-28 15:08:35 +02:00
Fabrice Desclaux
c5d4231ead Fix add/sub aarch64 2024-04-27 14:35:09 +02:00
serpilliere
1ba37c39b1
Merge pull request #1474 from DimitriPapadopoulos/codespell
Fix typos found by codespell
2024-03-28 15:31:07 +01:00
serpilliere
88432b0406
Merge pull request #1457 from W0ni/arm_handle_cf_shifters
[ARM] compute cf for shift/rotate
2024-03-21 18:55:23 +01:00
Dimitri Papadopoulos
46a201ecd6
Fix typos found by codespell 2024-03-18 10:10:24 +01:00
woni
16cc7d3b37 Add MOV and MOVS tests for [AL]SR 2024-03-14 18:20:58 +01:00
Duncan Ogilvie
ad82438c44 Use regex literals for re.* functions 2024-01-06 18:37:17 +01:00
woni
1885f3caa9 Add tests for MOVS and isThumb utility function 2023-09-13 12:39:41 +02:00
woni
71e4e09da6 Fix disassembly bug 2023-09-13 10:34:16 +02:00
serpilliere
49ec4bc9a9
Merge pull request #1448 from cea-sec/generic-unpack
Generic import recovery (cheap ImpRec style)
2023-04-23 21:24:51 +02:00
Camille Mougey
b66becdead Add a sandbox example using the ImpRec strategy 2023-04-23 16:34:34 +02:00
Camille Mougey
41f3c6aca4 Example: add a basic symbol_exec example 2023-04-23 11:45:58 +02:00
Ivan “CLOVIS” Canet
29c63d29d6 Compatibility of our tests with unittest
This commit introduces a compatibility layer to run the Miasm tests using Python's unittest. Due to unittest not knowing how to execute tests in parallel, this is much slower than the current alternative.

Supporting unittest (which is a Python standard) as an addition to our own homegrown runner, even if slower, is useful for integration with other tools thanks to the shared format (eg. see full standard output logs for each test in PyCharm, generate XUnit test reports in CI...).
2022-03-24 12:53:41 +01:00
William Bruneau
35bb4bc0a1 Add test for memory breakpoint example 2022-02-23 16:48:43 +01:00
William Bruneau
321d298a52 Add memory breakpoints in debugger and examples 2022-02-23 08:44:51 +01:00
Fabrice Desclaux
990df9a9fc Fix html; Add reg test 2021-12-06 22:53:58 +01:00
Fabrice Desclaux
c1ac71de04 Add aarch64 strlrxx 2021-10-29 21:09:53 +02:00
Fabrice Desclaux
79775302ea Test expressions interferences 2021-10-13 07:49:32 +02:00
Konstantin Komarov
fcb324e04e
x86_64 Fix multiple REX prefix instruction disasm (#1376)
Fix multiple rex prefixes
2021-07-03 11:04:25 +02:00
Fabrice Desclaux
2a3c5a4f9d Symbols are str instead of bytes 2021-06-08 08:11:01 +02:00
Romain Lesteven
e0abd462ce Replace jitter.run boolean by jitter.running 2021-05-05 11:02:33 +02:00
William Bruneau
87061c1045 Display exception flag on jitter exceptions 2021-02-24 18:30:14 +01:00
Fabrice Desclaux
be9a1aaab3 Fix ADD/SUB; Add CMN 2021-02-14 18:41:05 +01:00
Fabrice Desclaux
a229f4ef22 Fix ircfg_a names 2021-01-19 08:09:12 +01:00
Fabrice Desclaux
6f3a19f40c Add simplification
The simplification added in ce175bb51 may take reduction before
simp_cc_conds. This add simplifications for remaining case.
2020-12-28 20:07:22 +01:00
Fabrice Desclaux
1d95a7feba Rename ir_arch for jitter 2020-12-25 22:23:01 +01:00
Fabrice Desclaux
972cad3a89 Rename examples lifter 2020-12-25 21:37:02 +01:00
Fabrice Desclaux
7d374b97a2 Rename LifterModelCallMep 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
91b1639165 Change example names 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
6f1c8fa5d9 Rename msp430 lifter 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
0175015f93 Rename mep lifter 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
74cf8231d7 Rename ppc32 lifter 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
400853a52f Rename arm lifter 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
18c181785f Rename x86 lifter 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
e6ec952904 Rename ira => LifterModelCall 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
6a9b83cb26 Sembuilder: Remove mem[X] 2020-12-16 10:01:29 +01:00
Fabrice Desclaux
cd241b3f6f Add z3 div reg test 2020-12-03 08:24:31 +01:00
w4kfu
50701bcfe7 [AARCH64] add another test extr 2020-11-19 21:39:50 +01:00
IridiumXOR
a485052e51 Add test units 2020-09-23 14:11:42 +02:00
Fabrice Desclaux
24ce193b8b Update api according to loc_db update 2020-08-31 07:50:01 +02:00
Fabrice Desclaux
6f5cb3bef1 IRBlock take loc_db 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