Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/64237
標題: Dalvik可執行檔之二元轉換
Binary Transformation of Dalvik Executable
作者: Pi-Hung Liu
劉必宏
指導教授: 陳俊良
關鍵字: 二元轉換,Android,dex,dalvik bytecode,最佳化,逆向工程,
Binary transformation,Android,dex,dalvik bytecode,optimization,reversed engineering,
出版年 : 2012
學位: 碩士
摘要: Android系統已成為智慧型手機的第一大作業系統,其上的應用程式也有許多豐富的內容。Android上的應用程式是由Java撰寫,經過編譯成為class檔案之後,再經過Android SDK的dx工具轉換為dex檔案──它是一個register-based指令集,並且考量到行動裝置的架構及運算能力而制定的程式碼和格式。若能將這些程式碼轉換成為能夠再次利用的型式的話,不論是開發或研究上都會有相當的幫助。由於目前對於dex檔案的轉換工具尚不夠豐富,相對於已經有了許多研究的Java bytecode轉換,若能利用彼此之間的關係將dex檔案的轉換套入已有的Java最佳化資源當中,便能夠使dex檔案也能夠運用豐富的Java bytecode最佳化成果。
在套用既有資源做嘗試時,我們發現了幾個dx轉換時所改變的程式碼模式;由於這些模式都破壞了原來javac所編譯出來的程式碼樣式,因此使得既有的最佳化演算法無法處理。我們整理了這些模式以及它們對程式碼的影響,並且在實際的應用程式上測試了其效果。
The Android operating system had became the largest operating system in the smart phone area, and there are many rich contents in the applications of Android. These applications are written in Java, compiled to class files, and converted to dex files (which contains the register-based bytecode and optimized for the architecture and the limited computation power of smart phones) by the dx tool from Android SDK. Since there are few transformation tools for dex files compared to the abundance of resources of optimizing and analyzing Java class files, making these resource available to dex files can greatly improve the reusability and researching potential of them.
When trying to use these resources to analyze dex files, we find that some optimization transformations done by the dx tool cannot fit in the original analyzing framework, since these transformations break the pattern of javac-complied programs and cannot be recognized by these algorithms. We collected the transformations we found that dx does and measured their effect on real applications.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/64237
全文授權: 有償授權
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-101-1.pdf
  目前未授權公開取用
322.2 kBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved