panda-re/lava

no taint from scanf

Opened this issue · 2 comments

If the input data is read by fscanf, it seems the data will not be tainted?

moyix commented

That's possible – our taint system only looks at read and pread, and only looks at actual files (no stdin). If fscanf is using some other mechanism, or is reading from stdin, then you will have to add support for that in the file_taint plugin, or modify the target so that it reads from one of the supported sources.

tleek commented