Selective conjunction of context-sensitivity and octagon domain toward scalable and precise global static analysis

Kihong Heo, Hakjoo Oh, Kwangkeun Yi

Research output: Contribution to journalArticle

1 Citation (Scopus)


We present a practical technique for achieving a scalable and precise global static analysis by selectively applying context-sensitivity and the octagon relational domain. For precise analysis, context-sensitivity and relational analysis are key properties, but it has been hard to practically combine both of them. Our approach turns on those precision improvement features only when the analysis is likely to improve the precision to resolve given queries. The guidance comes from an impact pre-analysis that estimates the impact of a fully context-sensitive and relational octagon analysis. We designed a cost-effective pre-analysis and implemented this method in a realistic octagon analysis for full C. The experimental results show that our approach proves eight times more queries, while saving the time cost by 73.1% compared with a partially relational octagon analysis enabled by a syntactic heuristic.

Original languageEnglish
Pages (from-to)1677-1705
Number of pages29
JournalSoftware - Practice and Experience
Issue number11
Publication statusPublished - 2017 Nov 1



  • abstract interpretation
  • context-sensitive analysis
  • relational analysis
  • static analysis

ASJC Scopus subject areas

  • Software

Cite this