address-sanitizer

Detect memory errors in C/C++ code with AddressSanitizer during fuzzing.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/fjor1025/InfoSec-Framework --skill address-sanitizer-fjor1025
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: address-sanitizer
Source: https://github.com/fjor1025/InfoSec-Framework/tree/main/ClaudeSkills/plugins/testing-handbook-skills/skills/address-sanitizer
Command: npx skills add https://github.com/fjor1025/InfoSec-Framework --skill address-sanitizer-fjor1025

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers find memory corruption bugs like buffer overflows and use-after-free errors in C/C++ code during the testing and fuzzing phases.

Core Features & Use Cases

  • Memory Error Detection: Identifies critical memory safety violations.
  • Fuzzing Integration: Seamlessly integrates with fuzzing tools like libFuzzer and AFL++.
  • Use Case: When fuzzing a C library, use this Skill to compile the target with AddressSanitizer enabled, allowing the fuzzer to uncover memory bugs that could lead to crashes or security vulnerabilities.

Quick Start

Compile your C++ program with AddressSanitizer enabled using the clang compiler.

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 errors like buffer overflows during fuzzing?

To detect memory errors like buffer overflows during fuzzing, compile your C/C++ program with AddressSanitizer enabled. This adds runtime checks to uncover memory corruption bugs and use-after-free errors during testing.

Does AddressSanitizer work with libFuzzer and AFL++?

AddressSanitizer integrates seamlessly with fuzzing tools like libFuzzer and AFL++. By enabling compile-time instrumentation, it allows these fuzzers to effectively uncover memory bugs that could lead to crashes or vulnerabilities.

What is the best way to find use-after-free vulnerabilities in C++ code?

The best way to find use-after-free vulnerabilities in C++ code is to use AddressSanitizer during testing. It identifies critical memory safety violations by enabling compile-time instrumentation and runtime checks.

How do I compile a C library with AddressSanitizer enabled?

To compile a C library with AddressSanitizer enabled, use the clang compiler with the appropriate flags. This setup allows the fuzzer to uncover memory bugs that could lead to security vulnerabilities in your codebase.

Why do I need AddressSanitizer for fuzzing C/C++ applications?

You need AddressSanitizer for fuzzing C/C++ applications to satisfy the need for robust memory safety validation. It detects memory corruption bugs during the fuzzing phases that could otherwise lead to security vulnerabilities.

Can AddressSanitizer identify use-after-free and buffer overflow errors?

AddressSanitizer identifies critical memory safety violations including buffer overflows and use-after-free errors. It detects these memory corruption bugs in C/C++ code during the testing and fuzzing phases.