Home
last modified time | relevance | path

Searched refs:Read32 (Results 1 – 1 of 1) sorted by relevance

/external/oss-fuzz/projects/libpng-proto/
Dlibpng_transforms_fuzzer.cc56 auto Read32 = [&](const uint8_t *p) { in LLVMFuzzerTestOneInput() local
66 uint32_t width = __builtin_bswap32(Read32(data + kPngSignatureSize + 8)); in LLVMFuzzerTestOneInput()
67 uint32_t height = __builtin_bswap32(Read32(data + kPngSignatureSize + 12)); in LLVMFuzzerTestOneInput()
106 int transforms = fUZz_beg ? Read32(fUZz_beg) : ~0; in LLVMFuzzerTestOneInput()
118 image.format = fUZz_beg ? Read32(fUZz_beg + 4) : PNG_FORMAT_RGBA; in LLVMFuzzerTestOneInput()