Commit Graph

222 Commits

Author SHA1 Message Date
serpilliere c2febe4d41 Merge pull request #256 from commial/fix-unpackupx
Fix unpackupx
2015-11-09 12:58:45 +01:00
Ajax 5c6b3d0c00 Example/UnpackUPX: PR #256 comments (creds @p-l-, @fmonjalet) 2015-11-09 13:35:23 +01:00
Ajax b960a393c0 Example/ASM: unused import 2015-11-06 17:53:27 +01:00
Ajax 04851eaf6e Example/IDA: unused import 2015-11-06 17:53:27 +01:00
Ajax 2893fbe900 Example/IDA: useless sys path 2015-11-06 17:53:27 +01:00
Ajax 2b74506165 Example/IDA: unused import 2015-11-06 17:53:27 +01:00
Ajax c4cb1e86fc Example/Jitter: unused import 2015-11-06 17:53:27 +01:00
Ajax 8f1602915f Example/Jitter: unused import 2015-11-06 17:53:27 +01:00
Ajax af580c9332 Example/Jitter: unused import 2015-11-06 17:53:27 +01:00
Ajax fe5b12c623 Example/Expr: unused import 2015-11-06 17:53:27 +01:00
Ajax 8cc9de4f95 Example/Expr: reorganize imports 2015-11-06 17:39:51 +01:00
Ajax e77a4a2430 Example/Expr: unused import 2015-11-06 17:39:12 +01:00
Ajax 9491efe21e Example/EXPR: unused import 2015-11-06 17:38:21 +01:00
Ajax 685bbab340 Example/EXPR: unused import DiGraph 2015-11-06 17:37:25 +01:00
Ajax 3494836549 Example/UnpackUPX: call handle_function in GetProcAddress hook (skeleton) 2015-11-06 17:31:44 +01:00
Ajax 20d6189289 Example/UnpackUPX: comment GetProcAddress hook 2015-11-06 17:31:44 +01:00
Ajax f1783d86be Example/UnpackUPX: hint on an alternative solution for PE rebuilding 2015-11-06 17:31:44 +01:00
Ajax c8f6c2ce5a Example/UnpackUPX: entrypoint was fixed twice 2015-11-06 17:31:44 +01:00
Ajax 93ca252a09 Example/UnpackUPX: useless variable 2015-11-06 17:31:44 +01:00
Ajax 4f1f281c79 Example/ASM: remove unused import in simple.py 2015-11-06 17:31:11 +01:00
serpilliere 00daaf5d0d Core/parse_asm: update parse_txt API use 2015-10-29 21:40:20 +01:00
Fabrice Desclaux 1a2e1504a0 Example/ida/utils: fix mips arch 2015-10-29 10:45:03 +01:00
Aymeric Vincent 5dbf046bbe In interactive use, allow C-like prefixes to choose the base of integers
Use Python's int(s, 0) to allow string "s" to specify its base where
addresses and offsets can be supplied.
This change makes the situation homogeneous among the various examples and
interactive usage.
2015-10-27 21:27:27 +01:00
Camille Mougey b812647d9f UnpackUPX: stop execution properly 2015-10-19 17:16:43 +02:00
Fabrice Desclaux c68edde6ff Example/ida: add aarch64 to ida utils 2015-08-09 00:38:39 +02:00
Fabrice Desclaux 1b06efb495 Test/aarch64: add unit test 2015-08-09 00:38:39 +02:00
Fabrice Desclaux 3e168dc130 Add aarch64l md5 sandbox and test 2015-08-09 00:38:39 +02:00
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