請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/50231
標題: | Android 動態框架:在 Bionic 連結器中的原生函式替換機制 Android Dynamic Framework : Native Hook Mechanism in Bionic Linker |
作者: | Mai-Hsuan Chia 賈脈瑄 |
指導教授: | 廖世偉(Shih-Wei Liao) |
關鍵字: | 安卓,安卓框架,動態連結,函式替換, Android,Android Framework,Dynamic Linking,Function Hooking, |
出版年 : | 2016 |
學位: | 碩士 |
摘要: | Android 作業系統是一個在行動裝置上被廣為使用的平台。有非常 多的應用程式是建立並依賴於 Android 框架之上。Android 動態框架被 創造來提供開發者一個更方便的環境來測試他們的應用程式,使用者 也可以利用它來對一些既有的功能做修改,而這些功能完全不需要修 改到原本的程式。然而,目前 Android 動態框架只能替換 Java 的方法, 有許多開發者也需要有一套原生函式的替換機制。因此,這篇論文主 要會介紹能夠在執行時動態替換原生函式的原生函式替換機制。原生 函式替換機制能相容於 Android 動態框架。有了原生函式替換機制的 整合,Android 動態框架能變得更強大且更完整。對開發者來說,有了 整合了原生函式替換機制的 Android 動態框架,他們可以替換掉任何 Java 方法與原生函式。 Nowadays, Android is a majorly used platform in mobile devices. Many applications and frameworks are built based on the Android Framework. Android Dynamic Framework is introduced to provide Android developers and users a more convenient environment to test their software or to do some modification to the existing functions, without any modification to the existing applications at all. Nevertheless, only Java methods can be replaced in Android Dynamic Framework. There are strong needs for developers to replace native function without modifications to existing library code at runtime. In this paper, we introduce the Native Hook mechanism, which is able to replace native functions in Android applications at runtime, and is compatible with Android Dynamic Framework. With the integration of Native Hook mecha- nism, Android Dynamic Framework becomes a more powerful and complete framework. With the integrated Android Dynamic Framework, developers can replace any method and function if they want. |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/50231 |
DOI: | 10.6342/NTU201601767 |
全文授權: | 有償授權 |
顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-105-1.pdf 目前未授權公開取用 | 988.51 kB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。