Lune

ICSE2023Top-tier venue

Learning to Boost Disjunctive Static Bug-Finders

Yoonseok Ko, Hakjoo Oh

Abstract

We present a new learning-based approach for accel-erating disjunctive static bug-finders. Industrial static bug-finders usually perform disjunctive analysis, differentiating program states along different execution paths of a program. Such path-sensitivity is essential for reducing false positives but it also increases analysis costs exponentially. Therefore, practical bug-finders use a state-selection heuristic to keep track of a small number of beneficial states only. However, designing a good heuristic for real-world programs is challenging; as a result, modern static bug-finders still suffer from low cost/bug-finding efficiency. In this paper, we aim to address this problem by learning effective state-selection heuristics from data. To this end, we present a novel data-driven technique that efficiently collects alarm-triggering traces, learns multiple candidate models, and adaptively chooses the best model tailored for each target program. We evaluate our approach with Infer and show that our technique significantly improves Infer's bug-finding efficiency for a range of open-source C programs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding Industry Perspectives of Static Application Security Testing (SAST) Evaluation cites Incorrectness logic
  • Understanding Industry Perspectives of Static Application Security Testing (SAST) Evaluation cites Learning graph-based heuristics for pointer analysis without handcrafting application-specific features
  • Making pointer analysis more precise by unleashing the power of selective context sensitivity cites Learning graph-based heuristics for pointer analysis without handcrafting application-specific features
  • Efficient Strong Updates For Path Sensitive Data Dependence Analysis cites Finding real bugs in big programs with incorrectness logic
  • Learning graph-based heuristics for pointer analysis without handcrafting application-specific features cites Learning fast and precise numerical analysis
  • Finding real bugs in big programs with incorrectness logic cites Incorrectness logic
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Beware of the Unexpected: Bimodal Taint AnalysisYiu Wai Chow, Max Schäfer, Michael PradelISSTA 2023 · 13 citations
  2. Understanding Industry Perspectives of Static Application Security Testing (SAST) EvaluationYuan Li, Peisen Yao, Kan Yu, Chengpeng Wang et al.FSE 2025 · 1 citation
  3. Efficient Strong Updates For Path Sensitive Data Dependence AnalysisYiyuan Guo, Charles ZhangICSE 2026

Builds on5

  1. Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 citations
  2. Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine et al.OOPSLA 2022 · 52 citations
  3. Making pointer analysis more precise by unleashing the power of selective context sensitivityTian Tan, Yue Li, Xiaoxing Ma, Chang Xu et al.OOPSLA 2021 · 39 citations
  4. Learning graph-based heuristics for pointer analysis without handcrafting application-specific featuresMinseok Jeon, Myungho Lee, Hakjoo OhOOPSLA 2020 · 29 citations
  5. Learning fast and precise numerical analysisJingxuan He, Gagandeep Singh, Markus Püschel, Martin T. VechevPLDI 2020 · 18 citations

Related papers

  1. Combining static analysis error traces with dynamic symbolic execution (experience paper)Frank Busse, Pritam M. Gharat, Cristian Cadar, Alastair F. DonaldsonISSTA 2022 · 11 citations
  2. Statfier: Automated Testing of Static Analyzers via Semantic-Preserving Program TransformationsHuaien Zhang, Yu Pei, Junjie Chen, Shin Hwei TanFSE 2023 · 15 citations
  3. SDFuzz: Target States Driven Directed FuzzingPenghui Li, Wei Meng, Chao ZhangUSENIX Security 2024 · 16 citations
  4. Learning Probabilistic Models for Static Analysis AlarmsHyunsu Kim, Mukund Raghothaman, Kihong HeoICSE 2022 · 13 citations
  5. SAVER: scalable, precise, and safe memory-error repairSeongjoon Hong, Junhee Lee, Jeongsoo Lee, Hakjoo OhICSE 2020 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines