Implement vdo to use aho from visual ##visual

This commit is contained in:
pancake 2019-02-14 04:19:12 +01:00
parent 0901c48871
commit 3af32f95e4
2 changed files with 5 additions and 3 deletions

View file

@ -3217,6 +3217,7 @@ R_API void r_core_visual_define(RCore *core, const char *args, int distance) {
," h define anal hint"
," m manpage for current call"
," n rename flag used at cursor"
," o opcode string"
," r rename function"
," R find references /r"
," s set string"
@ -3267,12 +3268,13 @@ onemoretime:
edit_bits (core);
break;
case 't':
case 'o':
{
char str[128];
r_cons_show_cursor (true);
r_line_set_prompt ("type: ");
r_line_set_prompt (ch=='t'?"type: ": "opstr: ");
if (r_cons_fgets (str, sizeof (str), 0, NULL) > 0) {
r_core_cmdf (core, "aht %s @ 0x%"PFMT64x, str, off);
r_core_cmdf (core, "ah%c %s @ 0x%"PFMT64x, ch, str, off);
}
}
break;

View file

@ -25,7 +25,7 @@ else
fi
git log ${PREV}..${VERS} > .l
cat .l | grep ^Author | cut -d : -f 2- | sort -u > .A
cat .l | grep ^Author | cut -d : -f 2- | sed -e 's,radare,pancake,' | sort -u > .A
echo "Release Notes"
echo "-------------"