Publication Details

Applying Custom Patterns in Semantic Equality Analysis

MALÍK Viktor, ŠILLING Petr and VOJNAR Tomáš. Applying Custom Patterns in Semantic Equality Analysis. In: Networked Systems. Lecture Notes in Computer Science, vol. 13464. Cham: Springer Nature Switzerland AG, 2022, pp. 265-282. ISBN 978-3-031-17436-0. Available from: https://link.springer.com/chapter/10.1007/978-3-031-17436-0_18
Czech title
Použití vlastních vzorů změn při analýze sémantické ekvivalence
Type
conference paper
Language
english
Authors
Malík Viktor, Ing. (DITS FIT BUT)
Šilling Petr, Ing. (FIT BUT)
Vojnar Tomáš, prof. Ing., Ph.D. (DITS FIT BUT)
URL
Keywords

static analysis, program analysis, semantic difference, semantic equivalence, semantic change patterns, pattern matching, parametrized control-flow graphs

Abstract

This paper develops a novel approach to using code change patterns in static analysis of semantic equivalence of large-scale software. In particular, we propose a way to define custom code change patterns, describing changes that do change the semantics but in a safe way, and a graph-based algorithm to efficiently detect occurrences of such patterns between two versions of software. The proposed method allows one to reduce the number of false positive results generated by static code-pattern-based analysis of semantic equivalence by specifying which patterns of changes should be considered semantically equivalent. Our experiments with the Linux kernel show that it is possible to eliminate a substantial number of detected differences with just a small number of patterns, while maintaining a very high scalability of the overall analysis. Furthermore, the proposed concept allows for a possible future combination with automatic inference of patterns, which promises significant improvements in the area of static analysis of semantic equivalence.

Published
2022
Pages
265-282
Proceedings
Networked Systems
Series
Lecture Notes in Computer Science
Volume
13464
Conference
International Conference on Networked Systems 2022, Virtual Conference, DE
ISBN
978-3-031-17436-0
Publisher
Springer Nature Switzerland AG
Place
Cham, CH
DOI
UT WoS
000891776100018
EID Scopus
BibTeX
@INPROCEEDINGS{FITPUB12832,
   author = "Viktor Mal\'{i}k and Petr \v{S}illing and Tom\'{a}\v{s} Vojnar",
   title = "Applying Custom Patterns in Semantic Equality Analysis",
   pages = "265--282",
   booktitle = "Networked Systems",
   series = "Lecture Notes in Computer Science",
   volume = 13464,
   year = 2022,
   location = "Cham, CH",
   publisher = "Springer Nature Switzerland AG",
   ISBN = "978-3-031-17436-0",
   doi = "10.1007/978-3-031-17436-0\_18",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/12832"
}
Back to top