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)

Abstract

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
Volume47
Issue number11
DOIs
Publication statusPublished - 2017 Nov 1

Fingerprint

Static analysis
Syntactics
Costs

Keywords

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

ASJC Scopus subject areas

  • Software

Cite this

Selective conjunction of context-sensitivity and octagon domain toward scalable and precise global static analysis. / Heo, Kihong; Oh, Hakjoo; Yi, Kwangkeun.

In: Software - Practice and Experience, Vol. 47, No. 11, 01.11.2017, p. 1677-1705.

Research output: Contribution to journalArticle

@article{cba49f447075460da74602cd98d787a7,
title = "Selective conjunction of context-sensitivity and octagon domain toward scalable and precise global static analysis",
abstract = "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.",
keywords = "abstract interpretation, context-sensitive analysis, relational analysis, static analysis",
author = "Kihong Heo and Hakjoo Oh and Kwangkeun Yi",
year = "2017",
month = "11",
day = "1",
doi = "10.1002/spe.2493",
language = "English",
volume = "47",
pages = "1677--1705",
journal = "Software - Practice and Experience",
issn = "0038-0644",
publisher = "John Wiley and Sons Ltd",
number = "11",

}

TY - JOUR

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

AU - Heo, Kihong

AU - Oh, Hakjoo

AU - Yi, Kwangkeun

PY - 2017/11/1

Y1 - 2017/11/1

N2 - 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.

AB - 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.

KW - abstract interpretation

KW - context-sensitive analysis

KW - relational analysis

KW - static analysis

UR - http://www.scopus.com/inward/record.url?scp=85014669638&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85014669638&partnerID=8YFLogxK

U2 - 10.1002/spe.2493

DO - 10.1002/spe.2493

M3 - Article

AN - SCOPUS:85014669638

VL - 47

SP - 1677

EP - 1705

JO - Software - Practice and Experience

JF - Software - Practice and Experience

SN - 0038-0644

IS - 11

ER -