電子書開放聲明
封面
扉頁
再刷感言
關於作者
關於譯者
山川壯麗 鬼斧神工(譯序)
奇穴探險(原序)
目錄提要
目錄
簡介
對你(讀者)的假設
虛擬碼(pseudo code)
範例程式
第1章 透視 Windows 95
第2章 Windows 95 有些什麼新東西
第3章 模組、行程、執行緒(Modules, Processes, Threads)
Win32 模組(Win32 Modules)
IMTEs(Internal Module Table Entries[?])
IMTE 結構
MODREF 結構
與模組有關的 API 函式
KERNEL32 物件
Windows 95 行程(Windows 95 Processes)
什麼是 process handle?什麼是 process ID?
Windows 95 Process Database(PDB)
Environment Database
Process Handle Tables
Thread(執行緒)
什麼是 Thread Handle?什麼是 Thread ID?
Thread Database
Thread Information Block(TIB)
Thread Priority(執行緒優先權)
執行緒控制函式
結構化異常處理(Structured Exception Handling)
Thread Local Storage(執行緒區域儲存空間)
執行緒的雜項函式
Win32Wlk 程式
摘要
第4章 USER 和 GDI 子系統
第5章 記憶體管理(Memory Management)
以分頁為基礎之 Windows 95 記憶體管理
Windows 95 之中的Win32 行程之位址空間
記憶體共享(Sharing Memory)
Windows 95 的 "Copy on Write"(寫入時才拷貝)
PHYS 程式
Memory Contexts
Windows 95 的記憶體管理函式
VMM 函式
Win32 的 Virtual 函式
Win32 的 Heap 函式
Win32 的 Local Heap 函式
Win32 的 Global Heap 函式
雜項函式
摘要
第6章 VWINKERNEL32386(VWIN32.VXD, KERNEL32.DLL, KRNL386.EXE)
第7章 Win16 的 Modules 和Tasks
第8章 PE 與 COFF OBJ 檔案格式
PEDUMP
Win32 和 PE 的基礎觀念
PE 表頭(PE Header)
The Section Table
常會遇到的Sections
PE 檔案的輸入(imports)
PE 檔案的輸出(exports)
PE 檔的資源
PE 檔的基底重定位(Base Relocations)
COFF 符號表格
COFF 除錯資訊
COFF 行號表格
PE 檔和 COFF 檔之間的差異
COFF LIB 檔
摘要
第9章 尋幽訪勝靠自己
第10章 寫一個 Win32 API Spy 軟體
攔截函式
把 DLL 注射到行程之中
使用 Debug API 控制另一個行程
建立 Stubs 以記錄 API 函式
參數資訊的編碼
函式傳回值
APISPY32 程式碼
Win32s 碼
APISPYLD 碼
APISPY32 的使用注意事項
在你自己的程式中攔截函式
摘要
附錄A KERNEL32.DLL 未公開函式之Import Library