mirror of
https://github.com/nmap/nmap.git
synced 2026-11-13 16:47:13 +00:00
17 lines
385 B
Markdown
17 lines
385 B
Markdown
# Nmap Fuzzing
|
|
|
|
This directory contains libFuzzer-based fuzz targets.
|
|
|
|
Each fuzz target should expose
|
|
|
|
```c++
|
|
extern "C"
|
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
|
|
```
|
|
|
|
Targets should avoid sockets, timers, privilege changes, and other external
|
|
dependencies whenever possible.
|
|
|
|
Prefer fuzzing isolated parsing functions.
|
|
|
|
Shared helper routines belong in common.cc.
|