Commit Graph

33 Commits

Author SHA1 Message Date
Fabrice Desclaux 149c404539 Asmblock: fix dis_block_callback 2018-02-02 17:20:56 +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 e33bffdca0 Asmblock: remove disasm engine job_done attribute
WARNING: disasmEngine behaviour modification

Before patch: job_done containted the already disassembled addresses. If the
user disassembled twice the same addresse, the engine will return empty
object on the second call.

After patch: If the user disassemble twice the same addresse, the engine will
return result of the disassembling in both cases.
2017-07-27 21:17:54 +02:00
Fabrice Desclaux 4fcd0faa92 Asmblock: rename bloc 2017-07-07 12:43:04 +02:00
Fabrice Desclaux 7c98de47f7 IR: rename add_bloc 2017-07-07 12:33:47 +02:00
Fabrice Desclaux e5e1305c0c Example: fix simplify argument 2017-05-07 16:57:57 +02:00
Ajax 9c8869368c Remove PYTHONSTARTUP in end-user scripts 2017-04-24 18:16:47 +02:00
Fabrice Desclaux 102ad42976 Example: add irblock simplification example 2017-04-21 11:05:06 +02:00
Caroline Leman 5d10f696e0 analysis: Introduction of use-definition chains
- previous dead_simp function has been moved to data_flow.py
- ira class has been simplified
- reach analysis code has been 'clarified'
2017-03-29 12:33:05 +02:00
Fabrice Desclaux df82c4cd96 Example/full: fix tipo 2017-03-27 21:29:29 +02:00
Fabrice Desclaux 1b3fcbdda8 Core/asmbloc: move asmbloc to asmblock 2017-03-13 15:07:28 +01:00
Fabrice Desclaux 8651b88eda Asmbloc: rename asm_constraint to AsmConstraint 2017-03-13 14:13:14 +01:00
Fabrice Desclaux d0727aa74b Asmbloc: rename asm_label to AsmLabel 2017-03-13 14:13:14 +01:00
Fabrice Desclaux 287cb1bb18 All: rename vars bloc -> block 2017-03-13 14:13:13 +01:00
Fabrice Desclaux c3940991f2 IR: rename blocs to blocks 2017-03-13 14:13:09 +01:00
Fabrice Desclaux c1a9a801dc Example: add raw disasm to full.py 2017-01-12 12:54:06 +01:00
Ajax 1d9924a4f7 Introduce Container.symbol_pool, containing container symbols (if any) 2016-03-21 16:28:23 +01:00
Fabrice Desclaux 1cb9cbcc2d Graph: generic html dot code 2016-01-30 21:10:01 +01:00
Ajax d6222c4383 Rename BasicBlocks -> AsmCFG, more comprehensible, include "graph" 2016-01-26 17:15:22 +01:00
Ajax 455cfbe8b7 BasicBlocks: update examples with the new API 2016-01-26 17:09:18 +01:00
Ajax 308a634b7c IR: replace .g with a lazy built .graph, avoiding the need of gen_graph 2015-12-07 11:15:43 +01:00
Camille Mougey 126e77becb Example/Disasm: update full.py to produce both IR and IRA graphes 2015-12-07 11:10:53 +01:00
Ajax b4114c3e78 Example: move output .txt to .dot 2015-11-09 15:01:12 +01:00
Ajax 26ec3c0b27 Example/Disasm/Callback: comment and update with new API 2015-11-09 14:34:15 +01:00
Ajax 1ae7dfe413 Disasm/x86: move pushpop callback to an example callback.py 2015-11-09 14:20:36 +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
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 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
Camille Mougey 69181d034b Example/Disasm/Full: Compute IR with & without analysis on -g 2015-02-24 12:50:33 +01:00
Camille Mougey 9206458e0f Example: Move disasm's examples to a disasm directory 2015-01-23 17:24:43 +01:00