Race Detection for Android Applications

被引:3
|
作者
Maiya, Pallavi [1 ]
Kanade, Aditya [1 ]
Majumdar, Rupak [2 ]
机构
[1] Indian Inst Sci, Bangalore, Karnataka, India
[2] MPI SWS, Kaiserslautern, Germany
关键词
Languages; Reliability; Verification; Data races; Android concurrency semantics; Happens-before reasoning; EFFICIENT;
D O I
10.1145/2666356.2594311
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programming environments for smartphones expose a concurrency model that combines multi-threading and asynchronous event-based dispatch. While this enables the development of efficient and feature-rich applications, unforeseen thread interleavings coupled with non-deterministic reorderings of asynchronous tasks can lead to subtle concurrency errors in the applications. In this paper, we formalize the concurrency semantics of the Android programming model. We further define the happens-before relation for Android applications, and develop a dynamic race detection technique based on this relation. Our relation generalizes the so far independently studied happens-before relations for multi-threaded programs and single-threaded event-driven programs. Additionally, our race detection technique uses a model of the Android runtime environment to reduce false positives. We have implemented a tool called DROIDRACER. It generates execution traces by systematically testing Android applications and detects data races by computing the happens-before relation on the traces. We analyzed 1 5 Android applications including popular applications such as Facebook, Twitter and K-9 Mail. Our results indicate that data races are prevalent in Android applications, and that DROIDRACER is an effective tool to identify data races.
引用
收藏
页码:316 / 325
页数:10
相关论文
共 50 条
  • [1] Scalable Race Detection for Android Applications
    Bielik, Pavol
    Raychev, Veselin
    Vechev, Martin
    ACM SIGPLAN NOTICES, 2015, 50 (10) : 332 - 348
  • [2] Android Rooting: An Arms Race between Evasion and Detection
    Nguyen-Vu, Long
    Chau, Ngoc-Tu
    Kang, Seongeun
    Jung, Souhwan
    SECURITY AND COMMUNICATION NETWORKS, 2017,
  • [3] Real Time Android Ransomware Detection by Analyzed Android Applications
    Ko, Ju-Seong
    Jo, Jeong-Seok
    Kim, Deuk-Hun
    Choi, Seul-Ki
    Kwak, Jin
    2019 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC), 2019, : 375 - 379
  • [4] Detection of Malicious Applications on Android OS
    Di Cerbo, Francesco
    Girardello, Andrea
    Michahelles, Florian
    Voronkova, Svetlana
    COMPUTATIONAL FORENSICS, 2011, 6540 : 138 - +
  • [5] Clone Analysis and Detection in Android Applications
    Niu, Haofei
    Yang, Tianchang
    Niu, Shaozhang
    2016 3RD INTERNATIONAL CONFERENCE ON SYSTEMS AND INFORMATICS (ICSAI), 2016, : 520 - 525
  • [6] Ransomware Detection System for Android Applications
    Alsoghyer, Samah
    Almomani, Iman
    ELECTRONICS, 2019, 8 (08)
  • [7] Detection of Obfuscation Techniques in Android Applications
    Bacci, Alessandro
    Bartoli, Alberto
    Martinelli, Fabio
    Medvet, Eric
    Mercaldo, Francesco
    13TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY (ARES 2018), 2019,
  • [8] Overprivileged Permission Detection for Android Applications
    Wu, Sha
    Liu, Jiajia
    ICC 2019 - 2019 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2019,
  • [9] Race Detection for Web Applications
    Petrov, Boris
    Vechev, Martin
    Sridharan, Manu
    Dolby, Julian
    ACM SIGPLAN NOTICES, 2012, 47 (06) : 251 - 261
  • [10] Automated Detection and Classification for Packed Android Applications
    Liao, Yibin
    Li, Jiakuan
    Li, Bo
    Zhu, Guodong
    Yin, Yue
    Cai, Ruoyan
    2016 5TH IEEE INTERNATIONAL CONFERENCE ON MOBILE SERVICES (MS 2016), 2016, : 200 - 203