Template CMake project for x64dbg plugins. This uses cmkr, cmake.toml
contains the project configuration.
You can click the green Use this template button. See the article Creating a repository from a template by GitHub for more details.
Alternatively you can download a ZIP of this repository and set up the template locally.
- Pretty much all of the available functionality can be found in
bridgemain.h
. - You can find some (commented) example code in
src/plugin.cpp
. - Example plugins: https://plugins.x64dbg.com.
- References:
From a Visual Studio command prompt:
cmake -B build64 -A x64
cmake --build build64 --config Release
You will get build64\PluginTemplate.sln
that you can open in Visual Studio.
To build a 32-bit plugin:
cmake -B build32 -A Win32
cmake --build build32 --config Release
Alternatively you can open this folder in Visual Studio/CLion/Qt Creator.
This template has GitHub Actions set up in .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.
You can set up the PluginDevHelper utility to automatically unload and reload the plugin from x64dbg when compiling. See the README there for more detailled instructions.