/bugfinding:symbolic-concolic-executionfrom bugfinding
Guides symbolic and concolic searches for hard-to-reach program paths, with real-target linkage and concrete replay. Use when mutation stalls behind input constraints or when solver-generated counterexamples need validation against actual execution. JavaScript is supported only after an ExpoSE applicability check passes on the target.
Ships in bugfinding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Spend solver work on an identified hard path and replay its candidate through the actual target oracle. KLEE's paper distinguishes intended exact execution from practical failures: "non-determinism in checked code and bugs in KLEE or its models have produced false positives in practice", so generated inputs need native validation (KLEE, §2, p.3).
Inspect the real entrypoint, build, ABI, dependencies and intended property before choosing a solver. KLEE executes LLVM bitcode with optional runtime models; its selected source fails configuration with "KLEE requires LLVM 15 or newer", which is a lower bound rather than an admitted tuple for every newer compiler. SymCC instruments concrete execution with symbolic expressions and documented dependency limits. Verify the selected build, not merely a language name or IR emitter (KLEE build, SymCC README). For JavaScript, read ExpoSE and run its applicability check first; if it fails, report that no supported JavaScript backend exists for the target.
Use existing production code in the driver/build. A reimplementation in another language changes the tested producer. Separate legal-input constraints, concrete setup, environmental assumptions and the assertion; a success stub or concretized dependency can remove the intended path, since the all external-call policy "concretizes any symbolic arguments in calls to external functions" (external-call source, KLEE, §§4 and 5.5). For boundary design and worked cases, read target and environment.
Choose KLEE for a compatible bitcode/model boundary; use KLEE operation and replay for actual compile, input, query-limit and native-replay contracts. Choose a compatible SymCC concrete-path/hybrid lane using concolic operation. One SymCC run follows one concrete path and proposes alternatives: "SymCC is currently a concolic executor. As such, it follows the concrete path." Its QSYM-backend pruning "isn't sound", and its helper's pruning and attempt timeout are not completeness or whole-campaign bounds (SymCC README, helper producer).
Diagnose unreachable code, lost symbolic influence, path growth and expensive queries separately. Keep finished, interrupted, unsupported, pruned and timed-out work distinct. KLEE exposes per-query limits and multiple state-search policies; more generated files or completed paths do not independently establish expected-output correctness, because KLEE checks only "any condition the programmer expresses as C code" (KLEE, §§3.4 and 5.5, solver options, search implementation).
Retain original and generated inputs, symbolic object names/sizes/order, setup, model/build/runtime identity, constraints where useful, raw diagnostics, budgets and actual replay attempts. Replay through the same contract and real producer. KLEE's intrinsic replay checks object identity and exits on "object name mismatch" unless KLEE_RUN_TEST_ERRORS_NON_FATAL is set; its POSIX replay wrapper can return 0 after monitoring a failed child, so wrapper status alone is insufficient (intrinsic replay, POSIX replay loop).
Treat an unreplayed model result as model-bound evidence. Explain concretization, missing fault injection or unsupported behavior rather than invent native confirmation; the paper specifically identifies environment fidelity and native replay as practical concerns: "Our biggest challenge was making system calls fail outside of KLEE" (KLEE, §§2 and 4.3). Use failure-reduction for witness-preserving reduction, evidence-based-triage for attribution, and bounded-model-checking for explicit bounded invariant checking. Those are this pack's responsibility boundaries.
Return the actual target/contract, selected compiler/runtime/solver/model, explored and unresolved scope, cost, exact generated/replay artifacts, and narrowest demonstrated violation. Preserve a zero-finding or unsupported result. For misleading interpretations, read common mistakes. Invocation preserves current target-change, installation, execution and publication authority.
references/common-mistakes.md (opens in a new tab)references/concolic-hybrid-operation.md (opens in a new tab)references/expose-javascript.md (opens in a new tab)references/klee-operation-and-replay.md (opens in a new tab)references/sources.yaml (opens in a new tab)references/target-and-environment.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/computational-bugfinding-skills-plugin --plugin bugfinding26 skills in this plugin
/bounded-model-checkingGuides source-linked CBMC, JBMC and Kani checks with explicit input domains, unwind bounds and executable counterexamples. Use when finite hard paths or invariants merit solver search beyond fuzzing, or when interpreting bounded verification, vacuous success or counterexample playback./bugfinding-campaignGuides compute-budgeted bugfinding campaigns by finding gaps in existing generators, execution models and correctness oracles. Use when choosing what to test next, extending an established fuzzing setup, or deciding whether more compute will produce useful evidence./configuration-differential-testingOther plugins' skills for the same job