radare2/libr/include/r_reg.h
pancake 4fcf226269 * Lot of random work on multiple fronts
* 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
2009-02-17 00:09:40 +01:00

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