One-click install
npx skills add https://github.com/dakshrawat298-gif/SOL-ALPHA-GUARDIAN --skill address-sanitizer-dakshrawat298-gif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: address-sanitizer
Source: https://github.com/dakshrawat298-gif/SOL-ALPHA-GUARDIAN/tree/main/packages/skills/skills/testing-handbook-skills/skills/address-sanitizer
Command: npx skills add https://github.com/dakshrawat298-gif/SOL-ALPHA-GUARDIAN --skill address-sanitizer-dakshrawat298-gif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AddressSanitizer detects memory safety violations during fuzzing. It helps find buffer overflows and use-after-free bugs that often cause crashes and security issues.

Core Features & Use Cases

  • Instrumented runtime checks that detect memory safety violations while the target runs
  • Shadow memory tracking that surfaces errors during fuzzing of C/C++ code
  • Use cases include fuzzing, debugging memory issues, and validating safety in software tests

Quick Start

Compile your fuzz target with -fsanitize=address and run it to enable runtime memory error detection.

Frequently Asked Questions about address-sanitizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect memory safety violations during C/C++ fuzzing?

To detect memory safety violations during C/C++ fuzzing, compile your fuzz target with the -fsanitize=address flag. This enables compile-time instrumentation and runtime shadow memory tracking to uncover errors while the target runs.

What memory errors does AddressSanitizer find in C/C++ code?

AddressSanitizer finds memory errors in C/C++ code such as buffer overflows and use-after-free bugs. It uses instrumented runtime checks to surface these safety violations, which often cause crashes and security issues during testing.

Does AddressSanitizer work with fuzzing on macOS and Linux?

Yes, AddressSanitizer works across Linux and macOS environments. It requires compile-time instrumentation and runtime shadow memory to detect memory safety bugs during fuzzing and testing on these platforms.

How do I enable runtime memory error detection during testing?

To enable runtime memory error detection during testing, compile your target using the -fsanitize=address flag. This activates shadow memory tracking and instrumented runtime checks to validate software safety.

Why should I use compiler instrumentation for crash detection?

Compiler instrumentation is used for crash detection to actively monitor memory operations at runtime. By tracking shadow memory, it reliably surfaces buffer overflows and use-after-free bugs that cause security vulnerabilities.