SLING: using dynamic analysis to infer program invariants in separation logic
SLING: using dynamic analysis to infer program invariants in separation logic
复制标题
SLING:使用动态分析来推断分离逻辑中的程序不变量
DOI:
10.1145/3314221.3314634
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Thanhvu Nguyen
中科院分区:
文献类型:
--
作者:
T. Le;Guolong Zheng;Thanhvu Nguyen
We introduce a new dynamic analysis technique to discover invariants in separation logic for heap-manipulating programs. First, we use a debugger to obtain rich program execution traces at locations of interest on sample inputs. These traces consist of heap and stack information of variables that point to dynamically allocated data structures. Next, we iteratively analyze separate memory regions related to each pointer variable and search for a formula over predefined heap predicates in separation logic to model these regions. Finally, we combine the computed formulae into an invariant that describes the shape of explored memory regions. We present SLING, a tool that implements these ideas to automatically generate invariants in separation logic at arbitrary locations in C programs, e.g., program pre and postconditions and loop invariants. Preliminary results on existing benchmarks show that SLING can efficiently generate correct and useful invariants for programs that manipulate a wide variety of complex data structures.
DOI:
10.1145/2837614.2837621
发表时间:
2016-01
期刊:
Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
J. Brotherston;Nikos Gorogiannis;M. Kanovich;R. Rowe
通讯作者:
J. Brotherston;Nikos Gorogiannis;M. Kanovich;R. Rowe
DOI:
10.1016/j.scico.2010.07.004
发表时间:
2012-08
期刊:
Sci. Comput. Program.
影响因子:
--
作者:
W. Chin;C. David;Huu Hai Nguyen;S. Qin
通讯作者:
W. Chin;C. David;Huu Hai Nguyen;S. Qin
影响因子:
2.5
作者:
Calcagno, Cristiano;Distefano, Dino;Yang, Hongseok
通讯作者:
Yang, Hongseok