Skip to content

Add fuzzlog_analyzer helper script - #8

Open
nickvido wants to merge 1 commit into
mainfrom
add-fuzzlog-analyzer
Open

Add fuzzlog_analyzer helper script#8
nickvido wants to merge 1 commit into
mainfrom
add-fuzzlog-analyzer

Conversation

@nickvido

Copy link
Copy Markdown

fuzzlog_analyzer.py

Analyzes libFuzzer/OSS-Fuzz logs to extract key information and surface actionable findings.

Features:

  • Tracks fuzzer execution stats (runtime, exec/s, corpus growth)
  • Detects crashes, timeouts, OOMs, and sanitizer findings
  • Identifies artifact locations and interesting coverage discoveries
  • Provides both human-readable and JSON output formats

Usage:

python3 fuzzlog_analyzer.py <log_file_paths...> [options]

Options:

  • --json: Output results in JSON format instead of human-readable text
  • --max-funcs N: Maximum NEW_FUNC lines to display per file (default: 10)

Examples:

# Analyze a single log file
python3 fuzzlog_analyzer.py fuzzer_run.txt

# Analyze multiple log files with JSON output
python3 fuzzlog_analyzer.py *.txt --json

# Limit NEW_FUNC output
python3 fuzzlog_analyzer.py fuzzer_run.txt --max-funcs 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant