file_pair.proto 756 B

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