Fix rj and add tests (#17682)

This commit is contained in:
Aswin C 2020-09-21 19:47:33 +05:30 committed by GitHub
parent e33535080d
commit 61a1e15af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -1834,7 +1834,7 @@ static int cmd_resize(void *data, const char *input) {
char *s = pj_drain (pj);
r_cons_println (s);
free (s);
break;
return true;
}
case 'h':
if (core->file) {

View File

@ -20,3 +20,11 @@ EXPECT=<<EOF
0x00000000 90 nop
EOF
RUN
NAME=rj-pj
FILE=bins/elf/crackme0x05
CMDS=rj
EXPECT=<<EOF
{"size":7656}
EOF
RUN

View File

@ -17,6 +17,7 @@ pxj
pxqj
pxrj
pxwj
rj
sj
tej
tfj