arrow
返回

Relaxed Effective Callback Freedom: A Parametric Correctness Condition for Sequential Modules With Callbacks

delete2023-05-01
delete0
PRE
AI
E
Elvira Albert
S
Shelly Grossman
N
Noam Rinetzky
C
Clara Rodríguez-Núñez *
A
Albert Rubio
M
Mooly Sagiv
DOI:10.1109/TDSC.2022.3178836delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Callbacks are an essential mechanism for event-driven programming. Unfortunately, callbacks make reasoning challenging because they introduce behaviors where calls to the module are interleaved. We present a parametric method that, from a particular invariant of the program, allows reducing the problem of verifying the invariant in the presence of callbacks, to the callback-free setting. Intuitively, we allow callbacks to introduce behaviors that cannot be produced by callback free executions, as long as they do not affect correctness. A chief insight is that the user is aware of the potential effect of the callbacks on the program state. To this end, we present a parametric verification technique which accepts this insight as a relation between callback and callback free executions. We implemented our approach and applied it successfully to a large set of real-world programs.
Keyword:
Contracts
Cognition
Codes
Programming
Static analysis
Smart contracts
Safety
Smart contract verification
Event-driven programming
Unbounded re-entrancy
Callbacks

期刊

IEEE Transactions on Dependable and Secure Computing 封面图
IEEE Transactions on Dependable and Secure Computing
IF:
7.5
论文数:
2.6K
被引数:
9.6K

机构

C
Complutense University of Madrid
学者数:
2.6W
论文数: 2.2W
被引数: 31
T
Tel Aviv University
学者数:
3.7W
论文数: 3.0W
被引数: 3.6W
引用论文

引用论文

Ultrafast Absorption Changes of the Lhcii Carotenoids upon Selective Excitation of the Chlorophylls
err1998-01-01
err0
PREAI
errC. C. Gradinaru; I. H. M. van Stokkum; R. van Grondelle; H. van Amerongen
err分享
err收藏
Network Physiology: How Organ Systems Dynamically Interact网络生理学: 器官系统如何动态交互
err2015-11-10
err0
errOAAI
errRonny P. Bartsch; Kang K. L. Liu; Amir Bashan; Plamen Ch. Ivanov
err分享
err收藏
Crystal structure of extracellular human BAFF, a TNF family member that stimulates B lymphocytes细胞外人BAFF的晶体结构,刺激B淋巴细胞的TNF家族成员
err2002-02-01
err0
PREAI
errMichael Karpusas; Teresa G Cachero; Fang Qian; Ann Boriack-Sjodin; Colleen Mullen; Kathy Strauch; Yen-Ming Hsu; Susan L Kalled
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Direct STM imaging of spherical endohedral discandium fullerenes (Sc2@C84)
err2002-05-01
err0
PREAI
errHisanori Shinohara; Naoyuki Hayashi; Hiroyasu Sato; Yahachi Saito; Xiang Dong Wang; Tomihiro Hashizume; Toshio Sakurai
err分享
err收藏
学者 查看更多内容