Skip to main navigation Skip to search Skip to main content

When to Stop Going Down the Rabbit Hole: Taming Context-Sensitivity on the Fly

  • Julian Erhard
  • , Johanna Franziska Schinabeck
  • , Michael Schwarz
  • , Helmut Seidl
  • Technical University of Munich

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Scopus citations

Abstract

Context-sensitive analysis of programs containing recursive procedures may be expensive, in particular, when using expressive domains, rendering the set of possible contexts large or even infinite. Here, we present a general framework for context-sensitivity that allows formalizing not only known approaches such as full context or call strings but also combinations of these. We propose three generic lifters in this framework to bound the number of encountered contexts on the fly. These lifters are implemented within the abstract interpreter Goblint and compared to existing approaches to context-sensitivity on the SV-COMP benchmark suite. On a subset of recursive benchmarks, all proposed lifters manage to reduce the number of stack overflows and timeouts compared to a full context approach, with one of them improving the number of correct verdicts by 31% and showing promising results on the considered SV-COMP categories.

Original languageEnglish
Title of host publicationSOAP 2024 - Proceedings of the 13th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis, Co-located with
Subtitle of host publicationPLDI 2024
PublisherAssociation for Computing Machinery, Inc
Pages35-44
Number of pages10
ISBN (Electronic)9798400706219
DOIs
StatePublished - 20 Jun 2024
Event13th ACM SIGPLAN International Workshop on the State of the Art in Program Analysis, SOAP 2024, co-located with the 45th ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2024 - Copenhagen, Denmark
Duration: 25 Jun 2024 → …

Publication series

NameSOAP 2024 - Proceedings of the 13th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis, Co-located with: PLDI 2024

Conference

Conference13th ACM SIGPLAN International Workshop on the State of the Art in Program Analysis, SOAP 2024, co-located with the 45th ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2024
Country/TerritoryDenmark
CityCopenhagen
Period25/06/24 → …

Keywords

  • abstract interpretation
  • context-sensitive analysis
  • software verification
  • static program analysis

Fingerprint

Dive into the research topics of 'When to Stop Going Down the Rabbit Hole: Taming Context-Sensitivity on the Fly'. Together they form a unique fingerprint.

Cite this