mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 23:11:41 +00:00
41ba5c0104
* Implement write register support in debug.ptrace - Added many new commands related to registers to r_core - Allow to set register values - List register types - Display register values by type - Get value (f cureip @ `dr:eip`) - Added continue with signal method to r_debug API - drp : display register profiles - drp [file] : load register profile - Fixes in r_reg, r_io vapi and test program
21 lines
507 B
C
21 lines
507 B
C
#include <stdio.h>
|
|
|
|
static int show_help(int large)
|
|
{
|
|
printf("Usage: ragrep2 [-a x86] [-L] [-xsd str] [-ft addr] [file] [...]\n");
|
|
if (large) printf(
|
|
" -a x86 select architecture for disasm search\n"
|
|
" -L list r_asm plugins\n"
|
|
" -x 908e search a hexpair string\n"
|
|
" -s str search a string\n"
|
|
" -d opcode search an opcode\n"
|
|
" -f 0x102 'from' address\n"
|
|
" -t 0x502 'to' address\n");
|
|
}
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
/* TODO t/ragrep2 not implemented */
|
|
return show_help(1);
|
|
}
|