ailogic

Official

Find subtle logic bugs in C code with radare2.

Authorradareorg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you uncover logic bugs that compilers won’t catch in C code by scrutinizing control flow, state transitions, and unchecked assumptions within radare2 workflows.

Core Features & Use Cases

  • Control-flow driven auditing: Disassembles functions and traces every branch to spot missing cases, inverted conditions, early-return cleanup gaps, and fallthrough hazards.
  • State and loop integrity checking: Verifies variable initialization/mutation/consumption, detects stale state across calls, and catches off-by-one and non-terminating loop patterns.
  • Error-path and assumption validation: Ensures return values and IO/parse outcomes are checked on all paths, and flags silent assumptions (e.g., non-empty lists, NUL-terminated buffers).
  • Actionable reporting workflow: Produces an append-only, dated report that structures findings into task blocks with severity and fix guidance.

Quick Start

Use the ailogic skill to audit a suspected radare2 C function by tracing its control flow and state usage, validating all error paths, and outputting an append-only report (default: ailogic-report.md).

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ailogic
Download link: https://github.com/radareorg/radare2-skills/archive/main.zip#ailogic

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.