Commit Graph

195 Commits

Author SHA1 Message Date
Fabrice Desclaux 8bab069ce7 Jitter: fix example api 2015-07-16 13:14:52 +02:00
Fabrice Desclaux 60d795119c Example/Disasm/Full: fix follow_call option 2015-06-29 12:52:55 +02:00
Mathieu Geli 2c80b067e0 Treat properly multiple addresses as advertised 2015-06-16 14:27:09 +02:00
Ajax 85e67bc06a TestAll: Update disasm 'file.py' example address 2015-05-27 11:02:57 +02:00
Ajax 039c2ca9d9 GraphDataflow: A function where never executed / tested 2015-04-30 19:12:43 +02:00
Ajax 7c4b58d2fb GraphDataflow: Refactor, PyLinting 2015-04-30 19:12:36 +02:00
Ajax b853add3ef GraphDataflow: update API 2015-04-30 19:12:25 +02:00
Ajax 73d3f77088 Example: Add an example "rename-args" argument for depgraph 2015-04-28 09:08:42 +02:00
Ajax 2a9ef019bc DepGraph: Introduce implicit result management, with constraint solving API 2015-04-28 08:21:52 +02:00
Ajax c090bf5343 ExampleIDA: Add 'Implicit' option for depgraph 2015-04-24 08:11:37 +02:00
Ajax 8ed048f3bd Depgraph: Add a new example depgraph calling DepGraph with options 2015-04-24 08:11:37 +02:00
serpilliere 49343533ce Test: add regression test for automod code 2015-04-22 11:31:28 +02:00
Fabrice Desclaux 53d82c13f7 Cpu: modify instructions' offset relative encoding
The assembler will automatically use instruction len in offset computation

In the following instruction:
0x10: EB 02   JMP 0x14

If we assemble this instruction, the requested instruction send to the assembler
engine will be:
JMP +0x4

And will be encoded to:
EB 02

Previously, the assembly of:
JMP +0x4
was:
EB 04
2015-04-01 23:47:37 +02:00
Fabrice Desclaux 89680eb28d Asmbloc: updt api 2015-04-01 23:47:37 +02:00
Fabrice Desclaux b148652ebd Parse_asm: generate asm_label on symbol parsing
For an unknown symbol, instead of generating ExprId('toto'), it will generate
ExprId(asm_label('toto')). As label is generated in the architecture, this label
must be catched in the parse_asm module to be inserted in the current
symbol_pool.
2015-04-01 23:47:37 +02:00
Fabrice Desclaux f9c49e92da Clean: remove unecessary ast_parser modification 2015-04-01 23:47:37 +02:00
Fabrice Desclaux 22777cc19e Asmbloc: updt asmbloc api 2015-04-01 23:47:37 +02:00
serpilliere af01125f2c Example: add NoCallNoMem in ida/depgraph 2015-03-23 14:06:51 +01:00
Fabrice Desclaux 9ee9492606 Samples: smaller box_upx example 2015-03-20 12:24:17 +01:00
Ajax b9dcf09ba8 DisasmFull: The architecture is now an optionnal argument, otherwise cont.arch is used 2015-03-19 10:39:01 +01:00
Ajax 1edede4133 Disasm/Full: args.address can be empty, otherwise default_addr code is never reached 2015-03-19 10:37:56 +01:00
Ajax 22df70de9f Example/IDA: Replace /tmp/ by tempfile.gettempdir (credits Joel Eriksson) 2015-03-05 16:31:26 +01:00
Camille Mougey 69181d034b Example/Disasm/Full: Compute IR with & without analysis on -g 2015-02-24 12:50:33 +01:00
serpilliere dd2da246f6 Expression: remove code which uses expression modifications 2015-02-22 01:48:27 +01:00
Camille Mougey d1a564fa53 Example/IDA: add a script to highlight depnodes through IDA 2015-02-20 19:37:19 +01:00
Pierre LALET 0b327606f4 example unpack_upx: use argument lists in .func_args_*() 2015-02-17 18:46:10 +01:00
Fabrice Desclaux c6e2187052 Sandbox: add x86_64 bit example 2015-02-13 13:33:12 +01:00
Camille Mougey 62a092e430 Example/IDA: Reorganize imports 2015-02-11 10:00:18 +01:00
serpilliere 3884615ff5 Merge pull request #52 from commial/ida-symbol_exec
Ida symbol exec
2015-02-10 11:17:41 +01:00
Fabrice Desclaux 280ab8eb52 Tests: add x86_32 pop esp regression test 2015-02-10 10:28:28 +01:00
Camille Mougey 33189681bf VariableIdentifier: Less hacky way to identify sub vars, add a prefix feature 2015-02-10 09:57:50 +01:00
Camille Mougey 11abe47d5b Example/IDA: Move translatorForm to utils 2015-02-09 21:18:42 +01:00
Camille Mougey d876fd8be6 IDA/Example: Offer all available translators instead of Miasm 2015-02-09 21:09:06 +01:00
Camille Mougey 21e61fb531 Example/IDA: Add the translation in Miasm for symbolc_exec 2015-02-09 17:58:23 +01:00
Camille Mougey 139b4f7002 Example/IDA: Add a new example showing symbolic exec with var expansion 2015-02-09 17:17:12 +01:00
Camille Mougey 704af54e55 Examples/IDA: Export common IDA methods to a file utils 2015-02-09 17:17:12 +01:00
Camille Mougey 441c3eb7ef Core/ASMBloc: resolve_symbol now returns only the resolved blocs 2015-01-26 11:08:50 +01:00
Camille Mougey 7b9bbe4754 Example/ASM: Add a minimalist example 2015-01-26 09:53:30 +01:00
Camille Mougey d9eb63d9c4 Example/Expression: Set the seed for ExprRandom uses 2015-01-23 17:24:43 +01:00
Camille Mougey 29a65d37ba Example/ASM: Test the second ARM (arm_sc.S) example 2015-01-23 17:24:43 +01:00
Camille Mougey a5f035142c Example/ASM: Test the x86_64 example 2015-01-23 17:24:43 +01:00
Camille Mougey 8b90474029 Example/ASM: Avoid duplicating code by using a common script shellcode.py 2015-01-23 17:24:43 +01:00
Camille Mougey 7ce340c2e6 Example/ASM: Extract asm sources to sample dir 2015-01-23 17:24:43 +01:00
Camille Mougey 9206458e0f Example: Move disasm's examples to a disasm directory 2015-01-23 17:24:43 +01:00
Camille Mougey 663b49b712 Example: Move asm's examples to a asm directory 2015-01-23 17:24:43 +01:00
Camille Mougey 488cb99d4d Example: Move jitter's examples to a jitter directory 2015-01-23 17:24:43 +01:00
Camille Mougey 42d91afa74 Example: Move expression samples to sample directory 2015-01-23 17:24:43 +01:00
Camille Mougey d460646178 Example: Rename symbol_exec to single_instr in a specific symbol_exec directory 2015-01-23 17:24:42 +01:00
Camille Mougey 2694784814 Example: Rename Test Dis to Disasm Full 2015-01-23 17:24:42 +01:00
Camille Mougey dfc2f102e8 Example/Test_Dis: OptParse to ArgParse 2015-01-23 17:24:42 +01:00