Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation 2019
DOI: 10.1145/3314221.3314610
|View full text |Cite
|
Sign up to set email alerts
|

Computing summaries of string loops in C for better testing and refactoring

Abstract: Analysing and comprehending C programs that use strings is hard: Using standard library functions for manipulating strings is not enforced and programs often use complex loops for the same purpose. We introduce the notion of memoryless loops that capture some of these string loops and present a counterexample-guided inductive synthesis approach to summarise memoryless string loops using C standard library functions, which has applications to testing, optimization and refactoring.We prove our summarization is c… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 8 publications
(1 citation statement)
references
References 52 publications
0
1
0
Order By: Relevance
“…Several existing techniques synthesize memorymanipulating transformations. Kapus et al [43] use symbolic execution to synthesize refactorings for string manipulating loops, but focus only on memoryless loops that do not carry information across iterations. TRIDENT's techniques might support more complex refactoring involving non-memoryless loops.…”
Section: Automated Program Repairmentioning
confidence: 99%
“…Several existing techniques synthesize memorymanipulating transformations. Kapus et al [43] use symbolic execution to synthesize refactorings for string manipulating loops, but focus only on memoryless loops that do not carry information across iterations. TRIDENT's techniques might support more complex refactoring involving non-memoryless loops.…”
Section: Automated Program Repairmentioning
confidence: 99%