pancake fcbcc00d1e * Huge refactoring on r_syscall
- Integrated with core 'as' command. as? for help
  - Display formatted parametters of syscalls
  - Needs to fully implement this everywhere
  - Syscall argument parsing is not yet complete (<4args)
    - r_debug_arg_{set|get}
* Implement continue until syscall on Linux debugger backend
* Lot of syntax cleanup to use the new code convention
  - Clean r_sign, r_search, r_syscall
* Define global R_SYS_ARCH, _OS and _BITS
  - Handle asm.os and asm.arch to hook r_syscall plugins
  - Display 8 or 16 zeros depending on asm.bits
  - Added r_str_filter () to filter nonprintable chars

--HG--
rename : libr/search/stripstr.c => libr/search/strings.c
2010-03-04 01:46:25 +01:00

16 lines
334 B
C

/* radare - LGPL - Copyright 2010 pancake<nopcode.org> */
#include <r_debug.h>
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;
}