Analysis of Asynchronous Programs with Event-Based Synchronization

被引:3
|
作者
Emmi, Michael [1 ]
Ganty, Pierre [1 ]
Majumdar, Rupak [2 ]
Rosa-Velardo, Fernando [3 ]
机构
[1] IMDEA Software Inst, Madrid, Spain
[2] MPI SWS, Kaiserslautern, Germany
[3] Univ Complutense Madrid, E-28040 Madrid, Spain
来源
基金
欧盟第七框架计划;
关键词
MODEL CHECKING; PETRI NETS; DECIDABILITY;
D O I
10.1007/978-3-662-46669-8_22
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Asynchronous event-driven programming has become a central model for building responsive and efficient software systems, from low-level kernel modules, device drivers, and embedded systems, to consumer application on platforms such as. Net, Android, iOS, as well as in the web browser. Being fundamentally concurrent, such systems are vulnerable to subtle and elusive programming errors which, in principle, could be systematically discovered with automated techniques such as model checking. However, current development of such automated techniques are based on formal models which make great simplifications in the name of analysis decidability: they ignore event-based synchronization, and they assume concurrent tasks execute serially. These simplifications can ultimately lead to false positives, in reporting errors which are infeasible considering event-based synchronization, as well as false negatives, overlooking errors which arise due to interaction between concurrent tasks. In this work, we propose a formal model of asynchronous event-driven programs which goes a long way in bridging the semantic gap between programs and existingmodels, in particular by allowing the dynamic creation of concurrent tasks, events, task buffers, and threads, and capturing precisely the interaction between these quantities. We demonstrate that (1) the analogous program analysis problems based on our new model remain decidable, and (2) that our new model is strictly more expressive than the existing Petri net based models. Our proof relies on a class of high-level Petri nets called Data Nets, whose tokens carry names taken from an infinite and linearly ordered domain. This result represents a significant expansion to the decidability frontier for concurrent program analyses.
引用
收藏
页码:535 / 559
页数:25
相关论文
共 50 条
  • [1] Asynchronous Event-Based Fourier Analysis
    Sabatier, Quentin
    Ieng, Sio-Hoi
    Benosman, Ryad
    [J]. IEEE TRANSACTIONS ON IMAGE PROCESSING, 2017, 26 (05) : 2192 - 2202
  • [2] Event-based asynchronous communication and sampled control for synchronization of multiagent networks with input saturation
    Zhang, Liangyin
    Chen, Michael Z. Q.
    Su, Housheng
    Chen, Guanrong
    [J]. INTERNATIONAL JOURNAL OF ROBUST AND NONLINEAR CONTROL, 2018, 28 (05) : 1871 - 1885
  • [3] Event Reference Synchronization (ERS): An Event-Based IoT Clock Synchronization
    Prabh, Shashi
    [J]. 2022 IEEE 33RD ANNUAL INTERNATIONAL SYMPOSIUM ON PERSONAL, INDOOR AND MOBILE RADIO COMMUNICATIONS (IEEE PIMRC), 2022, : 1250 - 1256
  • [4] BAYES CLASSIFICATION FOR ASYNCHRONOUS EVENT-BASED CAMERAS
    Fillatre, Lionel
    [J]. 2015 23RD EUROPEAN SIGNAL PROCESSING CONFERENCE (EUSIPCO), 2015, : 824 - 828
  • [5] Asynchronous frameless event-based optical flow
    Benosman, Ryad
    Ieng, Sio-Hoi
    Clercq, Charles
    Bartolozzi, Chiara
    Srinivasan, Mandyam
    [J]. NEURAL NETWORKS, 2012, 27 : 32 - 37
  • [6] Asynchronous Optimisation for Event-based Visual Odometry
    Liu, Daqi
    Parra, Alvaro
    Latif, Yasir
    Chen, Bo
    Chin, Tat-Jun
    Reid, Ian
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, ICRA 2022, 2022, : 9432 - 9438
  • [7] Asynchronous Event-Based Hebbian Epipolar Geometry
    Benosman, Ryad
    Ieng, Sio-Hoi
    Rogister, Paul
    Posch, Christoph
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS, 2011, 22 (11): : 1723 - 1734
  • [8] Asynchronous event-based corner detection and matching
    Clady, Xavier
    Ieng, Sio-Hoi
    Benosman, Ryad
    [J]. NEURAL NETWORKS, 2015, 66 : 91 - 106
  • [9] Resilient Synchronization of Networked Lagrangian Systems Over Event-Based Communication With Asynchronous DoS Attacks
    Luo, Xiaoyuan
    Fu, Yuliang
    Li, Xiaolei
    [J]. IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2023, 10 (06): : 3198 - 3208
  • [10] Adversarial Attack for Asynchronous Event-Based Data
    Lee, Wooju
    Myung, Hyun
    [J]. THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / THE TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 1237 - 1244