arrow
Return

A scalable learning algorithm for data-driven program analysis

delete2018-12-01
delete5
PRE
AI
S
Sooyoung Cha
S
Sehun Jeong
H
Hakjoo Oh *
DOI:10.1016/j.infsof.2018.07.002delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: Recently data-driven program analysis has emerged as a promising approach for building cost-effective static analyzers. The ideal static analyzer should apply accurate but costly techniques only when they benefit. However, designing such a strategy for real-world programs is highly nontrivial and requires labor-intensive work. The goal of data-driven program analysis is to automate this process by learning the strategy from data through a learning algorithm. Objective: Current learning algorithms for data-driven program analysis are not scalable enough to be used with large codebases. The objective of this paper is to overcome this shortcoming and present a new algorithm that is able to efficiently learn a strategy from large codebases. Method: The key idea is to use an oracle and transform the existing blackbox learning problem into a whitebox one that is much easier to solve. The oracle quantifies the relative importance of each part of the program with respect to the analysis precision. The oracle can be obtained by running the most and least precise analyses only once over the codebase. Results: Our learning algorithm is much faster than the existing algorithms while producing high quality strategies. The evaluation is done with 140 open-source C programs, comprising of 2.1 MLoC in total. Learning at this large scale was previously impractical. Conclusion: Our work advances the state-of-the-art of data-driven program analysis by addressing the scalability issue of the existing learning algorithm. Our technique will make the data-driven approach more practical in the real-world.
Keywords:
Data-driven program analysis
Learning algorithm
EventHealer: Bypassing data races in event-driven programs
err2016-08-01
err2
PREAI
errTchamgoue, Guy Martin; Kim, Kyong Hoon; Jun, Yong-Kee
errShare
errSave
errShare
errSave
errShare
errSave
ChemML: A machine learning and informatics program package for the analysis, mining, and modeling of chemical and materials data
err2020-01-30
err54
errOAAI
errHaghighatlari, Mojtaba; Vishwakarma, Gaurav; Altarawy, Doaa; Subramanian, Ramachandran; Kota, Bhargava U.; Sonpal, Aditya; Setlur, Srirangaraj; Hachmann, Johannes
errShare
errSave

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
9.5K

Organization

K
Korea University
Scholars:
3.0K
Papers: 1.2K
Citations: 2.2W
Cited Papers

Cited Papers

err
IF0
err
err0
errOAAI
err
errShare
errSave
Enrichment Planting in Secondary Forests: a Promising Clean Development Mechanism to Increase Terrestrial Carbon Sinks
err2009-01-01
err0
errOAAI
errAlain Paquette; Jessica Hawryshyn; Alexandra Vyta Senikas; Catherine Potvin
errShare
errSave