mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-26 15:54:59 +00:00
Fix rj
and add tests (#17682)
This commit is contained in:
parent
e33535080d
commit
61a1e15af5
@ -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) {
|
||||
|
@ -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
|
@ -17,6 +17,7 @@ pxj
|
||||
pxqj
|
||||
pxrj
|
||||
pxwj
|
||||
rj
|
||||
sj
|
||||
tej
|
||||
tfj
|
||||
|
Loading…
x
Reference in New Issue
Block a user