mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
Honor r2 -n
with frida:// targets ##io
This commit is contained in:
parent
b2de2288d8
commit
c887ed57d0
@ -1455,6 +1455,9 @@ R_API int r_main_radare2(int argc, const char **argv) {
|
||||
filepath = mr.file? strstr (mr.file, "://"): NULL;
|
||||
filepath = filepath ? filepath + 3 : mr.pfile;
|
||||
}
|
||||
if (r_str_startswith (mr.pfile, "frida://")) {
|
||||
r_core_cmd0 (r, ".:init");
|
||||
}
|
||||
if (r->io->desc && mr.iod && (mr.iod->fd == r->io->desc->fd) && mr.iod->name) {
|
||||
filepath = mr.iod->name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user