2014-11-20 01:30:37 +01:00

22 lines
395 B
C

/* radare - LGPL - Copyright 2010-2014 pancake<nopcode.org> */
#include <r_debug.h>
enum {
TYPE_FASTCALL,
TYPE_SYSCALL,
// ... TODO
};
R_API ut64 r_debug_arg_get (RDebug *dbg, int type, int num) {
char reg[32];
// TODO
sprintf (reg, "a%d", num);
return r_debug_reg_get (dbg, reg);
}
R_API int r_debug_arg_set (RDebug *dbg, int fast, int num, ut64 value) {
// TODO
return R_FALSE;
}