{"id":28586098,"url":"https://github.com/x64dbg/plugintemplate","last_synced_at":"2025-06-11T06:32:55.045Z","repository":{"id":65984697,"uuid":"69167121","full_name":"x64dbg/PluginTemplate","owner":"x64dbg","description":"Plugin template for x64dbg.","archived":false,"fork":false,"pushed_at":"2025-03-14T23:37:34.000Z","size":848,"stargazers_count":101,"open_issues_count":0,"forks_count":36,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-03-15T00:27:27.153Z","etag":null,"topics":["cmake","cpp","template","x64dbg","x64dbg-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.x64dbg.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x64dbg.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}},"created_at":"2016-09-25T13:49:44.000Z","updated_at":"2025-03-14T23:34:32.000Z","dependencies_parsed_at":"2025-03-15T05:31:39.700Z","dependency_job_id":null,"html_url":"https://github.com/x64dbg/PluginTemplate","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x64dbg%2FPluginTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x64dbg%2FPluginTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x64dbg%2FPluginTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x64dbg%2FPluginTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x64dbg","download_url":"https://codeload.github.com/x64dbg/PluginTemplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x64dbg%2FPluginTemplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259214265,"owners_count":22822852,"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":["cmake","cpp","template","x64dbg","x64dbg-plugin"],"created_at":"2025-06-11T06:30:49.007Z","updated_at":"2025-06-11T06:32:55.032Z","avatar_url":"https://github.com/x64dbg.png","language":"C++","readme":"# PluginTemplate\r\n\r\nTemplate CMake project for x64dbg plugins. This uses [cmkr](https://cmkr.build), `cmake.toml` contains the project configuration.\r\n\r\n## Using the template\r\n\r\nYou can click the green *Use this template* button. See the article [*Creating a repository from a template*\r\n](https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) by GitHub for more details.\r\n\r\nAlternatively you can download a ZIP of this repository and set up the template locally.\r\n\r\n## Getting started\r\n\r\n- Pretty much all of the available functionality can be found in [`bridgemain.h`](https://github.com/x64dbg/x64dbg/blob/97ff1ec98a5bbf543e6d80ebbbd2401edf6c8cca/src/bridge/bridgemain.h).\r\n- You can find some (commented) example code in [`src/plugin.cpp`](./src/plugin.cpp).\r\n- Example plugins: https://plugins.x64dbg.com.\r\n- References:\r\n  - https://help.x64dbg.com/en/latest/developers/plugins/index.html\r\n  - https://x64dbg.com/blog/2016/10/04/architecture-of-x64dbg.html\r\n  - https://x64dbg.com/blog/2016/10/20/threading-model.html\r\n  - https://x64dbg.com/blog/2016/07/30/x64dbg-plugin-sdk.html\r\n\r\n## Building\r\n\r\nFrom a Visual Studio command prompt:\r\n\r\n```\r\ncmake -B build64 -A x64\r\ncmake --build build64 --config Release\r\n```\r\n\r\nYou will get `build64\\PluginTemplate.sln` that you can open in Visual Studio.\r\n\r\nTo build a 32-bit plugin:\r\n\r\n```\r\ncmake -B build32 -A Win32\r\ncmake --build build32 --config Release\r\n```\r\n\r\nAlternatively you can open this folder in Visual Studio/CLion/Qt Creator.\r\n\r\n![building animation](https://github.com/x64dbg/PluginTemplate/blob/3951eb4b320b7a26164616ab5141414e8cd5b0a1/building.gif?raw=true)\r\n\r\n## Creating releases\r\n\r\nThis template has GitHub Actions set up in [`.github/workflows/build.yml`](./.github/workflows/build.yml). If you push a tag prefixed with `v` (for instance `v1.0`) it will automatically publish a GitHub release with the plugin binaries compiled for both architectures.\r\n\r\n## Automatic reloading\r\n\r\nYou can set up the [PluginDevHelper](https://github.com/x64dbg/PluginDevHelper) utility to automatically unload and reload the plugin from x64dbg when compiling. See the README there for more detailled instructions.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx64dbg%2Fplugintemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx64dbg%2Fplugintemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx64dbg%2Fplugintemplate/lists"}