Chenkai Guo, Quanqi Ye, Naipeng Dong, Guangdong Bai, J. Dong, Jing Xu
{"title":"Automatic Construction of Callback Model for Android Application","authors":"Chenkai Guo, Quanqi Ye, Naipeng Dong, Guangdong Bai, J. Dong, Jing Xu","doi":"10.1109/ICECCS.2016.041","DOIUrl":null,"url":null,"abstract":"The heavy use of event-callback mechanism in frameworks like Android causes challenges for static analysis. Modelling of callback mechanisms for Android applications (app for short) is becoming a major method to address such challenges. In this work, we aim to construct a generic callback-related model that supports path-sensitive analysis. We consider three unresolved challenges in the existing modelling approaches: 1) building connections between different components; 2) identifying path-sensitive conditions; 3) handling the system-driven callbacks and fine-grained lifecycle callbacks. We propose algorithms for constructing a generic path-sensitive callback model and present a prototype model constructor, Andro Checker, to validate our approach. We evaluate 20 real-world apps using Andro Checker. The evaluation result shows that our method and tool have a strong capability in modelling path conditions and inter-component invocations.","PeriodicalId":298790,"journal":{"name":"2016 21st International Conference on Engineering of Complex Computer Systems (ICECCS)","volume":"48 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 21st International Conference on Engineering of Complex Computer Systems (ICECCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICECCS.2016.041","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
The heavy use of event-callback mechanism in frameworks like Android causes challenges for static analysis. Modelling of callback mechanisms for Android applications (app for short) is becoming a major method to address such challenges. In this work, we aim to construct a generic callback-related model that supports path-sensitive analysis. We consider three unresolved challenges in the existing modelling approaches: 1) building connections between different components; 2) identifying path-sensitive conditions; 3) handling the system-driven callbacks and fine-grained lifecycle callbacks. We propose algorithms for constructing a generic path-sensitive callback model and present a prototype model constructor, Andro Checker, to validate our approach. We evaluate 20 real-world apps using Andro Checker. The evaluation result shows that our method and tool have a strong capability in modelling path conditions and inter-component invocations.