Commit graph

80 commits

Author SHA1 Message Date
W0ni
b9798fa396
Fix display format for jitter breakpoint example 2024-02-25 10:49:18 +01:00
Duncan Ogilvie
f2335970fe Remove trailing whitespace 2024-01-06 18:37:15 +01:00
Camille Mougey
b66becdead Add a sandbox example using the ImpRec strategy 2023-04-23 16:34:34 +02: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
Romain Lesteven
e0abd462ce Replace jitter.run boolean by jitter.running 2021-05-05 11:02:33 +02:00
Fabrice Desclaux
80e40a3d2c Avoid generate default locationdb 2020-08-31 07:50:01 +02:00
Camille Mougey
37d0aa69bc Rework the unpack_upx example 2020-04-28 21:11:55 +02:00
Tek
10f7fff085
Implements EXCEPT_SYSCALL (#1163)
* Implements EXCEPT_SYSCALL

* Improves example and remove EXCEPT_PRIV_INSN call from syscall

* fixes exceptions to raise or remove EXCEPTION_SYSCALL with linux x86_64
2020-03-28 13:46:00 +01:00
Fabrice Desclaux
029f197de9 Jitter: add 'run' API 2019-11-25 21:43:06 +01:00
Fabrice Desclaux
4dc802e354 Clear get_str_* API
get_str_ansi decoded strings using utf8 and was blindly used for pure
windows function (LoadLibraryA) and for stdlib functions (printf,
strlen, ...) even if strlen does not use utf8...

New API is:

get_win_str_a/get_win_str_w and set_win_str_a/set_win_str_w for
windows (respectively codepage1252/windows utf16) .Those functions
should only be used in windows strings manipulations, so there are taken
out of the jitter.

get_c_str/set_c_str: as those functions are "classic" in OSes, they are
keeped in the jitter.
2019-11-12 15:10:44 +01:00
Louis
880a1a345a fix int 1 handling 2019-09-30 09:51:35 +02:00
Pierre LALET
f7c7756a3c Fix paths with Python 3 2019-04-09 11:19:57 +02:00
Fabrice Desclaux
d3f33cfcab Jitter: fix msp430 example 2019-03-27 12:30:46 +01:00
Fabrice Desclaux
26c1075723 Rename elfesteem loader 2019-03-05 16:52:51 +01:00
Pierre LALET
d3a42fa5dc Include elfesteem fork in miasm 2019-03-05 16:52:51 +01:00
Fabrice Desclaux
944806c506 Rename miasm2 to miasm 2019-03-05 16:52:51 +01:00
Fabrice Desclaux
02bbb30efe Support python2/python3 2019-03-05 16:52:49 +01:00
Fabrice Desclaux
99abc78b76 Remove old api support 2019-02-12 14:04:35 +01:00
Pierre LALET
814ccf5031 Fix typos & add codespell 2018-12-23 19:26:44 +01:00
Fabrice Desclaux
80744d14e4 Sandbox: change use_seh
Option name change: use-windows-structs instead of use-seh.
2018-10-12 08:15:18 +02:00
Fabrice Desclaux
846d316efa Code cleaning: lgtm.com 2018-09-20 07:44:31 +02:00
Fabrice Desclaux
7816dbf4cd Example: fix upx unpack 2018-08-23 14:08:36 +02:00
Ajax
ab0cf7308e Add an example for LinuxEnvironment & Syscall handling 2018-07-24 13:46:38 +02:00
Ajax
d314460a5a Update symbol_pool's deprecated API -> LocationDB 2018-07-03 14:28:18 +02:00
Ajax
68fac2e86c symbol_pool -> loc_db 2018-07-03 14:28:18 +02:00
Fabrice Desclaux
c6462990df Jitter: add simple trace api 2018-06-21 13:36:34 +02:00
Fabrice Desclaux
cdeff572e8 Example/upx: fix & updt 2018-06-11 23:01:40 +02:00
Fabrice Desclaux
61551fa78e Core: replace AsmLabel by LocKey 2018-06-09 00:33:48 +02:00
Aymeric Vincent
cc2ee2c61d Add support for PowerPC 32bit big-endian processors: "ppc32b" 2018-02-26 11:34:41 +01:00
w4kfu
d147d92892 append b to the opens mode ; Python on Windows makes a distinction between text and binary files 2018-01-16 12:56:14 +01:00
Fabrice Desclaux
4fcd0faa92 Asmblock: rename bloc 2017-07-07 12:43:04 +02:00
Ajax
9c8869368c Remove PYTHONSTARTUP in end-user scripts 2017-04-24 18:16:47 +02:00
Ajax
6d9c56ea70 Let GCC be the default jitter 2017-04-21 17:41:21 +02:00
Ajax
b535f6e26e Introduce Sandbox.call, for direct function calling 2017-04-06 14:26:50 +02:00
Ajax
dc3a57fd1f MD5_arm: run from the very beginning 2017-04-06 13:47:38 +02:00
Ajax
4773ce90e5 Add a tracer example 2017-02-06 18:26:46 +01:00
Aymeric Vincent
28d0696bea use python2 as executable name, give adequate permissions 2017-01-05 16:45:17 +01:00
Fabrice Desclaux
2858e916f3 Tests: add win seh test 2016-08-31 18:34:24 +02:00
Ajax
455cfbe8b7 BasicBlocks: update examples with the new API 2016-01-26 17:09:18 +01:00
Ajax
195ae36b8f Move types -> test_types to avoid namespace collision (creds @fmonjalet) 2016-01-25 13:07:45 +01:00
Florent Monjalet
b421c5059f Types: misleading comment correction in example 2016-01-18 14:05:41 +01:00
Florent Monjalet
36cae74bff Types: Type size is now a property 2016-01-18 14:02:32 +01:00
Florent Monjalet
bd85479c0c MemStruct/Types: example on type manipulations 2016-01-18 14:02:31 +01:00
Florent Monjalet
d87a0f8938 MemStruct/Types: pinned renamed to lval 2016-01-18 14:02:31 +01:00
Florent Monjalet
ba2df16277 MemStruct/Types: Renamed analysis.mem to core.types 2016-01-18 14:02:31 +01:00
Florent Monjalet
b3b0b03b4a MemStruct: Pinned* renamed back to Mem* 2016-01-18 14:02:31 +01:00
Florent Monjalet
31650c36e3 MemStruct: Global doc update 2016-01-18 14:02:31 +01:00
Florent Monjalet
3c8d4335d2 MemStruct: allow Type instance in cast 2016-01-18 14:02:31 +01:00
Florent Monjalet
f21429370a MemStruct: Str type 2016-01-18 14:02:31 +01:00