binary-configuration-patcher
Installation
SKILL.md
Binary Configuration Patcher
Overview
Pattern for distributing a single patcher tool that embeds platform-specific configuration into precompiled binaries. Uses xxd -i to embed unpatched binaries as C arrays, then patches configuration at a known signature offset.
Architecture
Build Phase:
hived-<platform>-unpatched (ELF binary)
|
xxd -i (convert to C byte array)
|
_unpatched_<platform>.h (C header with embedded bytes)
|
patcher.c (compiled with all platform headers)