Comments (5)
@oujunli 你的问题和 PLT hook 本身没有什么关系。在 hook 后执行的 proxy 函数中可以调用任何函数,包括你说的“非公开函数”。
通过符号查找系统库的非公开函数,可以用其他的开源库,比如:
https://github.com/hexhacking/xDL
https://github.com/hack0z/byopen
from bhook.
好的,非常感谢回复,看bhook里面也有bh_dl的功能,这部分的功能与xDL和byopen是否提供了类似的功能?如果功能类似的化,这部分功能是否可以提供开放接口。谢谢!
from bhook.
@oujunli bh_dl 中的函数不会作为 bhook 的对外接口开放。bh_dl 和 xDL 原理是一样的,功能上只是 xDL 的一个子集,因为 bhook 只需要从一个特定的 ELF(linker)中的特定 section(.symtab
)里查找少量几个内部符号的地址就可以了,这部分逻辑作为“符号查找”的功能来说并不完整。
from bhook.
@caikelun 明白了,非常感谢你的解答,谢谢!
from bhook.
@oujunli 不客气。
from bhook.
Related Issues (20)
- called in a non-hook status?
- 是否遗漏了self->cfi_hook_lock的destroy操作 HOT 1
- bhook 的dlopen未监控到加载的so
- 通过bytehook_hook_single hook pthread_create函数,新函数只会被执行一次 HOT 1
- armeabi-v7a hook失败,用xhook库能成功 HOT 4
- hook jni 方法失败 HOT 2
- 老哥,BYTESIG_TRY好像不能生效 HOT 2
- hook 构造函数崩溃问题 HOT 2
- 可否支持armeabi架构呢?
- native crash at android 13 HOT 2
- 鲜时光TV APK Android 13平台无法打开 HOT 1
- mprotect 返回-1 HOT 1
- Building documentation instructions with mkdocs HOT 2
- hook __android_log_print没效果 HOT 2
- 在Android 7 对dlopen的监控会影响系统原本的dlopen调用导致后续的so都无法loading HOT 4
- Crash at hook __system_property_read_callback HOT 1
- hook不成功 HOT 1
- 合并bytehook与shadowhook HOT 1
- bytesig被初始化多次时, 后面的会失败 HOT 3
- Android 9部分设备上hook 失败 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bhook.