AddressSanitizer
技能 活跃AddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.
To enable developers to effectively use AddressSanitizer for finding memory corruption bugs in C/C++ code during fuzzing and testing.
功能
- Detects memory errors like buffer overflows and use-after-free
- Integrates with C/C++ compilation toolchains (Clang/GCC)
- Configurable runtime options via environment variables
- Provides step-by-step integration guides for fuzzers (libFuzzer, AFL++, cargo-fuzz)
- Includes troubleshooting for common ASan issues
使用场景
- Fuzzing C/C++ code to find memory safety vulnerabilities
- Debugging crashes related to memory corruption
- Enhancing unit test suites with memory error detection
- Improving the security posture of C/C++ projects
非目标
- Applying ASan in production environments due to performance overhead
- Fuzzing pure safe languages without FFI or platforms with limited ASan support (Windows, macOS)
- Replacing fundamental fuzzing techniques or harness writing
- Detecting non-memory-related bugs
工作流
- Compile C/C++ code with AddressSanitizer flags (`-fsanitize=address`)
- Configure ASan runtime behavior using `ASAN_OPTIONS` environment variable
- Run the instrumented program or fuzzer
- Analyze ASan's detailed error reports when memory errors are detected
- Adjust fuzzer memory limits if necessary for ASan's virtual memory requirements
Trust
- warning:Issues Attention13 issues opened, 4 closed in the last 90 days, indicating a low closure rate and slow maintainer response.
安装
请先添加 Marketplace
/plugin marketplace add trailofbits/skills/plugin install testing-handbook-skills@trailofbits质量评分
类似扩展
LibFuzzer
95Coverage-guided fuzzer built into LLVM for C/C++ projects. Use for fuzzing C/C++ code that can be compiled with Clang.
AFL++ Fuzzer
95AFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.
使用我的浏览器
100当工作依赖于用户实时浏览器会话或可见的渲染状态,而不是静态抓取时使用,尤其是在浏览器调试上下文或 DevTools 选择的元素或请求、登录仪表板或 CMS 流程、localhost 应用、上传、下载、媒体检查、DOM 或 iframe 检查、Shadow DOM,或看起来像软 404、身份验证墙、反机器人检查或速率限制的浏览器故障时。
Node Connect
100Diagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
Openclaw Debugging
100Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.
Ctx Doctor
100运行 context-mode 诊断。检查运行时、钩子、FTS5、 插件注册、npm 和 marketplace 版本。 触发器:/context-mode:ctx-doctor