Skip to content

Commit

Permalink
Fix #2797
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarofe authored and radare committed Jun 20, 2015
1 parent 1f21a2d commit 80fd03f
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 80fd03f

Please sign in to comment.