# fmudflap

Tells the compiler to instrument risky pointer operations to prevent buffer overflows and invalid heap use. This is a deprecated option that may be removed in a future release.

## Syntax

Linux: | -fmudflap

macOS: | None

Windows: | None

## Arguments

None

## Default

OFF | The compiler does not instrument risky pointer operations.

## Description

Tells the compiler to instrument risky pointer operations to prevent buffer overflows and invalid heap use. It requires gcc 4.0 or newer.

This is a deprecated option that may be removed in a future release. There is no replacement option. You can consider using the Pointer Checker options (such as option check-pointers).

When using option fmudflap, you must specify linker option -lmudflap in the link command line to resolve references to the libmudflap library.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Data Options