Dobby使用

Security Classification: 【C-1】 | Publish Time:2024-08-05 | Category:Coding | Edit

Expiry Notice: The article was published three months ago. Please independently assess the validity of the technical methods and code mentioned within. :)

AI Summary: 本文介绍了如何使用Dobby进行函数Hook。首先,定义一个指向原函数地址的函数指针,以便在替代函数中调用原函数。使用DobbyHook和DobbySymbolResolver来设置Hook,构造函数会在加载共享库时自动执行,调用DobbyHook来设置Hook。DobbySymbolResolver用于解析原始JNI函数地址,替代函数和原函数指针的地址也一并传入DobbyHook,以实现Hook功能。 --- (From Model:gpt-4o-mini-2024-07-18)


Comment List

© Copyright: This article is an original work and the copyright belongs to the  Depy's docs  unless marked as Reproduced

Please contact the blogger for authorization to reprint


『📕Category 』