radare2/libr/reg
pancake 822a33377b * Initial working implementation of the r_diff with delta in C
- Uses the mercurial's C algorithm for delta diffing
  - Remove r_diff_lines .. do we need a line-level diffing tool?
  - Remove -l flag from radiff2
* Rename RIo to RIO
* Added r_reg_arena_new () to simplify arena creation
  - Some sanity fixes in r_reg arena.c
* Add -C in rasm2 to output in C string format
* Initial working implementation of r_debug_execute to inject code
  in child process and restore memory and registers
  - Returns %a0 register value in ut64
* Added 'c' command to r_core - to compare -- just dummy
  - Will use r_diff
  - if rdiff callback returns NULL, we must stop scanning
  - old r_diff_buffers_delta is now named buffers_radiff
  - Added test files in diff/t/{file1,file2}
* Added doc/plugins documentation file
* Fix ${EXT_SO} in bin/p and asm/p (dejavu?)
* Added dummy asm_gas r_asm plugin
* Various random syntax fixes
* Rename 'dbg.ptrace' to 'dbg.native'
* Added r_debug_io_bind () to sync dbg and bp io_bind
* r_debug_map_list is now in a nicer format
* Append ${EXT_EXE} in diff/t
* Add missing util/log.c and vapi/r_line.vapi

--HG--
rename : libr/debug/p/debug_ptrace.c => libr/debug/p/debug_native.c
rename : libr/debug/p/ptrace.mk => libr/debug/p/native.mk
2010-02-05 12:21:37 +01:00
..
p * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00
t * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00
arena.c * Initial working implementation of the r_diff with delta in C 2010-02-05 12:21:37 +01:00
Makefile * Added w32dist makefile target to generate a distributable zip 2010-01-15 17:02:04 +01:00
README * Apply whats's patch fixing r_search for stripstr 2009-10-12 17:41:52 +02:00
reg.c * Initial working implementation of the r_diff with delta in C 2010-02-05 12:21:37 +01:00
value.c * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00

** TO BE REMOVED ** THIS MODULE IS PLANED TO DISSAPEAR **

* Library to handle register values for multiple architectures
* Architecture register sets are handled as plugins?
* Designed to be used from radare libr within the modules:
  - r_vm : to properly setup the per-architecture register configuration
  - r_debug : to get/set register values
  - r_core : to display register values in 'd' (debug) command. dr

------------------------------------------------------------------
We will have to split up every arch into a plugin
- define an API to access to registers and get info. about the type of regs.
- we can base this stuff as in r_vm is done

We must merge the r_vm reg stuff here too, its all about static, dynamic
and virtual analysis

-- add methods to transplant all registers from one side to other
 - allows to convert foo

TODO:
  - add support for sign/unsigned registers..or at least a way to cast them
  - add push/pop of register states (maybe we only need 2 levels of states)
    - can be used for diffing registers
    - is also useful to store values before emulating code
    - we can probably implement this in a clone() method? (too heavy? more orgtogonal)