Add filament project#15723
Open
gojo-satorou-v7 wants to merge 3 commits into
Open
Conversation
New OSS-Fuzz integration for google/filament (Google's real-time PBR renderer). Adds three libFuzzer targets over filament's untrusted-asset loaders: - filameshio_fuzzer: MeshReader::loadMeshFromBuffer (.filamesh) - gltfio_meshopt_fuzzer: gltfio EXT_meshopt_compression decode (glTF/GLB) - gltfio_accessor_fuzzer: gltfio cgltf accessor unpack, incl. sparse (glTF/GLB) Built Release with -DNDEBUG so the shipping configuration is exercised (filament gates cgltf_validate behind #ifndef NDEBUG and meshoptimizer enforces decoder preconditions with assert() only).
|
gojo-satorou-v7 is integrating a new project: |
DavidKorczynski
requested changes
Jun 16, 2026
DavidKorczynski
left a comment
Collaborator
There was a problem hiding this comment.
Can you please coordinate this with upstream maintainers?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New project integration: google/filament
filament is Google's open-source real-time physically based renderer (Android, desktop, web). It loads untrusted 3D assets, so its asset loaders are a meaningful attack surface. filament is not currently an OSS-Fuzz project and ships no first-party fuzz target (the only in-tree fuzzers are vendored third-party suites that don't exercise filament's loaders).
This integration adds three libFuzzer targets over filament's untrusted-asset decode paths:
filameshio_fuzzerfilamesh::MeshReader::loadMeshFromBuffer.filameshgltfio_meshopt_fuzzerfilament::gltfio::utility::decodeMeshoptCompression(real cgltf parse +EXT_meshopt_compression)gltfio_accessor_fuzzercgltf_accessor_unpack_floatsover every accessor (incl. sparse)Notes for reviewers:
Releasewith-DNDEBUGon purpose: filament gatescgltf_validatebehind#ifndef NDEBUG, and meshoptimizer enforces its decoder preconditions withassert()only — so the shipping configuration is the one worth fuzzing (ASan still observes OOB writes).build.shrelaxes filament's-Werror/-Wthread-safetyonly as needed to build under the OSS-Fuzz clang + sanitizer flags; it uses the NOOP backend so the targets run headless (no GPU).libc++/ninjainstalled in the Dockerfile; targets link the realfilameshio/gltfio_corelibraries.primary_contactset inproject.yaml.