Do not invalidate pages when using mapped io on RCore.Anal

This commit is contained in:
pancake 2014-11-25 00:36:27 +01:00
parent 5c536f0325
commit 0a6d2f4cdb
1 changed files with 5 additions and 2 deletions

View File

@ -769,10 +769,13 @@ R_API int r_core_anal_fcn(RCore *core, ut64 at, ut64 from, int reftype, int dept
// this is unnecessary if its contiguous
r_io_read_at (core->io, at+delta, buf, ANALBS);
#endif
if (!core->io->raw) {
if (R_TRUE != r_io_is_valid_offset (core->io, at+delta))
#if 1
if (core->io->va && !core->io->raw) {
if (R_TRUE != r_io_is_valid_offset (core->io, at+delta)) {
goto error;
}
}
#endif
buflen = ANALBS;
if (r_cons_singleton ()->breaked)
break;