The following condition seems to be redundant or maybe plain erroneous (e.g. it was meant to be a >0):
|
if(offset >= 0 && it->second.vi) |
The offset is calculated as a modulo, so it will always be greater than 0:
|
size_t offset = (addr - it->first.base) % it->second.item_size; |
This was actually intercepted by the compiler.
The following condition seems to be redundant or maybe plain erroneous (e.g. it was meant to be a >0):
memdb/pintools/memtracker.cpp
Line 1193 in c9589e0
The offset is calculated as a modulo, so it will always be greater than 0:
memdb/pintools/memtracker.cpp
Line 1191 in c9589e0
This was actually intercepted by the compiler.