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 条
  • [41] Automated Detection of TalkBack Interactive Accessibility Failures in Android Applications
    Alotaibi, Ali S.
    Chiou, Paul T.
    Halfond, William G. J.
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2022), 2022, : 232 - 243
  • [42] ANASTASIA: ANdroid mAlware detection using STAtic analySIs of Applications
    Fereidooni, Hossein
    Conti, Mauro
    Yao, Danfeng
    Sperduti, Alessandro
    2016 8TH IFIP INTERNATIONAL CONFERENCE ON NEW TECHNOLOGIES, MOBILITY AND SECURITY (NTMS), 2016,
  • [43] The Concept of Attack Scenarios and its Applications in Android Malware Detection
    Chang, Yu-Chen
    Wang, Sheng-De
    PROCEEDINGS OF 2016 IEEE 18TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS; IEEE 14TH INTERNATIONAL CONFERENCE ON SMART CITY; IEEE 2ND INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (HPCC/SMARTCITY/DSS), 2016, : 1485 - 1492
  • [44] REFERENCE ARCHITECTURE FOR ANDROID APPLICATIONS TO SUPPORT THE DETECTION OF MANIPULATED EVIDENCE
    Pieterse, H.
    Olivier, M. S.
    van Heerden, R. P.
    SAIEE AFRICA RESEARCH JOURNAL, 2016, 107 (02): : 92 - 103
  • [45] Race Detection for Event-Driven Mobile Applications
    Hsiao, Chun-Hung
    Pereira, Cristiano L.
    Yu, Jie
    Pokam, Gilles A.
    Narayanasamy, Satish
    Chen, Peter M.
    Kong, Ziyun
    Flinn, Jason
    ACM SIGPLAN NOTICES, 2014, 49 (06) : 326 - 336
  • [46] Capability Leakage Detection Between Android Applications Based on Dynamic Feedback
    Zhou, Mingsong
    Zeng, Fanping
    Chen, Zhao
    2019 IEEE 25TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2019, : 943 - 948
  • [47] Dynamic Loading Vulnerability Detection for Android Applications Through Ensemble Learning
    YANG Tianchang
    CUI Haoliang
    NIU Shaozhang
    Chinese Journal of Electronics, 2017, 26 (05) : 960 - 965
  • [48] Adversarial android malware detection for mobile multimedia applications in IoT environments
    Taheri, Rahim
    Javidan, Reza
    Pooranian, Zahra
    MULTIMEDIA TOOLS AND APPLICATIONS, 2021, 80 (11) : 16713 - 16729
  • [49] Lightweight versus obfuscation-resilient malware detection in android applications
    Ali Aghamohammadi
    Fathiyeh Faghih
    Journal of Computer Virology and Hacking Techniques, 2020, 16 : 125 - 139
  • [50] LibSift: Automated Detection of Third-Party Libraries in Android Applications
    Soh, Charlie
    Tan, Hee Beng Kuan
    Arnatovich, Yauhen Leanidavich
    Narayanan, Annamalai
    Wang, Lipo
    2016 23RD ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2016), 2016, : 41 - 48