Contributing fuzz harnesses for the test suite
Los mantenedores suelen responder en 23 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cmake, cpp, docker
- Área
- networking, testing
Línea de trabajo
Start by reading the existing test layout and build setup, then review the proposed parser and SNP harnesses and their notes about untrusted-byte entry points. The issue asks maintainers to decide where fuzz targets should live and how to build and run them, so seek that direction before preparing a contribution. Done means an agreed structure and integration approach, with harnesses runnable under the chosen setup.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi, in #410 you mentioned you would love to add fuzzing to the test suite. I have been building a set of fuzz harnesses
for GameNetworkingSockets and would like to contribute them upstream if that is useful, and I would rather match your
preferences on structure before sending a PR.
What I have:
- A set of
LLVMFuzzerTestOneInputharnesses (so they run under both libFuzzer and AFL++) over the receive-side parsers
and state machines: the STUN and ICE candidate parsers, the UDP pre-connection handler, the SNP data-chunk decoder
(single-packet, multi-packet and a grammar-shaped variant), the crypto handshake and certificate parsing, the
inline-stats path, and the P2P signaling and connect-request paths. Several are structure-aware (libprotobuf-mutator
over the real protobuf messages) so they get past the framing quickly. - They build against a pinned toolchain in a Docker image (pinned compiler, the current
mastercommit of GNS) and run
under AddressSanitizer + UndefinedBehaviorSanitizer, with authored seed corpora and small dictionaries. - A per-harness note on exactly what untrusted bytes reach which entry point, so the coverage is auditable.
Questions before I send anything:
- Where would you want fuzz targets to live in the tree (a
tests/fuzz/directory, alongside the existing tests, or
elsewhere), and how would you like them wired into the build (a CMake option, standalone)? - Do you want them shaped for OSS-Fuzz integration, or just as in-tree targets runnable locally?
- Any conventions you would like followed for the harness entry points, the seed corpora, or the dictionaries?
I can start with the parser and SNP harnesses (the self-contained ones) and follow your lead on the rest. Anything found
through them I will report privately through your HackerOne program per SECURITY.md, not here.
- Lenguaje dominante
- C++
- Estrellas
- 10.1k
- Forks
- 781
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/GameNetworkingSockets
-
ICE (native client): relay-only connections time out against a real TURN server; host-socket checks starve the relay pairsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
ValveSoftware/GameNetworkingSockets#452 ·
Los mantenedores suelen responder en 23 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ValveSoftware/GameNetworkingSockets#474 ·
Los mantenedores suelen responder en 23 días
-
Dificultad 4/5 Más de una semana Aptitud para principiantes 12/100
ValveSoftware/GameNetworkingSockets#465 ·
Los mantenedores suelen responder en 23 días
-
Native ICE resolves STUN/TURN hostnames under the global lockPosiblemente ocupada @tintinhamans la tomó hace 64 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
ValveSoftware/GameNetworkingSockets#440 ·
Los mantenedores suelen responder en 23 días
-
WebRTC ICE keeps an idle thread per STUN/TURN hostname lookupPosiblemente ocupada @tintinhamans la tomó hace 64 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
ValveSoftware/GameNetworkingSockets#439 · 1 comentario ·
Los mantenedores suelen responder en 23 días
Todos los issues de ValveSoftware/GameNetworkingSockets
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
deepseek-ai/DeepGEMM#529 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
compiler-explorer/compiler-explorer#9710 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ucb-bar/libgemmini#10 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Quantinuum/tket#2282 ·
Los mantenedores suelen responder en 1 día