Commit Graph

7462 Commits

Author SHA1 Message Date
Alessandro Di Federico 3b0588b75d Add support for PTC debug info 2015-10-27 08:54:04 +01:00
Alessandro Di Federico 256718cac4 Draft support for debug information (original assembly only) 2015-10-27 08:54:04 +01:00
Alessandro Di Federico 4b3a333493 Add support for add2 and sub2 PTC instructions 2015-10-27 08:53:58 +01:00
Alessandro Di Federico 15a2aba050 Introduce JumpTargetManager 2015-10-17 22:47:34 +02:00
Alessandro Di Federico fe6b6f8df9 Introduce explicit program counter handling
* Add support for predefined variables in VariableManager.
* Add the program counter to the architecture descriptor.
2015-10-17 22:44:53 +02:00
Alessandro Di Federico e22268a5ca Introduce handling of branches local to a PTC basic block 2015-10-17 22:44:53 +02:00
Alessandro Di Federico bba0fb78f6 Fix typos, coding style issues and add some documentation 2015-10-17 22:44:53 +02:00
Alessandro Di Federico a97f955a15 Fix bug in handling operands of load and store instructions 2015-10-17 22:44:53 +02:00
Alessandro Di Federico 6579e83bcd Introduce a wrapper to create comparison instructions (CreateICmp) 2015-10-17 22:44:53 +02:00
Alessandro Di Federico 0669fd625c Rename main function to root and change its return type to void 2015-10-17 22:44:52 +02:00
Alessandro Di Federico 8f88625e94 Add metadata with original and PTC instructions to each new instruction
* Convert ptcdump.cpp to use streams and export more fine-grained functions
* Add documentation to ptcdump.h
* Create metadata for the original instruction when a
  PTC_INSTRUCTION_op_debug_insn_start instruction is met.
2015-10-17 22:44:42 +02:00
Alessandro Di Federico 5ee7b1dd8a Initial import 2015-09-26 15:17:32 +02:00