@superagents-lab/c-bounds-safety

|

View in AI SkillSafe app
0 downloads
0 stars
0 demos
SKILL.md
namec-bounds-safety
description|
efforthigh
when_to_use|

How to Use This Skill

When helping with -fbounds-safety adoption or code changes, ask clarifying questions about the user's codebase and goals before suggesting changes. For complex tasks involving multiple files or non-trivial annotation decisions, use plan mode to propose an approach before implementing.

-fbounds-safety Language Extension

-fbounds-safety is a C language extension that prevents out-of-bounds memory access by enforcing bounds safety at the language level. It inserts automatic bounds checks at runtime, rejects unsafe pointer operations at compile time, and requires programmers to provide bounds annotations so the compiler can guarantee safety. Out-of-bounds accesses become deterministic traps instead of exploitable vulnerabilities.

Detailed Documentation

Required reading before adoption work

You MUST have fully read the following three documents (via the Read tool) at the start of an adoption task, and re-read them via the Read tool before any source-modifying step in the adoption workflow unless their content is verifiably fresh in your active context:

Other references (read on demand)

For compiler flags, Xcode build settings, soft trap mode, and ptrcheck.h configuration, read build-settings.md.

For debugging bounds violations at runtime — trap behavior, LLDB commands, wide pointer inspection, watchpoints, crash log analysis, and soft trap debugging, read runtime-debugging.md.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@superagents-lab/c-bounds-safety/verified)](https://skillsafe.ai/skill/@superagents-lab/c-bounds-safety/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@superagents-lab/c-bounds-safety/installs)](https://skillsafe.ai/skill/@superagents-lab/c-bounds-safety/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@superagents-lab/c-bounds-safety/scan)](https://skillsafe.ai/skill/@superagents-lab/c-bounds-safety/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@superagents-lab/c-bounds-safety/eval)](https://skillsafe.ai/skill/@superagents-lab/c-bounds-safety/)