摘要: Today's operating systems struggle with vulnerabilities from careless handling of user space pointers. User/kernel pointer bugs have serious consequences for security: a malicious could exploit user/kernel bug to gain elevated privileges, read sensitive data, or crash the system. We show how detect using type-qualifier inference, and we apply this method Linux kernel CQUAL, inference tool. extend basic type-inference capabilities CQUAL support context-sensitivity greater precision when analyzing structures so that requires fewer annotations generates false positives. With these enhancements, were able use find 17 exploitable in kernel. Several found missed by careful hand audits, other program analysis tools, both.