{"id":19320193,"url":"https://github.com/widberg/sinker","last_synced_at":"2026-02-11T07:02:19.243Z","repository":{"id":136104003,"uuid":"603795389","full_name":"widberg/sinker","owner":"widberg","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-11T00:25:35.000Z","size":274,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T23:41:35.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-02-19T15:46:28.000Z","updated_at":"2025-09-11T00:25:38.000Z","dependencies_parsed_at":"2024-10-22T22:30:06.825Z","dependency_job_id":null,"html_url":"https://github.com/widberg/sinker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/widberg/sinker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fsinker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fsinker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fsinker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fsinker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widberg","download_url":"https://codeload.github.com/widberg/sinker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fsinker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"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":[],"created_at":"2024-11-10T01:27:45.803Z","updated_at":"2026-02-11T07:02:19.229Z","avatar_url":"https://github.com/widberg.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sinker\n\n[![Build Status](https://github.com/widberg/sinker/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/widberg/sinker/actions/workflows/tests.yml)\n[![Documentation Status](https://readthedocs.org/projects/sinker/badge/?version=latest)](https://sinker.readthedocs.io/en/latest/?badge=latest)\n[![codecov](https://codecov.io/gh/widberg/sinker/graph/badge.svg?token=T2D9TH8YDO)](https://codecov.io/gh/widberg/sinker)\n\n```cpp\n//$ symbol game::CoreMainLoop, \"void (__stdcall *)()\";\n//$ tag game::CoreMainLoop, hook;\n//$ address game::CoreMainLoop, [retail], @0x00688bf0;\nvoid __stdcall wrap_game_CoreMainLoop() {\n    BROADCAST(Tick);\n\n    // Do stuff before the real game::CoreMainLoop() is called.\n\n    real_game_CoreMainLoop();\n\n    // Do stuff after the real game::CoreMainLoop() is called.\n}\n```\n\nInstrument Windows binaries hook, line, and sinker at runtime with this batteries included hook specification and installation suite. [Sinker Script](https://sinker.readthedocs.io/en/latest/sinkerscript.html) is a simple domain-specific language for specifying addresses in a loaded module programmatically. The [Sinker Compiler](https://sinker.readthedocs.io/en/latest/sinkercompiler.html) makes it easy to amalgamate many Sinker Script files and produce `.def` headers for easy use of the Sinker Runtime Library from C++. The [Sinker Runtime Library](https://sinker.readthedocs.io/en/latest/sinkerruntimelibrary.html) installs the specified hooks into a module at runtime.\n\n## Documentation\n\nThe documentation is hosted on [Read the Docs](https://sinker.readthedocs.io/en/latest/).\n\n## Getting Started\n\nInstructions on how to include Sinker in your CMake project can be found in the [CMake Integration](https://sinker.readthedocs.io/en/latest/cmakeintegration.html) section of the documentation. I recommend reading the rest of the documentation first to get a feel for how Sinker works.\n\n## Contributing\n\nInstructions on how to build and test the project.\n\n### Prerequisites\n\n* Git\n* CMake\n* [re2c](https://github.com/skvadrik/re2c) (Optional\u003csup\u003e†\u003c/sup\u003e)\n* Bison or [WinFlexBison](https://github.com/lexxmark/winflexbison) (Optional\u003csup\u003e†\u003c/sup\u003e)\n\n†\u003csub\u003eOnly needed if editing the Sinker Script grammar file.\u003c/sub\u003e\n\n### Checkout\n\n```sh\ngit clone https://github.com/widberg/sinker.git --recurse-submodules --shallow-submodules\n```\n\n#### Build and Test\n\n```sh\ncmake -B build -DSINKER_BUILD_TESTS=ON\ncmake --build build --target check-sinker\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidberg%2Fsinker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwidberg%2Fsinker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidberg%2Fsinker/lists"}