mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Fuzzers: Use ImageDecoders instead of load_FORMAT_from_memory() wrappers
This commit is contained in:
parent
32d59257d6
commit
b189c88ec2
7 changed files with 14 additions and 7 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
Gfx::load_ppm_from_memory(data, size);
|
||||
Gfx::PPMImageDecoderPlugin decoder(data, size);
|
||||
(void)decoder.bitmap();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue