Updated r2 version (#213)

This commit is contained in:
xarkes 2017-09-23 15:37:44 +02:00 committed by GitHub
parent 15bdbef4a0
commit 5b9e6ea661
2 changed files with 5 additions and 2 deletions

@ -1 +1 @@
Subproject commit 55362b409b98a97b0f9ccf1b50b61510bfa80816
Subproject commit fc6cc69e9002a8e3cb84d94413b6736822eaa74e

View File

@ -385,7 +385,10 @@ bool IaitoRCore::tryFile(QString path, bool rw)
return false;
}
bool is_writable = cf->desc->flags & R_IO_WRITE;
bool is_writable = false;
if (cf->core && cf->core->io && cf->core->io->desc) {
is_writable = cf->core->io->desc->flags & R_IO_WRITE;
}
// if rbin works, tell entry0, and symbols (main, constructor, ..)
//r_core_file_close (this->core, cf);