mirror of
https://github.com/RGBCube/serenity
synced 2025-06-02 17:48:11 +00:00
15 lines
318 B
C++
15 lines
318 B
C++
/*
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibELF/Image.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
|
{
|
|
ELF::Image elf(data, size, /*verbose_logging=*/false);
|
|
return 0;
|
|
}
|