[BREAKGLASS] A Rust MP4 format sanitizer
Go to file
Jordan Rose 479e0bf36f
Some checks failed
test / format-check (push) Has been cancelled
test / build-and-test (push) Has been cancelled
test / fuzz-afl (push) Has been cancelled
test / fuzz-libfuzzer (push) Has been cancelled
test / check-nightly (push) Has been cancelled
Add mp4san-dump utility for additional testing
This dumps every sample in the first track to a file, assuming
(without checking) that that track is an H.264 video track with one
NAL unit per sample. This can be compared against the output from

    ffmpeg -i input.mp4 -vcodec copy output.h264

It *will* have differences because it doesn't include the
configuration info ("SPS" and "PPS"), but it should be clear that
those are the only differences.
2024-12-05 15:15:41 -08:00
.github/workflows remove clippy action in github CI 2024-02-01 06:50:33 -08:00
cli mediasan-cli: add output argument 2024-11-22 11:31:12 -08:00
common remove problematic blanket impl Skip for T: Seek 2023-10-21 20:14:53 -07:00
common-test Upgrade dependencies 2024-07-18 15:45:50 -04:00
mp4san Don't require a BufReader for Mp4Box::read_data 2024-12-05 15:15:41 -08:00
mp4san-derive When parsing fails due to trailing data, say how much was left over 2024-12-05 15:15:41 -08:00
mp4san-dump Add mp4san-dump utility for additional testing 2024-12-05 15:15:41 -08:00
mp4san-test Fix example_moov for corrected stsd and added stsz boxes 2024-12-05 15:15:41 -08:00
mp4san-test-gen Upgrade dependencies 2024-07-18 15:45:50 -04:00
test-data@b9f4d3f327 make sure empty huffman code optimization applies to color cache 2023-12-01 12:38:56 -08:00
webpsan Downgrade bitstream-io back to the 1.x series for the time being 2024-07-22 11:52:46 -07:00
webpsan-test webpsan: verify tests against libwebp 2023-10-14 09:31:15 -07:00
.gitignore add webpsan 2023-10-07 23:33:55 -07:00
.gitmodules update github org in test-data submodule url 2024-11-22 14:15:37 -08:00
Cargo.toml Add mp4san-dump utility for additional testing 2024-12-05 15:15:41 -08:00
LICENSE Big Bang 2022-12-22 11:37:43 -08:00
README.md add webpsan 2023-10-07 23:33:55 -07:00
rustfmt.toml Big Bang 2022-12-22 11:37:43 -08:00

mediasan Fuzzing Status

A collection of Rust media file format "sanitizers".

The sanitizers can be used to verify the validity of media files before presenting them, so that passing malformed files to an unsafe parser can be avoided.

Supported Formats

Format Crate
MP4 mp4san crates.io Documentation
WebP webpsan crates.io Documentation

Contributing Bug Reports

GitHub is the project's bug tracker. Please search for similar existing issues before submitting a new one.

OSS-Fuzz

Continuous fuzz testing is also provided by OSS-Fuzz.

Build Status
Code Coverage
Bugs Found

License

Licensed under MIT.