Closed vanhauser-thc closed 6 years ago
I did some investigating. valgrind-3.13/libvex_ir.h defines is_IRExpr_VECRET_or_GSPTR(), whereas valgrind-3.12/libvex_ir.h defines is_IRExpr_VECRET_or_BBPTR()
So if you're going with valgrind-3.12, try using is_IRExpr_VECRET_or_BBPTR(). See if that works.
thanks a lot!
this seems to work :)
on 3.13 (on a different machine) and 3.12 I hit the same issue afterwards:
valgrind --tool=taintgrind --taint-network=yes -- nc -lnvp 80 Taintgrind: tnt_main.c:3102 (vgTaintgrind_h64_put_t): Assertion 'reg < RI_MAX' failed. but that is from the experimental network taint feature.
however on normal usage it crashes for me as well: valgrind --tool=taintgrind --file-filter='*' -- cat /etc/lsb-release ... Taintgrind: tnt_main.c:3921 (processDescr1): Assertion 'varEnd != NULL' failed.
do you want to me to create extra issues for that?
It'll help me keep track of bugs if you opened new issues for those. Thanks I'm closing this issue then.
I did:
the make of taintgrind fails for me with:
I tried an easy fix and included valgrind/libvex_ir.h in tnt_translate.c - which makes it then compile, but running it always abort with the assert: Taintgrind: tnt_translate.c:351 (assignNew): Assertion 'tyE == ty' failed.
so I am stumped how to get this running ...