Replies: 2 comments 2 replies
-
Not sure I understand the question. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Looks like both access and faccessat point to the same address (you may be able to validate it by looking at the symbols in your libc). In that case - one of the hooks overrides the other (it's just a mapping from an address to the function name) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When hooking libc functions such as
access
andfaccessat
. If I only hookaccess
and capture the calls from an application that performsjava.io.File.exists()
, I get the calls to the access function.If I add the
faccessat
to the hooked functions, it replaces the call toaccess
which in theory shouldn't happen sinceaccess
is callingfaccessat
(cf. libc). Is it a wanted behavior ?Beta Was this translation helpful? Give feedback.
All reactions