Skip to content
프로젝트

소개

XNU Image Fuzzer - iOS App for Fuzzing Images with Objective-C Code covering 15 CGCreateBitmap & CGColorSpace Functions working with Raw Data and String Injection.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

XNU Image Fuzzer

XNU Image Fuzzer produces deterministic image and ICC-profile quality-assurance corpora for Apple ImageIO and ColorSync testing. Clean image generation is the default. Every mutation path is explicit, seeded, and recorded in a manifest.

Quick start

Run the complete local path on macOS:

.github/scripts/generate-qa-images.sh /tmp/xnuimagefuzzer-qa both both --seed 1

This builds the native helper, generates clean PNG, JPEG, and TIFF charts, creates seeded pixel-fuzzed counterparts, adds exact ICC and no-ICC variants, and validates all hashes and embedded profiles.

To exercise malformed ICC blobs and macOS processing:

.github/scripts/generate-qa-images.sh /tmp/qa-roundtrip both both \
  --include-mutated --apple-roundtrip --seed 7

Revalidate or export trusted downstream seeds:

python3 contrib/scripts/validate_qa_corpus.py /tmp/xnuimagefuzzer-qa
python3 contrib/scripts/extract-icc-seeds.py \
  --input /tmp/xnuimagefuzzer-qa --output /tmp/verified-seeds

Native modes

No arguments and --clean generate deterministic, ICC-free images. Use --fuzz-image INPUT --output OUTPUT --seed N for one deterministic pixel mutation and a valid output container. ICC insertion and mutation are handled afterward by build_qa_corpus.py, which edits PNG iCCP, JPEG APP2, or TIFF tag 34675 directly and then extracts the bytes again.

The historic random generator and chained pipelines remain only under explicit --legacy-default-fuzz, --legacy-chain, --legacy-input-dir, and --legacy-pipeline switches. Their artifacts are outside the verified contract.

ICC outcomes

The manifest distinguishes absent_expected, preserved_exact, dropped, rewritten, substituted_system_profile, injected_without_input, and rejected. Requested and observed blobs are retained under evidence when a requested profile is not preserved exactly. A filename never establishes ICC presence.

Validation

python3 -m unittest contrib/scripts/test_icc_container.py
bash -n .github/scripts/*.sh
.github/scripts/build-native.sh

Generated corpora, coverage files, and crash artifacts are not source-controlled. See AGENTS.md for repository rules.

관련 프로젝트 살펴보기

불러오는 중…