Do not invalidate pages when using mapped io on RCore.Anal
This commit is contained in:
parent
5c536f0325
commit
0a6d2f4cdb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue