Abstract
In numerical static analysis, the technique of widening thresholds is essential for improving the analysis precision, but blind uses of the technique often significantly slow down the analysis. Ideally, an analysis should apply the technique only when it benefits, by carefully choosing thresholds that contribute to the final precision. However, finding the proper widening thresholds is nontrivial and existing syntactic heuristics often produce suboptimal results. In this paper, we present a method that automatically learns a good strategy for choosing widening thresholds from a given codebase. A notable feature of our method is that a good strategy can be learned with analyzing each program in the codebase only once, which allows to use a large codebase as training data. We evaluated our technique with a static analyzer for full C and 100 open-source benchmarks. The experimental results show that the learned widening strategy is highly cost-effective; it achieves 84% of the full precision while increasing the baseline analysis cost only by 1.4×. Our learning algorithm is able to achieve this performance 26 times faster than the previous Bayesian optimization approach.
Original language | English |
---|---|
Title of host publication | Programming Languages and Systems - 14th Asian Symposium, APLAS 2016, Proceedings |
Editors | Atsushi Igarashi |
Publisher | Springer Verlag |
Pages | 25-41 |
Number of pages | 17 |
ISBN (Print) | 9783319479576 |
DOIs | |
Publication status | Published - 2016 |
Event | 14th Asian Symposium on Programming Languages and Systems, APLAS 2016 - Hanoi, Viet Nam Duration: 2016 Nov 21 → 2016 Nov 23 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 10017 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 14th Asian Symposium on Programming Languages and Systems, APLAS 2016 |
---|---|
Country/Territory | Viet Nam |
City | Hanoi |
Period | 16/11/21 → 16/11/23 |
Bibliographical note
Funding Information:This work was supported by the Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIP) (No. R0190-15-2011, Development of Vulnerability Discovery Technologies for IoT Software Security); the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Science, ICT & Future Planning (NRF-2016R1C1B2014062); and the MSIP (Ministry of Science, ICT and Future Planning), Korea, under the ITRC (Information Technology Research Center) support program (IITP-2016-H85011610120001002) supervised by the IITP (Institute for Information & communications Technology Promotion).
Publisher Copyright:
© Springer International Publishing AG 2016.
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science