Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarofe committed Jun 20, 2015
1 parent 5af8a0e commit 8fbccdb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libr/core/cmd_flag.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ static int cmd_flag(void *data, const char *input) {
break;
case 'R':
{
if (*str == '\0'){
eprintf ("Usage: fR [from] [to] ([mask])\n");
eprintf ("Example to relocate PIE flags on debugger:\n"
" > fR entry0 `dm~:1[1]`\n");
break;
}
char *p = strchr (str+1, ' ');
ut64 from, to, mask = 0xffff;
int ret;
Expand Down

0 comments on commit 8fbccdb

Please sign in to comment.