# Fuzzing wspomagany modelami językowymi

EN: **LLM-assisted fuzzing** · id `llmfuzzing` · aliases: LLM fuzz target generation, AI-generated fuzz harnesses, OSS-Fuzz-gen, fuzzing z LLM, LLM fuzz driver generation

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w cyberbezpieczeństwie](https://aiatlasgraph.com/t/cyberai.md) › [Szukanie i łatanie podatności z AI](https://aiatlasgraph.com/t/vulndiscovery.md) › Fuzzing wspomagany modelami językowymi

## Description

- PL: Modele językowe piszą i poprawiają harnessy fuzzingowe oraz klasyfikują crashe, zwiększając pokrycie kodu testami bez ręcznej pracy.
- EN: Language models write and fix fuzzing harnesses and classify crashes, raising code coverage without manual work.

## In one sentence

- PL: Model językowy sam pisze programy testujące, które zasypują kod dziwnymi danymi, aż wyjdzie na jaw ukryty błąd.
- EN: A language model writes test programs itself that pelt code with odd data until a hidden bug shows up.

## Problem it solves

- PL: Fuzzing znajduje mnóstwo błędów, ale każdy test trzeba ręcznie napisać do konkretnej funkcji, więc duża część kodu nigdy nie jest sprawdzana.
- EN: Fuzzing finds lots of bugs, but each test must be hand-written for a specific function, so much code is never checked.

## What it does

- PL: Jak praktykant, który sam przygotowuje stanowiska do testów zderzeniowych dla każdej części auta, a inżynier tylko przegląda wyniki.
- EN: Like an apprentice who sets up crash-test rigs for every car part, while the engineer only reviews the results.

## Everyday example

- PL: W szeroko używanej bibliotece szyfrującej test wygenerowany przez model trafia na błąd, który prawdopodobnie przetrwał w kodzie około dwudziestu lat.
- EN: In a widely used encryption library, a model-generated test hits a bug that had likely survived in the code for about twenty years.

## This concerns you if you…

- PL: utrzymujesz bibliotekę w C lub C++
- PL: chcesz zwiększyć pokrycie kodu testami
- PL: interesuje cię, jak AI szuka błędów
- EN: maintain a C or C++ library
- EN: want to raise test coverage of your code
- EN: are curious how AI hunts for bugs

## Keywords

OSS-Fuzz-gen · OSS-Fuzz · libFuzzer · AFL++ · AddressSanitizer · coverage-guided fuzzing · crash triage · fuzz driver generation

## How it works

- PL: Indeks projektu dostarcza modelowi definicje funkcji i typów, odwołania i istniejące testy. Model pisze harness, a błędy kompilacji, błędy wykonania i dane o pokryciu wracają do niego w pętli poprawek. Po dłuższym fuzzingu model klasyfikuje crashe jako błąd harnessu albo prawdziwy błąd projektu.
- EN: A project index supplies the model with function and type definitions, cross-references and existing tests. The model writes a harness, and compile errors, runtime errors and coverage data flow back to it in a fix loop. After longer fuzzing, the model classifies crashes as a harness bug or a real project bug.

## Limits

- PL: Pokrycie linii nie gwarantuje braku błędów, bo inne flagi i konfiguracje odsłaniają inne zachowania. Automatyczny triaż crashy nie jest jeszcze na tyle pewny, by zgłaszać błędy bez człowieka. Wymaga infrastruktury do budowania i uruchamiania projektu.
- EN: Line coverage does not guarantee absence of bugs, as other flags and configurations expose other behaviour. Automated crash triage is not yet reliable enough to report bugs without a human. It requires infrastructure to build and run the project.

## Key terms

- PL: **pokrycie kodu**: Jaka część kodu została faktycznie wykonana podczas testów.
- PL: **fuzz target**: Funkcja przyjmująca dane od fuzzera i przekazująca je do testowanego kodu.
- PL: **sanitizer**: Dodatek kompilatora wykrywający błędy pamięci w trakcie działania.
- EN: **code coverage**: How much of the code actually ran during testing.
- EN: **fuzz target**: A function that takes fuzzer input and passes it to the code under test.
- EN: **sanitizer**: A compiler add-on that catches memory errors at run time.

## Know first

- [Podpowiadanie kodu w edytorze (Inline code completion (fill-in-the-middle))](https://aiatlasgraph.com/t/codecompletion.md)
- [Uprząż agenta (Agent harness)](https://aiatlasgraph.com/t/agentharness.md)

## Subtopics (1 direct, 1 in total)

- [Generowanie sterowników fuzzingu przez modele językowe (LLM-based fuzz driver generation)](https://aiatlasgraph.com/t/fuzzdrivergen.md): Language models automatically writing the glue code that connects a fuzzer to a library's functions so random inputs reach deep into the tested code.

## Related topics

Untyped, symmetric "see also" links.

- [Systemy automatycznego znajdowania i łatania błędów (Cyber reasoning systems for automated find-and-patch)](https://aiatlasgraph.com/t/cyberreasoning.md)

## Sources

- [Leveling Up Fuzzing: Finding more vulnerabilities with AI](<https://security.googleblog.com/2024/11/leveling-up-fuzzing-finding-more.html>) `google-oss-fuzz-gen-2024` · by Google Open Source Security Team (Google Security Blog) · sponsored

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/llmfuzzing · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
