Skip to content
Back to skills

417 Vfunc Sig 9dfecfa2

ASecurity

`vfunc_sig` is an alternate virtual-function relocation signature used when `func_sig` is unavailable or unstable.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
data

Works with

  • mcp

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 417-vfunc_sig_9dfecfa2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 417 Vfunc Sig 9dfecfa2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 417 Vfunc Sig 9dfecfa2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-417-vfunc-sig-9dfecfa2/badge)](https://www.skillsdirectory.com/skills/tools-only-417-vfunc-sig-9dfecfa2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# vfunc_sig

## Overview
`vfunc_sig` is an alternate virtual-function relocation signature used when `func_sig` is unavailable or unstable.

## Field Context
- Related YAML fields: `vfunc_sig`, `vtable_name`, `vfunc_index`, `vfunc_offset` (and occasionally `vfunc_inst_offset`).
- Typical role: anchor to a virtual-call pattern tied to a vtable slot.

## Generation Principle
- In this repository, `vfunc_sig` is typically produced by the skill `/generate-signature-for-vfuncoffset`.
- The anchor is a virtual-call instruction encoding vtable slot displacement (e.g., indirect call/jump via `[reg+imm]`).
- Signature growth is forward from the target instruction; default workflow documents `vfunc_sig_disp = 0`.
- Candidates are validated by uniqueness (`find_bytes`) and robustness.
- The shortest valid unique pattern is selected.
- Slot-related displacement bytes are intentionally preserved/represented so the signature remains slot-specific.

## Usage Method
- In `preprocess_func_sig_via_mcp`, `vfunc_sig` is a fallback path used when old YAML has no `func_sig`.
- Required metadata:
  - `vfunc_sig`
  - `vtable_name`
  - and `vfunc_index` or `vfunc_offset`
- Flow:
  1. Unique-match `vfunc_sig` in new binary.
  2. Load/generate target vtable YAML.
  3. Resolve function VA via `vtable_entries[vfunc_index]`.
  4. Query function info and emit function YAML with vfunc metadata.

## Downstream Use
- Dist gamedata modules mainly consume `vfunc_index` (offset metadata), not `vfunc_sig` directly.
- `vfunc_sig` is primarily used by analysis/preprocess relocation pipelines.

## Practical Notes
- Use when function-head signatures are weak but vtable slot identity is stable.
- Keep `vfunc_index` / `vfunc_offset` internally consistent (`offset = index * 8` in current 64-bit assumptions).
- Reject non-unique signatures.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.