get-vtable-index

Locate a function's vtable offset and index from its address in IDA Pro.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Locate the position of a function within a vtable by locating its offset and index, using IDA Pro MCP to drive the analysis.

Core Features & Use Cases

  • Determine a function's vtable offset and index by scanning vtable entries to produce a precise vfunc_offset and vfunc_index.
  • Works with C++ class vtables in IDA Pro MCP workflows to facilitate reverse-engineering, patching, or instrumentation.
  • Use case: identify the exact slot of a virtual function to patch behavior or understand inheritance structures in a binary.

Quick Start

Provide a function address and class context to the tool and run the script to output its vtable offset and index.

Frequently Asked Questions about get-vtable-index

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

FAQPage Schema
How do I find a function's vtable offset and index during binary reverse engineering?

To find a function's vtable offset and index during binary reverse engineering, you provide the function address and class context to analyze C++ vtable entries and pinpoint the exact virtual function slot.

What is the best way to locate a virtual function's position in a C++ vtable?

Locating a virtual function's position in a C++ vtable requires scanning vtable entries with a known function address to derive its precise vfunc_offset and vfunc_index for patching or instrumentation.

Does this vtable analysis approach work with IDA Pro MCP workflows?

Yes, this vtable analysis approach works with IDA Pro MCP workflows, utilizing the provided function address and class context to drive the inspection of vtable entries and identify the target slot.

What do I need to identify a vtable slot for a specific C++ class function?

To identify a vtable slot for a specific C++ class function, you need the target function's address and the associated class context to successfully scan and locate the correct vtable entry.

Why do I need the class context to determine a virtual function's vtable index?

You need the class context to determine a virtual function's vtable index because C++ inheritance structures create multiple vtables, and the context ensures the correct table entries are scanned for the target function address.

When should I use vtable offset analysis in binary analysis tasks?

You should use vtable offset analysis in binary analysis tasks when you need to understand C++ inheritance structures, patch virtual function behavior, or perform precise instrumentation on a target binary.