Whole-system Fine-grained Taint Analysis for Automatic Malware Detection and Analysis