Hybrid Pruning: Towards Precise Pointer and Taint Analysis
Abstract
Pointer and taint analyses are the building blocks for several other static analysis techniques. Unfortunately, these techniques frequently sacrifice precision in favor of scalability by over-approximating program behaviors. Scaling these analyses to real-world codebases written in memory-unsafe languages while retaining precision under the constraint of practical time and resource budgets is an open problem. In this paper, we present a novel technique called hybrid pruning, where we inject the information collected from a program’s dynamic trace, which is accurate by its very nature, into a static pointer or taint analysis system to enhance its precision. We also tackle the challenge of combining static and dynamic analyses, which operate in two different analysis domains, in order to make the interleaving possible. Finally, we show the usefulness of our approach by reducing the false positives emitted by a static vulnerability detector that consumes the improved points-to and taint information. On our dataset of 12 CGC and 8 real-world applications, our hybrid approach cuts down the warnings up to $$21\%$$ over vanilla static analysis, while reporting 19 out of 20 bugs in total.
BibTeX
@inproceedings{das2022hybrid,
author = {Dipanjan Das and Priyanka Bose and Aravind Machiry and Sebastiano Mariani and Yan Shoshitaishvili and Giovanni Vigna and Christopher Kruegel},
title = {{Hybrid Pruning: Towards Precise Pointer and Taint Analysis}},
booktitle = {DIMVA},
year = {2022},
url = {https://openreview.net/forum?id=Pjx1LbD8gKP},
}Ask Althea to put this paper to the test.
Loading related content...