// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_ZUCCHINI_FUZZERS_FUZZ_UTILS_H_ #define COMPONENTS_ZUCCHINI_FUZZERS_FUZZ_UTILS_H_ #include #include #include #include "components/zucchini/disassembler.h" namespace zucchini { // Helper function that uses |disassembler| to read all references from // |mutable_data| and write them back. void ReadAndWriteReferences( std::unique_ptr disassembler, std::vector* mutable_data); } // namespace zucchini #endif // COMPONENTS_ZUCCHINI_FUZZERS_FUZZ_UTILS_H_