一键导入
memory-safety
Memory safety theory and practice, language-agnostic: spatial/temporal violation classes (buffer overflow, use-after-free, double-free, dangling pointers, uninitialized reads, type confusion), ownership and lifetime models (RAII, borrow checking, reference counting, GC, exclusivity), sanitizers (ASan/TSan/UBSan/MSan), and hardware mitigations (ASLR, W^X, stack canaries, PAC, MTE, CHERI). Use when reviewing unsafe/low-level code, diagnosing memory corruption or crashes (segfault, heap corruption, UAF), choosing ownership strategies, or hardening builds. For C bounds annotations use c-bounds-safety; for Xcode hardening settings use audit-xcode-security-settings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。