Logo de Find CNetworkStringTableContainer RemoveAllTables

Find CNetworkStringTableContainer RemoveAllTables

Organisation
HLND2T
find-CNetworkStringTableContainer_RemoveAllTables

Final-guarantee fallback for the find-CNetworkStringTableContainer_RemoveAllTables preprocessor. Recovers CNetworkStringTableContainer::RemoveAllTables in CS2 engine2.dll / libengine2.so by anchoring on its debug string and intersecting the hits with the CNetworkStringTableContainer vtable, so both the inlined and the de-inlined build shapes are covered. Use when the deterministic preprocessor (ida_preprocessor_scripts/find-CNetworkStringTableContainer_RemoveAllTables.py) cannot resolve the vfunc because the string gained extra call sites or the body moved across the inline boundary. Trigger: CNetworkStringTableContainer_RemoveAllTables, CNetworkStringTableContainer::RemoveAllTables

Présentation

ÉditeurHLND2T
DépôtCS2_VibeSignatures
Nom de la compétencefind-CNetworkStringTableContainer_RemoveAllTables
Étoiles
67
Forks
11
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par HLND2T sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Find CNetworkStringTableContainer RemoveAllTables dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkStringTableContainer_RemoveAllTables
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HLND2T/CS2_VibeSignatures.git /tmp/CS2_VibeSignatures
mkdir -p .claude/skills
cp -r /tmp/CS2_VibeSignatures/.claude/skills/find-CNetworkStringTableContainer_RemoveAllTables .claude/skills/find-CNetworkStringTableContainer_RemoveAllTables
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Find CNetworkStringTableContainer RemoveAllTables dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Find CNetworkStringTableContainer RemoveAllTables dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Find CNetworkStringTableContainer RemoveAllTables n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Find CNetworkStringTableContainer_RemoveAllTables (final-guarantee fallback)

Recover CNetworkStringTableContainer::RemoveAllTables in CS2 engine2.dll / libengine2.so using IDA Pro MCP tools. This is the Agent fallback: it runs only when the preprocessor returned failure.

Realworld Function References

Read the platform-relevant source-owned artifacts before searching in IDA. Treat every address, offset, and index below as a reference-build value; verify each one against the current binary.

  • bin_artifacts/14191/engine/CNetworkStringTableContainer_vtable.windows.yaml
  • bin_artifacts/14191/engine/CNetworkStringTableContainer_vtable.linux.yaml
  • bin_artifacts/14191/engine/CNetworkStringTableContainer_RemoveAllTables.windows.yaml
  • bin_artifacts/14191/engine/CNetworkStringTableContainer_RemoveAllTables.linux.yaml
  • ida_preprocessor_scripts/references/engine/CNetworkStringTableContainer_WriteBaselines.windows.yaml
  • ida_preprocessor_scripts/references/engine/CNetworkStringTableContainer_WriteBaselines.linux.yaml

The WriteBaselines references are sibling methods on the same class; they help confirm you are inside CNetworkStringTableContainer and not in a look-alike container.

Background — what RemoveAllTables does

RemoveAllTables walks the container's table array, releases every live INetworkStringTable through its deleting destructor (slot 0 called with argument 1), then zeroes the count and frees the array through g_pMemAlloc. Under a debug log channel it first emits:

"%s: CNetworkStringTableContainer::RemoveAllTables:  removing %d tables\n"

The %s is INetworkStringTableContainer::GetName(), a trailing accessor that returns the string stored at this + 0x28 ("SV" on the server container, "CL" on the client one). Do not confuse that accessor with the target — it is a different vtable slot and contains no table-walking loop.

Robustness principle — anchor on the string, disambiguate with the vtable

The debug string is the stable semantic anchor, but it is not unique: call sites get inlined into unrelated functions over time (on 14191 the Windows build has four string xrefs — the vfunc itself plus SV_InstallHLTVStringTableMirrors and two static initializers). Never accept a "single xref" answer and never accept the first hit.

The discriminator is the vtable: intersect the string-xref candidate set with CNetworkStringTableContainer_vtable's entries. Exactly one candidate must survive. This works whether the body is inlined into the vfunc (14191) or de-inlined behind a string-owning helper (14181), because either way the vtable slot points at a function that contains — or immediately reaches — the logging call.

Output inventory

#Output symbolKindWindowsLinuxWriter skill
1CNetworkStringTableContainer_RemoveAllTablesreal vtable vfuncindex 13 / offset 0x68index 14 / offset 0x70/write-vfunc-as-yaml
2CNetworkStringTableContainer_vtablevtableexpected_input, not produced hereexpected_input, not produced here—

Platform gating: the target is produced on both platforms. Offsets/indices above are reference values from build 14191 — derive them from the current binary, do not assume.

Step 0. Skip an existing output

If CNetworkStringTableContainer_RemoveAllTables.<platform>.yaml already exists in the active artifact module directory and parses to a non-empty mapping, skip that platform. Never derive the artifact path from the binary directory; use the directory reported by the analyzer (also readable as CS2VIBE_ARTIFACT_DIR).

Step 1. Load the container vtable

ALWAYS Use SKILL /get-vtable-from-yaml with class_name=CNetworkStringTableContainer to obtain the authoritative vtable_va, vtable_size, vtable_numvfunc, and vtable_entries for the current build. This CNetworkStringTableContainer_vtable.{platform}.yaml is this skill's expected_input, so it must already exist when the fallback runs. If /get-vtable-from-yaml errors, STOP and report to the user.

Step 2. Collect the string-xref candidates

Enumerate C strings and resolve every xref to its containing function. Keep the full set — do not stop at the first hit:

mcp__ida-pro-mcp__py_eval code="""
import idautils, ida_nalt, idc, ida_funcs
strings = idautils.Strings(default_setup=False)
strings.setup(strtypes=[ida_nalt.STRTYPE_C], minlen=4)
needle = "CNetworkStringTableContainer::RemoveAllTables:  removing %d tables"
cands = set()
for s in strings:
    if needle in str(s):
        print('string', hex(s.ea), str(s)[:80])
        for xr in idautils.XrefsTo(s.ea, 0):
            f = ida_funcs.get_func(xr.frm)
            if f:
                cands.add(f.start_ea)
                print('   xref', hex(xr.frm), 'in', hex(f.start_ea), idc.get_func_name(f.start_ea))
print('CANDIDATES', [hex(a) for a in sorted(cands)])
"""

If the string is missing entirely (logging compiled out on this build), STOP and report — the anchor set must be extended; do not guess an address.

Step 3. Intersect with the vtable entries

Keep only candidates that are entries of CNetworkStringTableContainer_vtable:

mcp__ida-pro-mcp__py_eval code="""
import yaml, os, idaapi
d = os.environ.get('CS2VIBE_ARTIFACT_DIR') or os.path.dirname(idaapi.get_input_file_path())
plat = 'windows' if idaapi.get_input_file_path().endswith('.dll') else 'linux'
v = yaml.safe_load(open(os.path.join(d, f'CNetworkStringTableContainer_vtable.{plat}.yaml'), encoding='utf-8'))
entries = {int(str(a), 16): int(k) for k, a in v['vtable_entries'].items()}
cands = {0x0, 0x0}  # <-- paste CANDIDATES from Step 2
print('vtable_numvfunc', v['vtable_numvfunc'])
for c in sorted(cands):
    print(hex(c), '-> vtable index', entries.get(c, 'NOT IN VTABLE'))
"""

Exactly one candidate must map to an index. Set:

  • vtable_name = CNetworkStringTableContainer_vtable — the artifact stem, matching what the preprocessor and the tracked bin_artifacts YAML use. Do not write the bare class name here.
  • vfunc_index = <the matching entry index>
  • vfunc_offset = vfunc_index * 8

If zero candidates match, the body is de-inlined behind a helper. Enumerate the functions each candidate calls, decompile them, and look for the one that returns its first argument (this) and performs the table-freeing loop; then re-run the vtable intersection on that callee. If more than one candidate matches, or the callee search is ambiguous, STOP and report which candidates survived — do not pick one by position.

On reference build 14191 this yields Windows index 13 / offset 0x68 and Linux index 14 / offset 0x70.

Step 4. Confirm the candidate is the table-walking vfunc

Decompile the resolved function and confirm both markers:

  • a LoggingSystem_Log (or equivalent) call passing the removing %d tables format;
  • a loop over the table array that calls the deleting destructor of each element ((**elem)(elem, 1)) and then zeroes the count and frees the array.

Reject a candidate that only logs or only frees — it is a sibling method or a stale call site.

Rename the function if the database does not already name it that way:

mcp__ida-pro-mcp__rename batch={"func":[{"addr":"<start>","name":"CNetworkStringTableContainer_RemoveAllTables"}]}

Step 5. Generate the signature and write the YAML

  1. ALWAYS Use SKILL /generate-signature-for-function with addr=<resolved start> to obtain a fresh, validated func_sig.
  2. ALWAYS Use SKILL /write-vfunc-as-yaml with:
    • func_name: CNetworkStringTableContainer_RemoveAllTables
    • func_addr: the resolved function start
    • func_sig: the signature from step 1
    • vtable_name: CNetworkStringTableContainer_vtable
    • vfunc_offset: vfunc_index * 8 (from Step 3)
    • vfunc_index: from Step 3

Do not write a partial YAML: func_name, func_va, func_rva, func_size, func_sig, vtable_name, vfunc_offset, and vfunc_index are all required. Emit only the platform currently being processed.

The vtable_name value must be the artifact stem CNetworkStringTableContainer_vtable, not the bare class name — the preprocessor emits that stem and bin_artifact_contract.py compares the artifact byte-for-byte against the canonical form.

Failure handling

  • CNetworkStringTableContainer_vtable.<platform>.yaml missing → STOP and report (the skill's expected_input is absent).
  • The removing %d tables string resolves to no function → STOP and report which anchor failed.
  • More than one candidate survives the vtable intersection → STOP and report the survivors.
  • Never emit the symbol on the wrong platform, and never reuse a previous build's func_va/vfunc_index.

Output YAML filenames

Written under the analyzer-reported artifact module directory, one file per platform:

  • Windows (engine2.dll): CNetworkStringTableContainer_RemoveAllTables.windows.yaml
  • Linux (libengine2.so): CNetworkStringTableContainer_RemoveAllTables.linux.yaml

Why this is robust

  • The function is anchored by a class-specific debug string, then disambiguated by the vtable entry set, so the extra inline call sites that break a "unique string xref" search cannot mislead it.
  • The vtable slot is derived from the resolved address, so a vtable reorder is absorbed instead of repeated.
  • Following the de-inline boundary covers the case where the string-owning body moves into a helper that receives this as its first argument.

Foire aux questions

À quoi sert la compétence IA Find CNetworkStringTableContainer RemoveAllTables ?

Final-guarantee fallback for the find-CNetworkStringTableContainer_RemoveAllTables preprocessor. Recovers CNetworkStringTableContainer::RemoveAllTables in CS2 engine2.dll / libengine2.so by anchoring on its debug string and intersecting the hits with the CNetworkStringTableContainer vtable, so both the inlined and the de-inlined build shapes are covered. Use when the deterministic preprocessor (ida_preprocessor_scripts/find-CNetworkStringTableContainer_RemoveAllTables.py) cannot resolve the vfunc because the string gained extra call sites or the body moved across the inline boundary. Trigge...

Pourquoi utiliser Find CNetworkStringTableContainer RemoveAllTables sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Find CNetworkStringTableContainer RemoveAllTables se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Find CNetworkStringTableContainer RemoveAllTables dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkStringTableContainer_RemoveAllTables. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Find CNetworkStringTableContainer RemoveAllTables ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Find CNetworkStringTableContainer RemoveAllTables ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Find CNetworkStringTableContainer RemoveAllTables avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Find CNetworkStringTableContainer RemoveAllTables est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par HLND2T sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇