bindgen-binding
OfficialGo bindings from C headers with tests.
AuthorHyperDbg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generates Go bindings from C headers and creates DLL bindings with unit tests to streamline binding native libraries for Go projects.
Core Features & Use Cases
- End-to-end bindgen workflow: configure header sources, output directory, package name, and optional DLL bindings, then generate Go bindings and unit tests.
- Supports binding of popular libraries (e.g., WinDivert, Everything-SDK, zydis, keystone) and regenerating bindings with TestGenerate when sources change.
- Provides guidance for MSVC-based environments, header order, and test scaffolding to ensure ABI compatibility and correct type mappings.
Quick Start
Run the bindgen workflow to generate and validate Go bindings for a new C library by editing dep/bindgen/generate_test.go and running the test pipeline to regenerate code and execute tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bindgen-binding Download link: https://github.com/HyperDbg/gui/archive/main.zip#bindgen-binding Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.