• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2018 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
5syntax = "proto2";
6
7package zucchini.fuzzers;
8
9// NEXT_TAG = 4
10message FilePair {
11  // File to generate patch from or apply patch to.
12  required bytes old_file = 1;
13  // New file to generate patch or the patch to apply.
14  required bytes new_or_patch_file = 2;
15  // Imposed matches to apply to the equivalence matches.
16  // Should be of the format:
17  //   "#+#=#+#,#+#=#+#,..." (e.g., "1+2=3+4", "1+2=3+4,5+6=7+8"),
18  // where "#+#=#+#" encodes a match as 4 unsigned integers:
19  //   [offset in "old", size in "old", offset in "new", size in "new"].
20  optional string imposed_matches = 3;
21}
22