fuzzpdu

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

PDU Fuzzing

This directory contains fuzz tests for PDU (Protocol Data Unit) parsing using native Go fuzzing (Go 1.18+).

Running the Fuzzer

# Run the PDU fuzzer
go test -fuzz=FuzzPDU .

# Run with specific time limit
go test -fuzz=FuzzPDU -fuzztime=30s .

# Run with maximum CPU cores
go test -fuzz=FuzzPDU -fuzztime=1m .

About

The fuzzer tests PDU parsing by:

  1. Feeding random data to the PDU parser
  2. Testing both PDU format and DICOM dataset parsing paths
  3. Discovering crashes and hangs in the parsing logic

Legacy go-fuzz (DEPRECATED)

⚠️ WARNING: go-fuzz is deprecated since Go 1.18 and no longer maintained.

The old go-fuzz approach is no longer recommended. Use the native fuzzing above instead.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fuzz

func Fuzz(data []byte) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL