generate-signature-for-globalvar

Generate and validate unique RIP-relative signatures for global variable instructions.

60|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/HLND2T/CS2_VibeSignatures --skill generate-signature-for-globalvar-hlnd2t
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-signature-for-globalvar
Source: https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/generate-signature-for-globalvar
Command: npx skills add https://github.com/HLND2T/CS2_VibeSignatures --skill generate-signature-for-globalvar-hlnd2t

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate and validate unique byte signatures for a global variable by analyzing instructions referencing the GV with IDA Pro MCP, enabling reliable location of the GV across binary updates and reducing manual reverse-engineering effort.

Core Features & Use Cases

  • Generate an instruction-based signature that targets a GV-accessing instruction (mov/lea/cmp) and validate its RIP-relative displacement to the GV.
  • Produce comprehensive signature metadata (gv_sig, gv_sig_va, gv_inst_length, gv_inst_disp) for runtime resolution and reuse across updates.
  • Use in scenarios where GV addresses shift between binaries but the GV access pattern remains stable, enabling robust pattern-scanning in reverse-engineered code.

Quick Start

Run the GV signature generation process against your target binary to produce a unique, instruction-based signature.

Frequently Asked Questions about generate-signature-for-globalvar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a unique byte signature for a global variable in a binary?▼

To generate a global variable signature, the Skill identifies an instruction referencing the GV and creates a unique RIP-relative byte signature. It then validates that this signature resolves to the target global variable across binary updates.

What metadata is included when generating a RIP-relative signature for a global variable?▼

Generating a RIP-relative signature produces full metadata including gv_sig, gv_inst_length, and gv_inst_disp. This metadata captures the signature bytes, instruction length, and displacement needed for runtime resolution.

How do I find a global variable when its address shifts between binary updates?▼

Finding a global variable across updates requires an instruction-based signature that targets a stable GV-accessing pattern. This Skill validates the RIP-relative displacement to ensure the signature reliably locates the GV even when addresses change.

Can I adjust the signature search scope if no unique global variable signature is found?▼

Yes, when no unique signature is found, fallback options allow you to adjust the search scope, maximum signature bytes, or target function. These adjustments help isolate a unique instruction-based signature for the global variable.

Does IDA Pro MCP support generating signatures for mov, lea, and cmp instructions?▼

Yes, using IDA Pro MCP, this Skill generates signatures by targeting GV-accessing instructions such as mov, lea, and cmp. It validates the RIP-relative displacement to ensure the pattern matches the intended global variable.