mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-08 14:20:19 +00:00
4fcf226269
* Add 'var' in build liblist and 'vapi/t' for make clean * Add ^C handler for r_cons. support for callbacks * Add support for ./m ELF for example to interpret the output of commands * Fix a bug in the regexp algorithm that can get into infinite loop * Binmask can now contain non hexpair values * Add '/m' search regexp matches using the new R_SEARCH_REGEXP algorithm - Handle ^C in search loop..needs to use callback method * Properly cleanup the flag names * Added asm.bits and asm.os eval vars * Added some random tips for debug in README - Stupid snippets for import/export data between modules - Register support requires a rethink * Initial work on the integration of r_io_undo() api
28 lines
378 B
C
28 lines
378 B
C
#ifndef _INCLUDE_R_REG_H_
|
|
#define _INCLUDE_R_REG_H_
|
|
|
|
#include <r_types.h>
|
|
#include <r_asm.h>
|
|
|
|
enum {
|
|
R_REG_X86_EAX,
|
|
R_REG_X86_AX,
|
|
R_REG_X86_AL,
|
|
R_REG_X86_AH,
|
|
R_REG_X86_EBX,
|
|
R_REG_X86_ECX,
|
|
R_REG_X86_EDX,
|
|
R_REG_X86_EBP,
|
|
R_REG_X86_ESP,
|
|
R_REG_X86_EIP,
|
|
};
|
|
|
|
struct r_reg_t {
|
|
int nregs;
|
|
char **regs;
|
|
};
|
|
|
|
int r_reg_set_arch(struct r_reg_t *reg, int arch, int bits);
|
|
|
|
#endif
|