We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.0.9
11
arm64-v8a
vivo x60
是想hook libinput.so 里的 send和recv方法 来做onTouch事件的监听, 但是一直不成功 不知道为啥
//__socketcall ssize_t sendto(int __fd, const void* __buf, size_t __n, int __flags, const struct sockaddr* __dst_addr, socklen_t __dst_addr_length); ssize_t send_proxy(int __fd, const void* __buf, size_t __n, int __flags, const struct sockaddr* __dst_addr, socklen_t __dst_addr_length) { LOGD("send_proxy"); BYTEHOOK_STACK_SCOPE(); return BYTEHOOK_CALL_PREV(send_proxy, __fd, __buf, __n, __flags,__dst_addr,__dst_addr_length); } //__socketcall ssize_t recvfrom(int __fd, void* __buf, size_t __n, int __flags, struct sockaddr* __src_addr, socklen_t* __src_addr_length); ssize_t recv_proxy(int __fd, void* __buf, size_t __n, int __flags, struct sockaddr* __src_addr, socklen_t* __src_addr_length) { LOGD("recv_proxy"); BYTEHOOK_STACK_SCOPE(); return BYTEHOOK_CALL_PREV(recv_proxy, __fd, __buf, __n, __flags,__src_addr,__src_addr_length); } bytehook_hook_all("/system/lib/libinput.so", "sendto", (void *) send_proxy, nullptr, nullptr); bytehook_hook_all("/system/lib/libinput.so", "recvfrom", (void *) recv_proxy, nullptr, nullptr);
The text was updated successfully, but these errors were encountered:
你可以先确认下是否初始化了bytehook,再通过 hooked 参数的callback看看errno?
Sorry, something went wrong.
No branches or pull requests
bytehook Version
1.0.9
Android OS Version
11
Android ABIs
arm64-v8a
Device Manufacturers and Models
vivo x60
Describe the Bug
是想hook libinput.so 里的 send和recv方法 来做onTouch事件的监听, 但是一直不成功 不知道为啥
The text was updated successfully, but these errors were encountered: