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 条
  • [1] Towards Bridging the Gap Between Dalvik Bytecode and Native Code During Static Analysis of Android Applications
    Lantz, Patrik
    Johansson, Bjorn
    2015 INTERNATIONAL WIRELESS COMMUNICATIONS & MOBILE COMPUTING CONFERENCE (IWCMC), 2015, : 587 - 593
  • [2] Android Malware Detection: Looking beyond Dalvik Bytecode
    Sun, Tiezhu
    Daoudi, Nadia
    Allix, Kevin
    Bissyande, Tegawende F.
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021), 2021, : 34 - 39
  • [3] Evaluation of Android Anti Malware Techniques against Dalvik Bytecode Obfuscation
    Faruki, Parvez
    Bharmal, Ammar
    Laxmi, Vijay
    Gaur, M. S.
    Conti, Mauro
    Rajarajan, Muttukrishnan
    2014 IEEE 13TH INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (TRUSTCOM), 2014, : 414 - 421
  • [4] Computational Soundness for Dalvik Bytecode
    Backes, Michael
    Kunnemann, Robert
    Mohammadi, Esfandiar
    CCS'16: PROCEEDINGS OF THE 2016 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 717 - 730
  • [5] Formalisation and analysis of Dalvik bytecode
    Wognsen, Erik Ramsgaard
    Karlsen, Henrik Sondberg
    Olesen, Mads Chr
    Hansen, Rene Rydhof
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 92 : 25 - 55
  • [6] Bytecode-to-C Ahead-of-Time Compilation for Android Dalvik Virtual Machine
    Oh, Hyeong-Seok
    Yeo, Ji Hwan
    Moon, Soo-Mook
    2015 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2015, : 1048 - 1053
  • [7] Bytecode-to-C ahead-of-time compilation for Android Dalvik Virtual Machine
    Department of Electrical and Computer Engineering, Seoul National University, Seoul, Korea, Republic of
    Proc. Des. Autom. Test Eur. DATE, (1048-1053):
  • [8] A Provably-Correct Micro-Dalvik Bytecode Verifier
    Jiang Nan
    He Yanxiang
    Zhang Xiaotong
    Liu Rui
    Shen Yunfei
    INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2016, 10 (09): : 193 - 210
  • [9] Evaluation of Android Dalvik Virtual Machine
    Oh, Hyeong-Seok
    Kim, Beom-Jun
    Choi, Hyung-Kyu
    Moon, Soo-Mook
    PROCEEDINGS OF THE 10TH INTERNATIONAL WORKSHOP ON JAVA TECHNOLOGIES FOR REAL-TIME AND EMBEDDED SYSTEMS, 2012, : 115 - 124
  • [10] Android: Deep look into Dalvik VM
    Er-Rajy, Latifa
    El Kiram, My Ahmed
    PROCEEDINGS OF THE 2015 5TH WORLD CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGIES (WICT), 2015, : 35 - 40