mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-21 14:50:49 +00:00

- Used to retrieve cross-platform register names from specified role. (pc, sp, bp, a0, ...) * Fix register roles in arm and enhace a bit more the r_reg_profile parser to handle some weird situations. * Fix all build warnings related to libgdbwrap * Added r_reg_get_name_idx .. this way {get,set}_name get the same parameters.
** 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)