{"id":21076777,"url":"https://github.com/antibioticss/tinyhook","last_synced_at":"2026-01-21T18:02:41.715Z","repository":{"id":252615021,"uuid":"840947883","full_name":"Antibioticss/tinyhook","owner":"Antibioticss","description":"A tiny hook framework for macOS/iOS, inlcuded inline hook, objc runtime hook, symbol resolver..","archived":false,"fork":false,"pushed_at":"2026-01-18T08:56:00.000Z","size":116,"stargazers_count":110,"open_issues_count":0,"forks_count":25,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-18T17:26:00.066Z","etag":null,"topics":["function-hooking","hook-framework","hooks","inline-hook","macos"],"latest_commit_sha":null,"homepage":"https://antibioticss.github.io/tinyhook/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Antibioticss.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-11T07:19:22.000Z","updated_at":"2026-01-18T08:56:04.000Z","dependencies_parsed_at":"2024-08-11T08:33:12.086Z","dependency_job_id":"88bbe764-da13-4619-afe8-855f19f81bd4","html_url":"https://github.com/Antibioticss/tinyhook","commit_stats":null,"previous_names":["antibioticss/tinyhook"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Antibioticss/tinyhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antibioticss%2Ftinyhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antibioticss%2Ftinyhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antibioticss%2Ftinyhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antibioticss%2Ftinyhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antibioticss","download_url":"https://codeload.github.com/Antibioticss/tinyhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antibioticss%2Ftinyhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28638493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T17:36:33.271Z","status":"ssl_error","status_checked_at":"2026-01-21T17:36:30.617Z","response_time":86,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["function-hooking","hook-framework","hooks","inline-hook","macos"],"created_at":"2024-11-19T19:30:15.969Z","updated_at":"2026-01-21T18:02:41.709Z","avatar_url":"https://github.com/Antibioticss.png","language":"C","readme":"# tinyhook\n\n\u003e A minimalist hook framework for macOS/iOS, built for speed and size\n\n## Features\n\n - inline hook\n - symbol interposing\n - symbol resolving\n - objc runtime hook\n\n## Building\n\nBuild tinyhook yourself or download pre-built binaries from [Releases](https://github.com/Antibioticss/tinyhook/releases)\n\nNightly builds are available from [Actions](https://github.com/Antibioticss/tinyhook/actions)\n\n### Build with `make`\n\n```bash\nmake\n```\n\nAvailable targets:\n - `static` (default) build static library\n - `shared` build shared library\n - `all` build both static and shared libraries\n - `test` run tinyhook tests\n\nAvailable variables:\n - `ARCH` the arch to build: `arm64`, `arm64e`, `x86_64`\n - `TARGET` targeting os: `macosx`(default), `iphoneos`\n - `MIN_OSVER` minimum os version requirement\n - `DEBUG` generate debug infomation\n - `COMPACT` no error log output (not recommended!)\n - `NO_EXPORT` hide all symbols (don't use this for dynamic library)\n\nFor example, building shared library for iOS 18.0+ `arm64e` binary with `DEBUG` enabled\n\n```bash\nmake shared ARCH=arm64e TARGET=iphoneos MIN_OSVER=18.0 DEBUG=1\n```\n\n### Use `build.sh`\n\n`build.sh` can be used to build universal FAT binaries (i.e. a single binary with multiple arches)\n\n```\narguments:\n  -a \u003carch\u003e     add an arch to build\n  -t \u003ctarget\u003e   specify target system, macosx(default) or iphoneos\n  -v \u003cversion\u003e  specify minimum system version\n  -c            build compact version\n  -n            don't export symbols\n```\n\nFor example, the below commands are used to build binaries for releasing\n\n```bash\n./build.sh -t macosx -v 10.15\n./build.sh -t iphoneos -v 12.0\n```\n\nOutput binaries will be in `build/universal`\n\n## Documentation\n\nServed on GitHub Pages: https://antibioticss.github.io/tinyhook/\n\n## Example\n\nSource code of the examples: [tinyhook/test](https://github.com/Antibioticss/tinyhook/tree/main/test)\n\n## References\n\nThanks to these projects for their inspiring idea and code!\n\n- \u003chttps://github.com/rodionovd/rd_route\u003e\n- \u003chttps://github.com/GiveMeZeny/fde64\u003e\n- \u003chttps://github.com/facebook/fishhook\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantibioticss%2Ftinyhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantibioticss%2Ftinyhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantibioticss%2Ftinyhook/lists"}