mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-29 07:12:05 +02:00
apply clang-format
(Debian clang-format version 19.1.7 (3+build4)) with `--style=Google`. Manual changes: * clang-format disabled around macros with stringification (mostly assembly) * some inline assembly strings were adjusted to avoid awkward line breaks * trailing commas, `//` or suffixes (`ull`) added to help array formatting * thread_utils.c: parameter comments were changed to the more common /*...=*/ style to improve formatting The automatically generated code under swig/ was skipped. Bug: 433996651 Change-Id: Iea3f24160d78d2a2653971cdf13fa932e47ff1b3
This commit is contained in:
@@ -64,13 +64,12 @@ void Decode(std::string_view arbitrary_bytes, WebPInputFileFormat format,
|
||||
}
|
||||
|
||||
FUZZ_TEST(ImageIOSuite, Decode)
|
||||
.WithDomains(
|
||||
fuzztest::String()
|
||||
.WithMaxSize(fuzz_utils::kMaxWebPFileSize + 1),
|
||||
fuzztest::ElementOf<WebPInputFileFormat>(
|
||||
{WEBP_PNG_FORMAT, WEBP_JPEG_FORMAT, WEBP_TIFF_FORMAT,
|
||||
WEBP_WEBP_FORMAT, WEBP_PNM_FORMAT, kUnknown}),
|
||||
/*keep_alpha=*/fuzztest::Arbitrary<bool>(),
|
||||
/*use_argb=*/fuzztest::Arbitrary<bool>());
|
||||
.WithDomains(fuzztest::String().WithMaxSize(fuzz_utils::kMaxWebPFileSize +
|
||||
1),
|
||||
fuzztest::ElementOf<WebPInputFileFormat>(
|
||||
{WEBP_PNG_FORMAT, WEBP_JPEG_FORMAT, WEBP_TIFF_FORMAT,
|
||||
WEBP_WEBP_FORMAT, WEBP_PNM_FORMAT, kUnknown}),
|
||||
/*keep_alpha=*/fuzztest::Arbitrary<bool>(),
|
||||
/*use_argb=*/fuzztest::Arbitrary<bool>());
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user