Skip to content

Commit

Permalink
Updated r2 version (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
xarkes committed Sep 23, 2017
1 parent 15bdbef commit 5b9e6ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion radare2
5 changes: 4 additions & 1 deletion src/qrcore.cpp
Expand Up @@ -385,7 +385,10 @@ bool IaitoRCore::tryFile(QString path, bool rw)
return false; 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, ..) // if rbin works, tell entry0, and symbols (main, constructor, ..)


//r_core_file_close (this->core, cf); //r_core_file_close (this->core, cf);
Expand Down

0 comments on commit 5b9e6ea

Please sign in to comment.