Skip to content

如何理解最终hook到的方法呢? #47

Answered by Mr-JingShi
xmutzlq asked this question in Q&A
Discussion options

You must be logged in to vote

define __BIONIC_FORTIFY_INLINE static inline __always_inline

因为这个地方被inline啊。

如果你想确确实实的调用open方法的话,可以这样int fd = (&open)("/dev/null", O_RDWR);试试

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@xmutzlq
Comment options

@Mr-JingShi
Comment options

@xmutzlq
Comment options

Answer selected by xmutzlq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants