Static Dalvik Bytecode Optimization for Android Applications

被引:1
|
作者
Kim, Jeehong [1 ]
Kim, Inhyeok [1 ]
Min, Changwoo [1 ]
Jun, Hyung Kook [2 ]
Lee, Soo Hyung [2 ]
Kim, Won-Tae [2 ]
Eom, Young Ik [1 ]
机构
[1] Sungkyunkwan Univ, Coll Informat & Commun Engn, Suwon, South Korea
[2] ETRI, SW & Contents Res Lab, Daejeon, South Korea
关键词
Dalvik bytecode; static optimization; LLVM; Android;
D O I
10.4218/etrij.15.0114.0036
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Since just-in-time (JIT) has considerable overhead to detect hot spots and compile them at runtime, using sophisticated optimization techniques for embedded devices means that any resulting performance improvements will be limited. In this paper, we introduce a novel static Dalvik bytecode optimization framework, as a complementary compilation of the Dalvik virtual machine, to improve the performance of Android applications. Our system generates optimized Dalvik bytecodes by using Low Level Virtual Machine (LLVM). A major obstacle in using LLVM for optimizing Dalvik bytecodes is determining how to handle the high-level language features of the Dalvik bytecode in LLVM IR and how to optimize LLVM IR conforming to the language information of the Dalvik bytecode. To this end, we annotate the high-level language features of Dalvik bytecode to LLVM IR and successfully optimize Dalvik bytecodes through instruction selection processes. Our experimental results show that our system with JIT improves the performance of Android applications by up to 6.08 times, and surpasses JIT by up to 4.34 times.
引用
收藏
页码:1001 / 1011
页数:11
相关论文
共 50 条
  • [31] Asynchrony-Aware Static Analysis of Android Applications
    Mishra, Ashish
    Kanade, Aditya
    Srikant, Y. N.
    2016 ACM/IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN (MEMOCODE), 2016, : 163 - 172
  • [32] Static Asynchronous Component Misuse Detection for Android Applications
    Pan, Linjie
    Cui, Baoquan
    Liu, Hao
    Yan, Jiwei
    Wang, Siqi
    Yan, Jun
    Zhang, Jian
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 952 - 963
  • [33] Runtime Input Validation for Java']Java Web Applications using Static Bytecode Instrumentation
    Cho, Sangwook
    Kim, Gyoosik
    Cho, Seong-je
    Choi, Jongmoo
    Park, Minkyu
    Han, Sangchul
    2016 RESEARCH IN ADAPTIVE AND CONVERGENT SYSTEMS, 2016, : 148 - 152
  • [34] Study on the Application of Dalvik Injection Technique for the Detection of Malicious Programs in Android
    Li, Yingbo
    Fang, Jing
    Liu, Cheng
    Liu, Mengrong
    Wu, ShaoHua
    PROCEEDINGS OF 2015 IEEE 5TH INTERNATIONAL CONFERENCE ON ELECTRONICS INFORMATION AND EMERGENCY COMMUNICATION, 2015, : 309 - 312
  • [35] Android malware detection method based on bytecode image
    Yuxin Ding
    Xiao Zhang
    Jieke Hu
    Wenting Xu
    Journal of Ambient Intelligence and Humanized Computing, 2023, 14 : 6401 - 6410
  • [36] Android malware detection method based on bytecode image
    Ding, Yuxin
    Zhang, Xiao
    Hu, Jieke
    Xu, Wenting
    JOURNAL OF AMBIENT INTELLIGENCE AND HUMANIZED COMPUTING, 2020, 14 (5) : 6401 - 6410
  • [37] AccelDroid: Co-designed Acceleration of Android Bytecode
    Wang, Cheng
    Wu, Youfeng
    Cintra, Marcelo
    PROCEEDINGS OF THE 2013 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2013, : 23 - 32
  • [38] Android Malware Detection Using TCN with Bytecode Image
    Zhang, Wenhui
    Luktarhan, Nurbol
    Ding, Chao
    Lu, Bei
    SYMMETRY-BASEL, 2021, 13 (07):
  • [39] Automated Multi-Layered Bytecode Generation for Preventing Sensitive Information Leaks From Android Applications
    Jeon, Geochang
    Choi, Minseong
    Lee, Sunjun
    Yi, Jeong Hyun
    Cho, Haehyun
    IEEE ACCESS, 2021, 9 : 119578 - 119590
  • [40] An Evaluation of Static Java']Java Bytecode Watermarking
    Hamilton, James
    Danicic, Sebastian
    WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, VOLS 1 AND 2, 2010, : 1 - 8