Title
Verifying Robustness of Event-Driven Asynchronous Programs Against Concurrency.
Abstract
We define a correctness criterion, called robustness against concurrency, for a class of event-driven asynchronous programs that are at the basis of modern UI frameworks in Android, iOS, and Javascript. A program is robust when all possible behaviors admitted by the program under arbitrary procedure and event interleavings are admitted even if asynchronous procedures respectively, events are assumed to execute serially, one after the other, accessing shared memory in isolation. We characterize robustness as a conjunction of two correctness criteria: event-serializability i.e., events can be seen as atomic and event-determinism executions within each event are insensitive to the interleavings between concurrent tasks dynamically spawned by the event. Then, we provide efficient algorithms for checking these two criteria based on polynomial reductions to reachability problems in sequential programs. This result is surprising because it allows to avoid explicit handling of all concurrent executions in the analysis, which leads to an important gain in complexity. We demonstrate via case studies on Android apps that the typical mistakes programmers make are captured as robustness violations, and that violations can be detected efficiently using our approach.
Year
DOI
Venue
2017
10.1007/978-3-662-54434-1_7
ESOP
Field
DocType
Citations 
Asynchronous communication,Programming language,Android (operating system),Shared memory,Concurrency,Computer science,Correctness,Robustness (computer science),Reachability,Event (computing),Theoretical computer science,Distributed computing
Conference
2
PageRank 
References 
Authors
0.37
24
5
Name
Order
Citations
PageRank
Ahmed Bouajjani12663184.84
Michael Emmi236521.76
Constantin Enea324926.95
Burcu Kulahcioglu Ozkan4131.94
Serdar Tasiran5103079.90