Logo van Binary Structure Assembly

Binary Structure Assembly

Community
Sahil-SS9
binary-structure-assembly

Read binary structure and assembly fluently: formats, disassembly quality loops and decompiler-correction technique.

Overzicht

UitgeverSahil-SS9
Repositoryagent-personas
Skillnaambinary-structure-assembly
Sterren
67
Forks
4
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 1 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Sahil-SS9 op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Binary Structure Assembly in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Sahil-SS9/agent-personas/tree/main/skills/binary-structure-assembly
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Sahil-SS9/agent-personas.git /tmp/agent-personas
mkdir -p .claude/skills
cp -r /tmp/agent-personas/skills/binary-structure-assembly .claude/skills/binary-structure-assembly
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Binary Structure Assembly in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Binary Structure Assembly automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Binary Structure Assembly niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Binary structure and assembly

Understand what a binary is made of and read it the way its compiler wrote it. Static craft is the backbone of every later stage.

When to use

Any static analysis of executable artefacts: understanding file formats, disassembly, decompilation, data, and code lineage.

Procedure

  1. Map the format first: headers, sections/segments, symbols, relocations, imports, resources, certificates. Know what each part claims and verify the claims against bytes (entry point reachable? sizes consistent? overlays present?).
  2. Establish the build: architecture, ABI, calling convention, compiler fingerprint, linkage (static/dynamic), presence of RTTI or symbols. Every later judgement is conditional on this step.
  3. Disassemble with intent: functions are found by pattern and call-graph; find the boundary-missing regions and understand why (non-returning functions, opaque predicates, jumptables, data-in-code) before trusting surrounding code.
  4. Maintain an analysis-quality loop: entropy/overview scan → error bookmarks → correct signatures (including non-returning marks, variadic overrides, custom conventions) → define structures/classes incl. vftables → re-decompile → re-check. Decompiler output is evidence to correct, never truth; in_/unaff_/extraout_ variables, p-code leaking into views and addresses assigned to locals are standard defect signatures with standard fixes.
  5. Data before code: type the memory (strings, constants, structures) the code touches; retyping data usually explains more than re-reading code.
  6. Track lineage: when a family relation is suspected, run differential comparison (function-level matching by exact/similar signatures and reference structure, accepted only where semantics agree, not where scores merely look high). When two versions are available, identify homologous functions, inspect the actual changed logic, verify the intended fix, and check later versions for regression rather than treating a changed hash as proof.
  7. Preserve reusable analysis state locally where the host supports it: confirmed function identities, named regions, patterns, findings and session notes must carry confidence and binary identity. Never treat inferred names or prior findings as confirmed without rechecking them against the current artefact.
  8. Automate deliberately: headless, scriptable workflows repeat the loop over many artefacts; keep scripts deterministic, versioned and logged so their conclusions are reproducible.

Decision rules

  • A decompiled function you cannot explain in one sentence is not understood; dig or declare.
  • Analysis assumptions (calling convention, return type, mutability) are recorded where they were changed, so corrections are auditable.
  • Timeboxed rabbit-holing: when a region resists, note the resistance and move on; the call graph often explains it later.
  • Prefer correcting the analysis over forcing the conclusion: if the decompiler disagrees with your reading, check the assumption before overriding output.

Pitfalls

  • Trusting decompiler output verbatim, especially around undefined behaviour and compiler corner cases.
  • Reading x86-64 disassembly without the ABI: sizes, caller/callee-saved registers and flag semantics are where misreads begin.
  • Treating packed/encrypted regions as if they were code.

Done

A structural map of the artefact with a corrected, explained decompilation of the regions relevant to the question, documented assumptions, and stated residual blind spots.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Binary Structure Assembly?

Read binary structure and assembly fluently: formats, disassembly quality loops and decompiler-correction technique.

Waarom Binary Structure Assembly gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Binary Structure Assembly bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Binary Structure Assembly in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Sahil-SS9/agent-personas/tree/main/skills/binary-structure-assembly. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Binary Structure Assembly gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Binary Structure Assembly gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Binary Structure Assembly ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Binary Structure Assembly gratis?

Ja. Deze skill is door Sahil-SS9 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇