• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2020 the V8 project 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// Original: differential_fuzz/fake_resource.js
6print("I'm a resource.");
7
8// Original: differential_fuzz/fake_resource.js
9print("I'm a resource.");
10
11// Original: differential_fuzz/fake_resource.js
12print("I'm a resource.");
13
14// Original: differential_fuzz/fake_resource.js
15print("I'm a resource.");
16
17// Original: differential_fuzz/fake_resource.js
18print("I'm a resource.");
19
20/* DifferentialFuzzMutator: Print variables and exceptions from section */
21try {
22  print("Hash: " + __hash);
23  print("Caught: " + __caught);
24} catch (e) {}
25
26print("v8-foozzie source: differential_fuzz/input1.js");
27
28// Original: differential_fuzz/input1.js
29try {
30  var __v_0 = 0;
31} catch (e) {}
32
33try {
34  /* DifferentialFuzzMutator: Pretty printing */
35  __prettyPrintExtra(__v_0);
36} catch (e) {}
37
38/* DifferentialFuzzMutator: Print variables and exceptions from section */
39try {
40  print("Hash: " + __hash);
41  print("Caught: " + __caught);
42
43  __prettyPrint(__v_0);
44} catch (e) {}
45
46print("v8-foozzie source: differential_fuzz/input2.js");
47
48// Original: differential_fuzz/input2.js
49let __v_1 = 1;
50
51/* DifferentialFuzzMutator: Print variables and exceptions from section */
52try {
53  print("Hash: " + __hash);
54  print("Caught: " + __caught);
55
56  __prettyPrint(__v_0);
57
58  __prettyPrint(__v_1);
59} catch (e) {}
60