Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel inlinehook #58

Open
w296488320 opened this issue Mar 7, 2024 · 1 comment
Open

kernel inlinehook #58

w296488320 opened this issue Mar 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@w296488320
Copy link

the Feature, Motivation and Pitch

1、如果可以把inlinehook部分单独抽出来,不涉及linker和xdl部分 就好了,因为我想着在内核里面使用这个inlinehook框架 。
2、可以把加个宏编译,如果是inlinehook 把libc这种malloc这种api换成 内核里面的kapi 。

Alternatives

No response

Additional context

No response

@w296488320 w296488320 added the enhancement New feature or request label Mar 7, 2024
@caikelun
Copy link
Member

caikelun commented Apr 15, 2024

谢谢你的关注和建议。

我们目前没有在kernel中使用inlinehook的业务场景,也缺乏相关的实践经验和测试场景,因此不会为了方便kernel移植做特别的设计。现在inlinehook的指令替换部分在源码 arch 文件夹中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants