mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
c307258ebb
- Use it in visual debug mode
22 lines
389 B
C
22 lines
389 B
C
/* radare - LGPL - Copyright 2010 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[8];
|
|
// 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;
|
|
}
|