Logo vun Find CNetworkStringTableContainer RemoveAllTables

Find CNetworkStringTableContainer RemoveAllTables

Organisatioun
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

Iwwersiicht

EditeurHLND2T
RepositoryCS2_VibeSignatures
Skill-Nummfind-CNetworkStringTableContainer_RemoveAllTables
Stären
67
Forks
11
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum HLND2T op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Find CNetworkStringTableContainer RemoveAllTables an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkStringTableContainer_RemoveAllTables
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Find CNetworkStringTableContainer RemoveAllTables an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Find CNetworkStringTableContainer RemoveAllTables automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Find CNetworkStringTableContainer RemoveAllTables net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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...

Firwat Find CNetworkStringTableContainer RemoveAllTables op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Find CNetworkStringTableContainer RemoveAllTables besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Find CNetworkStringTableContainer RemoveAllTables an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkStringTableContainer_RemoveAllTables an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Find CNetworkStringTableContainer RemoveAllTables benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Find CNetworkStringTableContainer RemoveAllTables benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Find CNetworkStringTableContainer RemoveAllTables domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Find CNetworkStringTableContainer RemoveAllTables gratis?

Jo. De Skill gëtt vum HLND2T ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇