Hi!
I'm reading/using some parts of the code for learn how it is working and I found that the malloc instrumentation is not working. To fix it, please, replace the line
else if(fp->number > 0 && fp->size > 0 && fp->retaddr == -1) https://github.com/DataChi/memdb/blob/master/pintools/memtracker.cpp#L1329 (here)
for
else if(fp->number > 0 && fp->size >= 0 && fp->retaddr == -1)
Thx!!!!