Commit graph

498 commits

Author SHA1 Message Date
serpilliere
1ba37c39b1
Merge pull request #1474 from DimitriPapadopoulos/codespell
Fix typos found by codespell
2024-03-28 15:31:07 +01:00
Dimitri Papadopoulos
46a201ecd6
Fix typos found by codespell 2024-03-18 10:10:24 +01:00
W0ni
862b74a297
Remove misleading comment 2024-03-14 18:58:19 +01:00
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
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
serpilliere
230d528c50
Merge pull request #1447 from cea-sec/helper-depgraph
Depgraph: add `.address_to_location` to help find the line and loc of an address
2023-04-23 21:04:22 +02:00
Camille Mougey
b66becdead Add a sandbox example using the ImpRec strategy 2023-04-23 16:34:34 +02:00
Camille Mougey
d32bf6385d Depgraph: add .address_to_location to help find the line and loc of an address 2023-04-23 12:12:35 +02:00
Camille Mougey
17552f09b9 Example: add support for symbol name in address 2023-04-23 11:56:36 +02:00
Camille Mougey
41f3c6aca4 Example: add a basic symbol_exec example 2023-04-23 11:45:58 +02:00
serpilliere
299fa40894
Merge pull request #1420 from CLOVIS-AI/examples-update
Updates to the examples
2022-03-24 10:52:48 +01:00
Ivan “CLOVIS” Canet
aa86360598 Short explanation of memory interferences 2022-03-21 09:21:51 +01:00
Ivan “CLOVIS” Canet
da78d196c6 Fixed incorrect path in solve_condition_stp 2022-03-21 09:21:51 +01:00
Ivan “CLOVIS” Canet
711752fc45 Fixed output file name in graph_dataflow 2022-03-21 09:21:51 +01:00
Ivan “CLOVIS” Canet
64f55d0c4f Fixed usage for constant_propagation, depgraph & graph_dataflow 2022-03-21 09:21:51 +01:00
Ivan “CLOVIS” Canet
e71c3152d1 Fixed no-op in example/expression/simplification_add
Previously, the test would not do anything, as the simplification added in the test is already a part of the default enabled simplifications:

```
Without adding the simplification:
	a + a + a = a * 0x3
After adding the simplification:
	a + a + a = a * 0x3
```

This also meant that editing the added simplification would have no effect (since the expression was already modified by the default simplifier, it would never match the custom one).

This commit replaces `expr_simp` by a newly-created `simp` that doesn't have any simplifications enabled, so the one added by the test has an impact.
2022-03-15 14:35:13 +01:00
Ivan “CLOVIS” Canet
f15b490908 Fixed documentation in shellcode.py
The first argument to ArgumentParser is the program name, not the description. The previous version displayed invalid usage in the help command:
`usage: Multi-arch (32 bits) assembler [-h] [--PE] [-e ENCRYPT ENCRYPT] architecture source output`

The new version displays the correct usage:
`usage: shellcode.py [-h] [--PE] [-e ENCRYPT ENCRYPT] architecture source output`
2022-03-08 10:38:22 +01:00
serpilliere
b9ecc43cf5
Merge pull request #1417 from WilliamBruneau/mem_bp
Add memory breakpoints in debugger and examples
2022-02-28 17:52:53 +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
William Bruneau
7a169b17d5 Fix ctype_propagation.py example 2022-02-17 15:55:47 +01:00
serpilliere
1a62826bb0
Merge pull request #1399 from 0xeb/idafix
Fixed symbexec example to work for newer IDA (7.6)
2021-12-14 07:52:15 +01:00
Elias Bachaalany
ad79c3927b Fixed symbexec example to work for newer IDA (7.6) 2021-11-29 13:17:24 -08:00
Fabrice Desclaux
79775302ea Test expressions interferences 2021-10-13 07:49:32 +02:00
Vikas Gupta
87ac625381
Updated IDA API call for IDA 7.x
idc.GetReg API call is changed to idc.get_sreg 

https://hex-rays.com/products/ida/support/ida74_idapython_no_bc695_porting_guide.shtml
2021-06-09 11:03:10 +05:30
Romain Lesteven
e0abd462ce Replace jitter.run boolean by jitter.running 2021-05-05 11:02:33 +02:00
serpilliere
75f6a44d39
Merge pull request #1353 from serpilliere/fix_ircfg_name
Fix ircfg_a names
2021-01-21 08:27:04 +01:00
Fabrice Desclaux
a229f4ef22 Fix ircfg_a names 2021-01-19 08:09:12 +01:00
Caroline Leman
f9ecf60dbd Example/loader: add loc_db to Container.from_stream 2021-01-14 10:48:26 +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
52f22525a5 Rename LifterModelCallX86 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
91b1639165 Change example names 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
e6ec952904 Rename ira => LifterModelCall 2020-12-24 17:15:46 +01:00
Fabrice Desclaux
73b6bc5f62 Update ida example (use stack) 2020-12-03 08:25:20 +01:00
Fabrice Desclaux
f6804c42ec Add missing == operator in translators 2020-12-01 09:43:09 +01:00
Fabrice Desclaux
eba583bfb8 Fix ida examples 2020-10-30 14:56:05 +01:00
Fabrice Desclaux
73b9339e58 Use blocks in ircfg instead of ir_arch 2020-10-04 23:16:08 +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
serpilliere
975a527b4f
Merge pull request #1252 from serpilliere/api_dis_callback
Updt dis_block_callback; apply_splitting
2020-06-10 13:47:33 +02:00
serpilliere
030d19ae95
Merge pull request #1185 from nofiv/IDAPython74
Ported IDAPython code to the 7.4 version
2020-06-10 12:14:34 +02:00
Fabrice Desclaux
ae30dd263f Updt dis_block_callback; apply_splitting 2020-06-10 11:27:12 +02:00
Fabrice Desclaux
257d63333e Updt propagation expression algorithm 2020-05-04 00:21:44 +02:00
Camille Mougey
37d0aa69bc Rework the unpack_upx example 2020-04-28 21:11:55 +02:00
nofiv
ce517ae689 IDAPython 7.4 porting 2020-04-16 00:47:24 +02:00
Fabrice Desclaux
2ceadaf75b Fix ida graph_ir 2020-04-15 15:50:04 +02:00