Title :
Composite Constant Propagation: Application to Android Inter-Component Communication Analysis
Author :
Octeau, Damien ; Luchaup, Daniel ; Dering, Matthew ; Jha, Somesh ; McDaniel, Patrick
Author_Institution :
Dept. of Comput. Sci., Univ. of Wisconsin, Madison, WI, USA
Abstract :
Many program analyses require statically inferring the possible values of composite types. However, current approaches either do not account for correlations between object fields or do so in an ad hoc manner. In this paper, we introduce the problem of composite constant propagation. We develop the first generic solver that infers all possible values of complex objects in an interprocedural, flow and context-sensitive manner, taking field correlations into account. Composite constant propagation problems are specified using COAL, a declarative language. We apply our COAL solver to the problem of inferring Android Inter-Component Communication (ICC) values, which is required to understand how the components of Android applications interact. Using COAL, we model ICC objects in Android more thoroughly than the state-of-the-art. We compute ICC values for 460 applications from the Play store. The ICC values we infer are substantially more precise than previous work. The analysis is efficient, taking slightly over two minutes per application on average. While this work can be used as the basis for many whole-program analyses of Android applications, the COAL solver can also be used to infer the values of composite objects in many other contexts.
Keywords :
mobile computing; program diagnostics; smart phones; Android application; COAL solver; ICC; composite constant propagation; declarative language; intercomponent communication analysis; program analysis; Analytical models; Androids; Coal; Computational modeling; Correlation; Data models; Humanoid robots; Android; Android ICC; Android IPC; composite constant; constant propagation; inter-component communication;
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Conference_Location :
Florence
DOI :
10.1109/ICSE.2015.30