1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TESTING_FUZZERS_PDFIUM_FUZZER_UTIL_H_ 6 #define TESTING_FUZZERS_PDFIUM_FUZZER_UTIL_H_ 7 8 #include <stdint.h> 9 10 // Returns an integer from the first 4 bytes of |data|. 11 int GetInteger(const uint8_t* data); 12 13 #endif // TESTING_FUZZERS_PDFIUM_FUZZER_UTIL_H_ 14