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

能否支持对运行时动态创建的函数 #28

Open
xinansky opened this issue Mar 21, 2024 · 0 comments
Open

能否支持对运行时动态创建的函数 #28

xinansky opened this issue Mar 21, 2024 · 0 comments

Comments

@xinansky
Copy link

需求场景:
有一个函数A:输出A
需要在程序运行时:替换函数A的输出内容 输出B 然后在执行函数A 再输出B
目前实现方式:遍历函数A的参数 属性 返回值等 写入cs代码文件中重新编译 然后进行HOOK
理想实现方式:遍历函数A的参数 属性 返回值等 创建一个动态函数 作为绑定代理 然后进行HOOK

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

No branches or pull requests

1 participant