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

新特性: 支持uprobe的opts中设置address参数 #32

Merged
merged 2 commits into from
Apr 29, 2023

Conversation

cfc4n
Copy link
Member

@cfc4n cfc4n commented Apr 28, 2023

同时,offset的含义变为相对偏移量,会自动跟symbol name的地址相加,作为真正hook的地址。

address参数也就是不需要类库再计算的绝对地址,即等于上面二者之和。 优先级最高。

同时,offset的含义变为相对偏移量,会自动跟symbol name的地址相加,作为真正hook的地址。

address参数也就是不需要类库再计算的绝对地址,即等于上面二者只和。 优先级最高。

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n added the enhancement New feature or request label Apr 28, 2023
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n merged commit 2f62e08 into master Apr 29, 2023
3 checks passed
@cfc4n cfc4n deleted the uprobe-offset-address branch April 29, 2023 14:41
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

Successfully merging this pull request may close these issues.

None yet

1 participant