{"id":17968449,"url":"https://github.com/dodola/fbhookfork","last_synced_at":"2025-03-25T09:30:53.422Z","repository":{"id":41400509,"uuid":"132877527","full_name":"dodola/fbhookfork","owner":"dodola","description":"从 fb 的 profilo 项目里提取出来的hook 库，自己用","archived":false,"fork":false,"pushed_at":"2020-01-11T08:19:35.000Z","size":374,"stargazers_count":125,"open_issues_count":1,"forks_count":35,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-20T00:41:05.141Z","etag":null,"topics":["android","elf","hook"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dodola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-10T09:19:02.000Z","updated_at":"2025-02-22T15:23:41.000Z","dependencies_parsed_at":"2022-09-21T07:31:33.618Z","dependency_job_id":null,"html_url":"https://github.com/dodola/fbhookfork","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodola%2Ffbhookfork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodola%2Ffbhookfork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodola%2Ffbhookfork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodola%2Ffbhookfork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodola","download_url":"https://codeload.github.com/dodola/fbhookfork/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245435049,"owners_count":20614818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","elf","hook"],"created_at":"2024-10-29T14:21:25.257Z","updated_at":"2025-03-25T09:30:53.415Z","avatar_url":"https://github.com/dodola.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fbhookfork\n从 fb 的 profilo 项目里提取出来的plt hook 库，自己用\n\n支持`armeabi-v7a`,`arm64-v8a`,`x86`\n\n# Use\n\n```cpp\n#include \"linker.h\"\n\nssize_t write_hook(int fd, const void *buf, size_t count) {\n    return CALL_PREV(write_hook, fd, buf, count);\n}\n\nhook_plt_method(\"libc.so\", \"write\", (hook_func) \u0026write_hook);\n\n\n```\n\n# Thanks\n[Profilo](https://github.com/facebookincubator/profilo)\nFacebook 的性能分析工具，里面黑科技很多，可以学到很多东西\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodola%2Ffbhookfork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodola%2Ffbhookfork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodola%2Ffbhookfork/lists"}