mirror of https://github.com/geohot/qira
fix the qiradb to memcommit loads
This commit is contained in:
parent
47be12c76f
commit
9b8ab29d26
|
@ -30,6 +30,7 @@ WITH_IDA = False
|
|||
try:
|
||||
from r2.r_core import RCore
|
||||
WITH_RADARE = True
|
||||
WITH_STATIC = True
|
||||
except:
|
||||
WITH_RADARE = False
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.1
|
||||
1.2
|
||||
|
|
|
@ -203,6 +203,9 @@ void Trace::process() {
|
|||
}
|
||||
if (type == 'S') {
|
||||
pages_[c->address & PAGE_MASK] |= PAGE_WRITE;
|
||||
}
|
||||
|
||||
// no harm in doing the memory commit every time there's a load, right?
|
||||
int byte_count = (c->flags&SIZE_MASK)/8;
|
||||
uint64_t data = c->data;
|
||||
if (is_big_endian_) {
|
||||
|
@ -218,7 +221,6 @@ void Trace::process() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
RWLOCK_WRUNLOCK(db_lock_);
|
||||
|
||||
// max_clnum_
|
||||
|
|
Loading…
Reference in New Issue