From d4796eddf8ebfc901dd11db610dc949d0226dbb2 Mon Sep 17 00:00:00 2001 From: vi3tL0u1s Date: Wed, 4 Dec 2024 21:29:45 +1100 Subject: [PATCH] Update the compiler for void feature according to the new changes --- Sources/Fuzzilli/Compiler/Compiler.swift | 3 + Sources/Fuzzilli/Protobuf/operations.pb.swift | 6 +- Sources/Fuzzilli/Protobuf/program.pb.swift | 623 +++++++++--------- Sources/Fuzzilli/Protobuf/program.proto | 200 +++--- Sources/Fuzzilli/Protobuf/sync.pb.swift | 1 + .../FuzzilliTests/CompilerTests/basic_void.js | 9 + 6 files changed, 428 insertions(+), 414 deletions(-) create mode 100644 Tests/FuzzilliTests/CompilerTests/basic_void.js diff --git a/Sources/Fuzzilli/Compiler/Compiler.swift b/Sources/Fuzzilli/Compiler/Compiler.swift index fef246a9d..b67142a17 100644 --- a/Sources/Fuzzilli/Compiler/Compiler.swift +++ b/Sources/Fuzzilli/Compiler/Compiler.swift @@ -1059,6 +1059,9 @@ public class JavaScriptCompiler { if unaryExpression.operator == "typeof" { let argument = try compileExpression(unaryExpression.argument) return emit(TypeOf(), withInputs: [argument]).output + } else if unaryExpression.operator == "void" { + let argument = try compileExpression(unaryExpression.argument) + return emit(Void_(), withInputs: [argument]).output } else if unaryExpression.operator == "delete" { guard case .memberExpression(let memberExpression) = unaryExpression.argument.expression else { throw CompilerError.invalidNodeError("delete operator must be applied to a member expression") diff --git a/Sources/Fuzzilli/Protobuf/operations.pb.swift b/Sources/Fuzzilli/Protobuf/operations.pb.swift index 1d2f2dd6e..8a0cc83b0 100644 --- a/Sources/Fuzzilli/Protobuf/operations.pb.swift +++ b/Sources/Fuzzilli/Protobuf/operations.pb.swift @@ -1,5 +1,6 @@ // DO NOT EDIT. // swift-format-ignore-file +// swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. // Source: operations.proto @@ -21,7 +22,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -import Foundation import SwiftProtobuf // If the compiler emits an error on this type, it is because this file @@ -4900,8 +4900,8 @@ extension Fuzzilli_Protobuf_Void: SwiftProtobuf.Message, SwiftProtobuf._MessageI public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { - while let _ = try decoder.nextFieldNumber() { - } + // Load everything into unknown fields + while try decoder.nextFieldNumber() != nil {} } public func traverse(visitor: inout V) throws { diff --git a/Sources/Fuzzilli/Protobuf/program.pb.swift b/Sources/Fuzzilli/Protobuf/program.pb.swift index 9eec4ff46..e03b56af8 100644 --- a/Sources/Fuzzilli/Protobuf/program.pb.swift +++ b/Sources/Fuzzilli/Protobuf/program.pb.swift @@ -1,5 +1,6 @@ // DO NOT EDIT. // swift-format-ignore-file +// swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. // Source: program.proto @@ -1791,106 +1792,106 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M 78: .same(proto: "deleteComputedProperty"), 79: .same(proto: "configureComputedProperty"), 80: .same(proto: "typeOf"), - 81: .same(proto: "testInstanceOf"), - 82: .same(proto: "testIn"), - 83: .same(proto: "beginPlainFunction"), - 84: .same(proto: "endPlainFunction"), - 85: .same(proto: "beginArrowFunction"), - 86: .same(proto: "endArrowFunction"), - 87: .same(proto: "beginGeneratorFunction"), - 88: .same(proto: "endGeneratorFunction"), - 89: .same(proto: "beginAsyncFunction"), - 90: .same(proto: "endAsyncFunction"), - 91: .same(proto: "beginAsyncArrowFunction"), - 92: .same(proto: "endAsyncArrowFunction"), - 93: .same(proto: "beginAsyncGeneratorFunction"), - 94: .same(proto: "endAsyncGeneratorFunction"), - 95: .same(proto: "beginConstructor"), - 96: .same(proto: "endConstructor"), - 97: .same(proto: "return"), - 98: .same(proto: "yield"), - 99: .same(proto: "yieldEach"), - 100: .same(proto: "await"), - 101: .same(proto: "callFunction"), - 102: .same(proto: "callFunctionWithSpread"), - 103: .same(proto: "construct"), - 104: .same(proto: "constructWithSpread"), - 105: .same(proto: "callMethod"), - 106: .same(proto: "callMethodWithSpread"), - 107: .same(proto: "callComputedMethod"), - 108: .same(proto: "callComputedMethodWithSpread"), - 109: .same(proto: "unaryOperation"), - 110: .same(proto: "binaryOperation"), - 111: .same(proto: "ternaryOperation"), - 112: .same(proto: "update"), - 113: .same(proto: "dup"), - 114: .same(proto: "reassign"), - 115: .same(proto: "destructArray"), - 116: .same(proto: "destructArrayAndReassign"), - 117: .same(proto: "destructObject"), - 118: .same(proto: "destructObjectAndReassign"), - 119: .same(proto: "compare"), - 120: .same(proto: "loadNamedVariable"), - 121: .same(proto: "storeNamedVariable"), - 122: .same(proto: "defineNamedVariable"), - 123: .same(proto: "eval"), - 124: .same(proto: "beginWith"), - 125: .same(proto: "endWith"), - 126: .same(proto: "callSuperConstructor"), - 127: .same(proto: "callSuperMethod"), - 128: .same(proto: "getPrivateProperty"), - 129: .same(proto: "setPrivateProperty"), - 130: .same(proto: "updatePrivateProperty"), - 131: .same(proto: "callPrivateMethod"), - 132: .same(proto: "getSuperProperty"), - 133: .same(proto: "setSuperProperty"), - 134: .same(proto: "getComputedSuperProperty"), - 135: .same(proto: "setComputedSuperProperty"), - 136: .same(proto: "updateSuperProperty"), - 137: .same(proto: "beginIf"), - 138: .same(proto: "beginElse"), - 139: .same(proto: "endIf"), - 140: .same(proto: "beginWhileLoopHeader"), - 141: .same(proto: "beginWhileLoopBody"), - 142: .same(proto: "endWhileLoop"), - 143: .same(proto: "beginDoWhileLoopBody"), - 144: .same(proto: "beginDoWhileLoopHeader"), - 145: .same(proto: "endDoWhileLoop"), - 146: .same(proto: "beginForLoopInitializer"), - 147: .same(proto: "beginForLoopCondition"), - 148: .same(proto: "beginForLoopAfterthought"), - 149: .same(proto: "beginForLoopBody"), - 150: .same(proto: "endForLoop"), - 151: .same(proto: "beginForInLoop"), - 152: .same(proto: "endForInLoop"), - 153: .same(proto: "beginForOfLoop"), - 154: .same(proto: "beginForOfLoopWithDestruct"), - 155: .same(proto: "endForOfLoop"), - 156: .same(proto: "beginRepeatLoop"), - 157: .same(proto: "endRepeatLoop"), - 158: .same(proto: "loopBreak"), - 159: .same(proto: "loopContinue"), - 160: .same(proto: "beginTry"), - 161: .same(proto: "beginCatch"), - 162: .same(proto: "beginFinally"), - 163: .same(proto: "endTryCatchFinally"), - 164: .same(proto: "throwException"), - 165: .same(proto: "beginCodeString"), - 166: .same(proto: "endCodeString"), - 167: .same(proto: "beginBlockStatement"), - 168: .same(proto: "endBlockStatement"), - 169: .same(proto: "beginSwitch"), - 170: .same(proto: "beginSwitchCase"), - 171: .same(proto: "beginSwitchDefaultCase"), - 172: .same(proto: "endSwitchCase"), - 173: .same(proto: "endSwitch"), - 174: .same(proto: "switchBreak"), - 175: .same(proto: "loadNewTarget"), - 176: .same(proto: "print"), - 177: .same(proto: "explore"), - 178: .same(proto: "probe"), - 179: .same(proto: "fixup"), - 180: .same(proto: "void"), + 81: .same(proto: "void"), + 82: .same(proto: "testInstanceOf"), + 83: .same(proto: "testIn"), + 84: .same(proto: "beginPlainFunction"), + 85: .same(proto: "endPlainFunction"), + 86: .same(proto: "beginArrowFunction"), + 87: .same(proto: "endArrowFunction"), + 88: .same(proto: "beginGeneratorFunction"), + 89: .same(proto: "endGeneratorFunction"), + 90: .same(proto: "beginAsyncFunction"), + 91: .same(proto: "endAsyncFunction"), + 92: .same(proto: "beginAsyncArrowFunction"), + 93: .same(proto: "endAsyncArrowFunction"), + 94: .same(proto: "beginAsyncGeneratorFunction"), + 95: .same(proto: "endAsyncGeneratorFunction"), + 96: .same(proto: "beginConstructor"), + 97: .same(proto: "endConstructor"), + 98: .same(proto: "return"), + 99: .same(proto: "yield"), + 100: .same(proto: "yieldEach"), + 101: .same(proto: "await"), + 102: .same(proto: "callFunction"), + 103: .same(proto: "callFunctionWithSpread"), + 104: .same(proto: "construct"), + 105: .same(proto: "constructWithSpread"), + 106: .same(proto: "callMethod"), + 107: .same(proto: "callMethodWithSpread"), + 108: .same(proto: "callComputedMethod"), + 109: .same(proto: "callComputedMethodWithSpread"), + 110: .same(proto: "unaryOperation"), + 111: .same(proto: "binaryOperation"), + 112: .same(proto: "ternaryOperation"), + 113: .same(proto: "update"), + 114: .same(proto: "dup"), + 115: .same(proto: "reassign"), + 116: .same(proto: "destructArray"), + 117: .same(proto: "destructArrayAndReassign"), + 118: .same(proto: "destructObject"), + 119: .same(proto: "destructObjectAndReassign"), + 120: .same(proto: "compare"), + 121: .same(proto: "loadNamedVariable"), + 122: .same(proto: "storeNamedVariable"), + 123: .same(proto: "defineNamedVariable"), + 124: .same(proto: "eval"), + 125: .same(proto: "beginWith"), + 126: .same(proto: "endWith"), + 127: .same(proto: "callSuperConstructor"), + 128: .same(proto: "callSuperMethod"), + 129: .same(proto: "getPrivateProperty"), + 130: .same(proto: "setPrivateProperty"), + 131: .same(proto: "updatePrivateProperty"), + 132: .same(proto: "callPrivateMethod"), + 133: .same(proto: "getSuperProperty"), + 134: .same(proto: "setSuperProperty"), + 135: .same(proto: "getComputedSuperProperty"), + 136: .same(proto: "setComputedSuperProperty"), + 137: .same(proto: "updateSuperProperty"), + 138: .same(proto: "beginIf"), + 139: .same(proto: "beginElse"), + 140: .same(proto: "endIf"), + 141: .same(proto: "beginWhileLoopHeader"), + 142: .same(proto: "beginWhileLoopBody"), + 143: .same(proto: "endWhileLoop"), + 144: .same(proto: "beginDoWhileLoopBody"), + 145: .same(proto: "beginDoWhileLoopHeader"), + 146: .same(proto: "endDoWhileLoop"), + 147: .same(proto: "beginForLoopInitializer"), + 148: .same(proto: "beginForLoopCondition"), + 149: .same(proto: "beginForLoopAfterthought"), + 150: .same(proto: "beginForLoopBody"), + 151: .same(proto: "endForLoop"), + 152: .same(proto: "beginForInLoop"), + 153: .same(proto: "endForInLoop"), + 154: .same(proto: "beginForOfLoop"), + 155: .same(proto: "beginForOfLoopWithDestruct"), + 156: .same(proto: "endForOfLoop"), + 157: .same(proto: "beginRepeatLoop"), + 158: .same(proto: "endRepeatLoop"), + 159: .same(proto: "loopBreak"), + 160: .same(proto: "loopContinue"), + 161: .same(proto: "beginTry"), + 162: .same(proto: "beginCatch"), + 163: .same(proto: "beginFinally"), + 164: .same(proto: "endTryCatchFinally"), + 165: .same(proto: "throwException"), + 166: .same(proto: "beginCodeString"), + 167: .same(proto: "endCodeString"), + 168: .same(proto: "beginBlockStatement"), + 169: .same(proto: "endBlockStatement"), + 170: .same(proto: "beginSwitch"), + 171: .same(proto: "beginSwitchCase"), + 172: .same(proto: "beginSwitchDefaultCase"), + 173: .same(proto: "endSwitchCase"), + 174: .same(proto: "endSwitch"), + 175: .same(proto: "switchBreak"), + 176: .same(proto: "loadNewTarget"), + 177: .same(proto: "print"), + 178: .same(proto: "explore"), + 179: .same(proto: "probe"), + 180: .same(proto: "fixup"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -2923,6 +2924,19 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M } }() case 81: try { + var v: Fuzzilli_Protobuf_Void? + var hadOneofValue = false + if let current = self.operation { + hadOneofValue = true + if case .void(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.operation = .void(v) + } + }() + case 82: try { var v: Fuzzilli_Protobuf_TestInstanceOf? var hadOneofValue = false if let current = self.operation { @@ -2935,7 +2949,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .testInstanceOf(v) } }() - case 82: try { + case 83: try { var v: Fuzzilli_Protobuf_TestIn? var hadOneofValue = false if let current = self.operation { @@ -2948,7 +2962,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .testIn(v) } }() - case 83: try { + case 84: try { var v: Fuzzilli_Protobuf_BeginPlainFunction? var hadOneofValue = false if let current = self.operation { @@ -2961,7 +2975,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginPlainFunction(v) } }() - case 84: try { + case 85: try { var v: Fuzzilli_Protobuf_EndPlainFunction? var hadOneofValue = false if let current = self.operation { @@ -2974,7 +2988,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endPlainFunction(v) } }() - case 85: try { + case 86: try { var v: Fuzzilli_Protobuf_BeginArrowFunction? var hadOneofValue = false if let current = self.operation { @@ -2987,7 +3001,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginArrowFunction(v) } }() - case 86: try { + case 87: try { var v: Fuzzilli_Protobuf_EndArrowFunction? var hadOneofValue = false if let current = self.operation { @@ -3000,7 +3014,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endArrowFunction(v) } }() - case 87: try { + case 88: try { var v: Fuzzilli_Protobuf_BeginGeneratorFunction? var hadOneofValue = false if let current = self.operation { @@ -3013,7 +3027,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginGeneratorFunction(v) } }() - case 88: try { + case 89: try { var v: Fuzzilli_Protobuf_EndGeneratorFunction? var hadOneofValue = false if let current = self.operation { @@ -3026,7 +3040,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endGeneratorFunction(v) } }() - case 89: try { + case 90: try { var v: Fuzzilli_Protobuf_BeginAsyncFunction? var hadOneofValue = false if let current = self.operation { @@ -3039,7 +3053,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginAsyncFunction(v) } }() - case 90: try { + case 91: try { var v: Fuzzilli_Protobuf_EndAsyncFunction? var hadOneofValue = false if let current = self.operation { @@ -3052,7 +3066,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endAsyncFunction(v) } }() - case 91: try { + case 92: try { var v: Fuzzilli_Protobuf_BeginAsyncArrowFunction? var hadOneofValue = false if let current = self.operation { @@ -3065,7 +3079,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginAsyncArrowFunction(v) } }() - case 92: try { + case 93: try { var v: Fuzzilli_Protobuf_EndAsyncArrowFunction? var hadOneofValue = false if let current = self.operation { @@ -3078,7 +3092,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endAsyncArrowFunction(v) } }() - case 93: try { + case 94: try { var v: Fuzzilli_Protobuf_BeginAsyncGeneratorFunction? var hadOneofValue = false if let current = self.operation { @@ -3091,7 +3105,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginAsyncGeneratorFunction(v) } }() - case 94: try { + case 95: try { var v: Fuzzilli_Protobuf_EndAsyncGeneratorFunction? var hadOneofValue = false if let current = self.operation { @@ -3104,7 +3118,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endAsyncGeneratorFunction(v) } }() - case 95: try { + case 96: try { var v: Fuzzilli_Protobuf_BeginConstructor? var hadOneofValue = false if let current = self.operation { @@ -3117,7 +3131,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginConstructor(v) } }() - case 96: try { + case 97: try { var v: Fuzzilli_Protobuf_EndConstructor? var hadOneofValue = false if let current = self.operation { @@ -3130,7 +3144,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endConstructor(v) } }() - case 97: try { + case 98: try { var v: Fuzzilli_Protobuf_Return? var hadOneofValue = false if let current = self.operation { @@ -3143,7 +3157,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .return(v) } }() - case 98: try { + case 99: try { var v: Fuzzilli_Protobuf_Yield? var hadOneofValue = false if let current = self.operation { @@ -3156,7 +3170,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .yield(v) } }() - case 99: try { + case 100: try { var v: Fuzzilli_Protobuf_YieldEach? var hadOneofValue = false if let current = self.operation { @@ -3169,7 +3183,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .yieldEach(v) } }() - case 100: try { + case 101: try { var v: Fuzzilli_Protobuf_Await? var hadOneofValue = false if let current = self.operation { @@ -3182,7 +3196,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .await(v) } }() - case 101: try { + case 102: try { var v: Fuzzilli_Protobuf_CallFunction? var hadOneofValue = false if let current = self.operation { @@ -3195,7 +3209,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callFunction(v) } }() - case 102: try { + case 103: try { var v: Fuzzilli_Protobuf_CallFunctionWithSpread? var hadOneofValue = false if let current = self.operation { @@ -3208,7 +3222,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callFunctionWithSpread(v) } }() - case 103: try { + case 104: try { var v: Fuzzilli_Protobuf_Construct? var hadOneofValue = false if let current = self.operation { @@ -3221,7 +3235,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .construct(v) } }() - case 104: try { + case 105: try { var v: Fuzzilli_Protobuf_ConstructWithSpread? var hadOneofValue = false if let current = self.operation { @@ -3234,7 +3248,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .constructWithSpread(v) } }() - case 105: try { + case 106: try { var v: Fuzzilli_Protobuf_CallMethod? var hadOneofValue = false if let current = self.operation { @@ -3247,7 +3261,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callMethod(v) } }() - case 106: try { + case 107: try { var v: Fuzzilli_Protobuf_CallMethodWithSpread? var hadOneofValue = false if let current = self.operation { @@ -3260,7 +3274,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callMethodWithSpread(v) } }() - case 107: try { + case 108: try { var v: Fuzzilli_Protobuf_CallComputedMethod? var hadOneofValue = false if let current = self.operation { @@ -3273,7 +3287,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callComputedMethod(v) } }() - case 108: try { + case 109: try { var v: Fuzzilli_Protobuf_CallComputedMethodWithSpread? var hadOneofValue = false if let current = self.operation { @@ -3286,7 +3300,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callComputedMethodWithSpread(v) } }() - case 109: try { + case 110: try { var v: Fuzzilli_Protobuf_UnaryOperation? var hadOneofValue = false if let current = self.operation { @@ -3299,7 +3313,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .unaryOperation(v) } }() - case 110: try { + case 111: try { var v: Fuzzilli_Protobuf_BinaryOperation? var hadOneofValue = false if let current = self.operation { @@ -3312,7 +3326,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .binaryOperation(v) } }() - case 111: try { + case 112: try { var v: Fuzzilli_Protobuf_TernaryOperation? var hadOneofValue = false if let current = self.operation { @@ -3325,7 +3339,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .ternaryOperation(v) } }() - case 112: try { + case 113: try { var v: Fuzzilli_Protobuf_Update? var hadOneofValue = false if let current = self.operation { @@ -3338,7 +3352,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .update(v) } }() - case 113: try { + case 114: try { var v: Fuzzilli_Protobuf_Dup? var hadOneofValue = false if let current = self.operation { @@ -3351,7 +3365,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .dup(v) } }() - case 114: try { + case 115: try { var v: Fuzzilli_Protobuf_Reassign? var hadOneofValue = false if let current = self.operation { @@ -3364,7 +3378,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .reassign(v) } }() - case 115: try { + case 116: try { var v: Fuzzilli_Protobuf_DestructArray? var hadOneofValue = false if let current = self.operation { @@ -3377,7 +3391,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .destructArray(v) } }() - case 116: try { + case 117: try { var v: Fuzzilli_Protobuf_DestructArrayAndReassign? var hadOneofValue = false if let current = self.operation { @@ -3390,7 +3404,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .destructArrayAndReassign(v) } }() - case 117: try { + case 118: try { var v: Fuzzilli_Protobuf_DestructObject? var hadOneofValue = false if let current = self.operation { @@ -3403,7 +3417,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .destructObject(v) } }() - case 118: try { + case 119: try { var v: Fuzzilli_Protobuf_DestructObjectAndReassign? var hadOneofValue = false if let current = self.operation { @@ -3416,7 +3430,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .destructObjectAndReassign(v) } }() - case 119: try { + case 120: try { var v: Fuzzilli_Protobuf_Compare? var hadOneofValue = false if let current = self.operation { @@ -3429,7 +3443,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .compare(v) } }() - case 120: try { + case 121: try { var v: Fuzzilli_Protobuf_LoadNamedVariable? var hadOneofValue = false if let current = self.operation { @@ -3442,7 +3456,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .loadNamedVariable(v) } }() - case 121: try { + case 122: try { var v: Fuzzilli_Protobuf_StoreNamedVariable? var hadOneofValue = false if let current = self.operation { @@ -3455,7 +3469,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .storeNamedVariable(v) } }() - case 122: try { + case 123: try { var v: Fuzzilli_Protobuf_DefineNamedVariable? var hadOneofValue = false if let current = self.operation { @@ -3468,7 +3482,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .defineNamedVariable(v) } }() - case 123: try { + case 124: try { var v: Fuzzilli_Protobuf_Eval? var hadOneofValue = false if let current = self.operation { @@ -3481,7 +3495,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .eval(v) } }() - case 124: try { + case 125: try { var v: Fuzzilli_Protobuf_BeginWith? var hadOneofValue = false if let current = self.operation { @@ -3494,7 +3508,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginWith(v) } }() - case 125: try { + case 126: try { var v: Fuzzilli_Protobuf_EndWith? var hadOneofValue = false if let current = self.operation { @@ -3507,7 +3521,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endWith(v) } }() - case 126: try { + case 127: try { var v: Fuzzilli_Protobuf_CallSuperConstructor? var hadOneofValue = false if let current = self.operation { @@ -3520,7 +3534,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callSuperConstructor(v) } }() - case 127: try { + case 128: try { var v: Fuzzilli_Protobuf_CallSuperMethod? var hadOneofValue = false if let current = self.operation { @@ -3533,7 +3547,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callSuperMethod(v) } }() - case 128: try { + case 129: try { var v: Fuzzilli_Protobuf_GetPrivateProperty? var hadOneofValue = false if let current = self.operation { @@ -3546,7 +3560,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .getPrivateProperty(v) } }() - case 129: try { + case 130: try { var v: Fuzzilli_Protobuf_SetPrivateProperty? var hadOneofValue = false if let current = self.operation { @@ -3559,7 +3573,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .setPrivateProperty(v) } }() - case 130: try { + case 131: try { var v: Fuzzilli_Protobuf_UpdatePrivateProperty? var hadOneofValue = false if let current = self.operation { @@ -3572,7 +3586,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .updatePrivateProperty(v) } }() - case 131: try { + case 132: try { var v: Fuzzilli_Protobuf_CallPrivateMethod? var hadOneofValue = false if let current = self.operation { @@ -3585,7 +3599,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .callPrivateMethod(v) } }() - case 132: try { + case 133: try { var v: Fuzzilli_Protobuf_GetSuperProperty? var hadOneofValue = false if let current = self.operation { @@ -3598,7 +3612,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .getSuperProperty(v) } }() - case 133: try { + case 134: try { var v: Fuzzilli_Protobuf_SetSuperProperty? var hadOneofValue = false if let current = self.operation { @@ -3611,7 +3625,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .setSuperProperty(v) } }() - case 134: try { + case 135: try { var v: Fuzzilli_Protobuf_GetComputedSuperProperty? var hadOneofValue = false if let current = self.operation { @@ -3624,7 +3638,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .getComputedSuperProperty(v) } }() - case 135: try { + case 136: try { var v: Fuzzilli_Protobuf_SetComputedSuperProperty? var hadOneofValue = false if let current = self.operation { @@ -3637,7 +3651,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .setComputedSuperProperty(v) } }() - case 136: try { + case 137: try { var v: Fuzzilli_Protobuf_UpdateSuperProperty? var hadOneofValue = false if let current = self.operation { @@ -3650,7 +3664,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .updateSuperProperty(v) } }() - case 137: try { + case 138: try { var v: Fuzzilli_Protobuf_BeginIf? var hadOneofValue = false if let current = self.operation { @@ -3663,7 +3677,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginIf(v) } }() - case 138: try { + case 139: try { var v: Fuzzilli_Protobuf_BeginElse? var hadOneofValue = false if let current = self.operation { @@ -3676,7 +3690,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginElse(v) } }() - case 139: try { + case 140: try { var v: Fuzzilli_Protobuf_EndIf? var hadOneofValue = false if let current = self.operation { @@ -3689,7 +3703,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endIf(v) } }() - case 140: try { + case 141: try { var v: Fuzzilli_Protobuf_BeginWhileLoopHeader? var hadOneofValue = false if let current = self.operation { @@ -3702,7 +3716,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginWhileLoopHeader(v) } }() - case 141: try { + case 142: try { var v: Fuzzilli_Protobuf_BeginWhileLoopBody? var hadOneofValue = false if let current = self.operation { @@ -3715,7 +3729,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginWhileLoopBody(v) } }() - case 142: try { + case 143: try { var v: Fuzzilli_Protobuf_EndWhileLoop? var hadOneofValue = false if let current = self.operation { @@ -3728,7 +3742,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endWhileLoop(v) } }() - case 143: try { + case 144: try { var v: Fuzzilli_Protobuf_BeginDoWhileLoopBody? var hadOneofValue = false if let current = self.operation { @@ -3741,7 +3755,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginDoWhileLoopBody(v) } }() - case 144: try { + case 145: try { var v: Fuzzilli_Protobuf_BeginDoWhileLoopHeader? var hadOneofValue = false if let current = self.operation { @@ -3754,7 +3768,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginDoWhileLoopHeader(v) } }() - case 145: try { + case 146: try { var v: Fuzzilli_Protobuf_EndDoWhileLoop? var hadOneofValue = false if let current = self.operation { @@ -3767,7 +3781,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endDoWhileLoop(v) } }() - case 146: try { + case 147: try { var v: Fuzzilli_Protobuf_BeginForLoopInitializer? var hadOneofValue = false if let current = self.operation { @@ -3780,7 +3794,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForLoopInitializer(v) } }() - case 147: try { + case 148: try { var v: Fuzzilli_Protobuf_BeginForLoopCondition? var hadOneofValue = false if let current = self.operation { @@ -3793,7 +3807,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForLoopCondition(v) } }() - case 148: try { + case 149: try { var v: Fuzzilli_Protobuf_BeginForLoopAfterthought? var hadOneofValue = false if let current = self.operation { @@ -3806,7 +3820,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForLoopAfterthought(v) } }() - case 149: try { + case 150: try { var v: Fuzzilli_Protobuf_BeginForLoopBody? var hadOneofValue = false if let current = self.operation { @@ -3819,7 +3833,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForLoopBody(v) } }() - case 150: try { + case 151: try { var v: Fuzzilli_Protobuf_EndForLoop? var hadOneofValue = false if let current = self.operation { @@ -3832,7 +3846,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endForLoop(v) } }() - case 151: try { + case 152: try { var v: Fuzzilli_Protobuf_BeginForInLoop? var hadOneofValue = false if let current = self.operation { @@ -3845,7 +3859,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForInLoop(v) } }() - case 152: try { + case 153: try { var v: Fuzzilli_Protobuf_EndForInLoop? var hadOneofValue = false if let current = self.operation { @@ -3858,7 +3872,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endForInLoop(v) } }() - case 153: try { + case 154: try { var v: Fuzzilli_Protobuf_BeginForOfLoop? var hadOneofValue = false if let current = self.operation { @@ -3871,7 +3885,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForOfLoop(v) } }() - case 154: try { + case 155: try { var v: Fuzzilli_Protobuf_BeginForOfLoopWithDestruct? var hadOneofValue = false if let current = self.operation { @@ -3884,7 +3898,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginForOfLoopWithDestruct(v) } }() - case 155: try { + case 156: try { var v: Fuzzilli_Protobuf_EndForOfLoop? var hadOneofValue = false if let current = self.operation { @@ -3897,7 +3911,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endForOfLoop(v) } }() - case 156: try { + case 157: try { var v: Fuzzilli_Protobuf_BeginRepeatLoop? var hadOneofValue = false if let current = self.operation { @@ -3910,7 +3924,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginRepeatLoop(v) } }() - case 157: try { + case 158: try { var v: Fuzzilli_Protobuf_EndRepeatLoop? var hadOneofValue = false if let current = self.operation { @@ -3923,7 +3937,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endRepeatLoop(v) } }() - case 158: try { + case 159: try { var v: Fuzzilli_Protobuf_LoopBreak? var hadOneofValue = false if let current = self.operation { @@ -3936,7 +3950,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .loopBreak(v) } }() - case 159: try { + case 160: try { var v: Fuzzilli_Protobuf_LoopContinue? var hadOneofValue = false if let current = self.operation { @@ -3949,7 +3963,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .loopContinue(v) } }() - case 160: try { + case 161: try { var v: Fuzzilli_Protobuf_BeginTry? var hadOneofValue = false if let current = self.operation { @@ -3962,7 +3976,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginTry(v) } }() - case 161: try { + case 162: try { var v: Fuzzilli_Protobuf_BeginCatch? var hadOneofValue = false if let current = self.operation { @@ -3975,7 +3989,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginCatch(v) } }() - case 162: try { + case 163: try { var v: Fuzzilli_Protobuf_BeginFinally? var hadOneofValue = false if let current = self.operation { @@ -3988,7 +4002,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginFinally(v) } }() - case 163: try { + case 164: try { var v: Fuzzilli_Protobuf_EndTryCatchFinally? var hadOneofValue = false if let current = self.operation { @@ -4001,7 +4015,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endTryCatchFinally(v) } }() - case 164: try { + case 165: try { var v: Fuzzilli_Protobuf_ThrowException? var hadOneofValue = false if let current = self.operation { @@ -4014,7 +4028,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .throwException(v) } }() - case 165: try { + case 166: try { var v: Fuzzilli_Protobuf_BeginCodeString? var hadOneofValue = false if let current = self.operation { @@ -4027,7 +4041,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginCodeString(v) } }() - case 166: try { + case 167: try { var v: Fuzzilli_Protobuf_EndCodeString? var hadOneofValue = false if let current = self.operation { @@ -4040,7 +4054,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endCodeString(v) } }() - case 167: try { + case 168: try { var v: Fuzzilli_Protobuf_BeginBlockStatement? var hadOneofValue = false if let current = self.operation { @@ -4053,7 +4067,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginBlockStatement(v) } }() - case 168: try { + case 169: try { var v: Fuzzilli_Protobuf_EndBlockStatement? var hadOneofValue = false if let current = self.operation { @@ -4066,7 +4080,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endBlockStatement(v) } }() - case 169: try { + case 170: try { var v: Fuzzilli_Protobuf_BeginSwitch? var hadOneofValue = false if let current = self.operation { @@ -4079,7 +4093,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginSwitch(v) } }() - case 170: try { + case 171: try { var v: Fuzzilli_Protobuf_BeginSwitchCase? var hadOneofValue = false if let current = self.operation { @@ -4092,7 +4106,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginSwitchCase(v) } }() - case 171: try { + case 172: try { var v: Fuzzilli_Protobuf_BeginSwitchDefaultCase? var hadOneofValue = false if let current = self.operation { @@ -4105,7 +4119,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .beginSwitchDefaultCase(v) } }() - case 172: try { + case 173: try { var v: Fuzzilli_Protobuf_EndSwitchCase? var hadOneofValue = false if let current = self.operation { @@ -4118,7 +4132,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endSwitchCase(v) } }() - case 173: try { + case 174: try { var v: Fuzzilli_Protobuf_EndSwitch? var hadOneofValue = false if let current = self.operation { @@ -4131,7 +4145,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .endSwitch(v) } }() - case 174: try { + case 175: try { var v: Fuzzilli_Protobuf_SwitchBreak? var hadOneofValue = false if let current = self.operation { @@ -4144,7 +4158,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .switchBreak(v) } }() - case 175: try { + case 176: try { var v: Fuzzilli_Protobuf_LoadNewTarget? var hadOneofValue = false if let current = self.operation { @@ -4157,7 +4171,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .loadNewTarget(v) } }() - case 176: try { + case 177: try { var v: Fuzzilli_Protobuf_Print? var hadOneofValue = false if let current = self.operation { @@ -4170,7 +4184,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .print(v) } }() - case 177: try { + case 178: try { var v: Fuzzilli_Protobuf_Explore? var hadOneofValue = false if let current = self.operation { @@ -4183,7 +4197,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .explore(v) } }() - case 178: try { + case 179: try { var v: Fuzzilli_Protobuf_Probe? var hadOneofValue = false if let current = self.operation { @@ -4196,7 +4210,7 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .probe(v) } }() - case 179: try { + case 180: try { var v: Fuzzilli_Protobuf_Fixup? var hadOneofValue = false if let current = self.operation { @@ -4209,19 +4223,6 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M self.operation = .fixup(v) } }() - case 180: try { - var v: Fuzzilli_Protobuf_Void? - var hadOneofValue = false - if let current = self.operation { - hadOneofValue = true - if case .void(let m) = current {v = m} - } - try decoder.decodeSingularMessageField(value: &v) - if let v = v { - if hadOneofValue {try decoder.handleConflictingOneOf()} - self.operation = .void(v) - } - }() default: break } } @@ -4554,403 +4555,403 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M }() case .void?: try { guard case .void(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 80) + try visitor.visitSingularMessageField(value: v, fieldNumber: 81) }() case .testInstanceOf?: try { guard case .testInstanceOf(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 81) + try visitor.visitSingularMessageField(value: v, fieldNumber: 82) }() case .testIn?: try { guard case .testIn(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 82) + try visitor.visitSingularMessageField(value: v, fieldNumber: 83) }() case .beginPlainFunction?: try { guard case .beginPlainFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 83) + try visitor.visitSingularMessageField(value: v, fieldNumber: 84) }() case .endPlainFunction?: try { guard case .endPlainFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 84) + try visitor.visitSingularMessageField(value: v, fieldNumber: 85) }() case .beginArrowFunction?: try { guard case .beginArrowFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 85) + try visitor.visitSingularMessageField(value: v, fieldNumber: 86) }() case .endArrowFunction?: try { guard case .endArrowFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 86) + try visitor.visitSingularMessageField(value: v, fieldNumber: 87) }() case .beginGeneratorFunction?: try { guard case .beginGeneratorFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 87) + try visitor.visitSingularMessageField(value: v, fieldNumber: 88) }() case .endGeneratorFunction?: try { guard case .endGeneratorFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 88) + try visitor.visitSingularMessageField(value: v, fieldNumber: 89) }() case .beginAsyncFunction?: try { guard case .beginAsyncFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 89) + try visitor.visitSingularMessageField(value: v, fieldNumber: 90) }() case .endAsyncFunction?: try { guard case .endAsyncFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 90) + try visitor.visitSingularMessageField(value: v, fieldNumber: 91) }() case .beginAsyncArrowFunction?: try { guard case .beginAsyncArrowFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 91) + try visitor.visitSingularMessageField(value: v, fieldNumber: 92) }() case .endAsyncArrowFunction?: try { guard case .endAsyncArrowFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 92) + try visitor.visitSingularMessageField(value: v, fieldNumber: 93) }() case .beginAsyncGeneratorFunction?: try { guard case .beginAsyncGeneratorFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 93) + try visitor.visitSingularMessageField(value: v, fieldNumber: 94) }() case .endAsyncGeneratorFunction?: try { guard case .endAsyncGeneratorFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 94) + try visitor.visitSingularMessageField(value: v, fieldNumber: 95) }() case .beginConstructor?: try { guard case .beginConstructor(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 95) + try visitor.visitSingularMessageField(value: v, fieldNumber: 96) }() case .endConstructor?: try { guard case .endConstructor(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 96) + try visitor.visitSingularMessageField(value: v, fieldNumber: 97) }() case .return?: try { guard case .return(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 97) + try visitor.visitSingularMessageField(value: v, fieldNumber: 98) }() case .yield?: try { guard case .yield(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 98) + try visitor.visitSingularMessageField(value: v, fieldNumber: 99) }() case .yieldEach?: try { guard case .yieldEach(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 99) + try visitor.visitSingularMessageField(value: v, fieldNumber: 100) }() case .await?: try { guard case .await(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 100) + try visitor.visitSingularMessageField(value: v, fieldNumber: 101) }() case .callFunction?: try { guard case .callFunction(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 101) + try visitor.visitSingularMessageField(value: v, fieldNumber: 102) }() case .callFunctionWithSpread?: try { guard case .callFunctionWithSpread(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 102) + try visitor.visitSingularMessageField(value: v, fieldNumber: 103) }() case .construct?: try { guard case .construct(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 103) + try visitor.visitSingularMessageField(value: v, fieldNumber: 104) }() case .constructWithSpread?: try { guard case .constructWithSpread(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 104) + try visitor.visitSingularMessageField(value: v, fieldNumber: 105) }() case .callMethod?: try { guard case .callMethod(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 105) + try visitor.visitSingularMessageField(value: v, fieldNumber: 106) }() case .callMethodWithSpread?: try { guard case .callMethodWithSpread(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 106) + try visitor.visitSingularMessageField(value: v, fieldNumber: 107) }() case .callComputedMethod?: try { guard case .callComputedMethod(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 107) + try visitor.visitSingularMessageField(value: v, fieldNumber: 108) }() case .callComputedMethodWithSpread?: try { guard case .callComputedMethodWithSpread(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 108) + try visitor.visitSingularMessageField(value: v, fieldNumber: 109) }() case .unaryOperation?: try { guard case .unaryOperation(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 109) + try visitor.visitSingularMessageField(value: v, fieldNumber: 110) }() case .binaryOperation?: try { guard case .binaryOperation(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 110) + try visitor.visitSingularMessageField(value: v, fieldNumber: 111) }() case .ternaryOperation?: try { guard case .ternaryOperation(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 111) + try visitor.visitSingularMessageField(value: v, fieldNumber: 112) }() case .update?: try { guard case .update(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 112) + try visitor.visitSingularMessageField(value: v, fieldNumber: 113) }() case .dup?: try { guard case .dup(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 113) + try visitor.visitSingularMessageField(value: v, fieldNumber: 114) }() case .reassign?: try { guard case .reassign(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 114) + try visitor.visitSingularMessageField(value: v, fieldNumber: 115) }() case .destructArray?: try { guard case .destructArray(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 115) + try visitor.visitSingularMessageField(value: v, fieldNumber: 116) }() case .destructArrayAndReassign?: try { guard case .destructArrayAndReassign(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 116) + try visitor.visitSingularMessageField(value: v, fieldNumber: 117) }() case .destructObject?: try { guard case .destructObject(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 117) + try visitor.visitSingularMessageField(value: v, fieldNumber: 118) }() case .destructObjectAndReassign?: try { guard case .destructObjectAndReassign(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 118) + try visitor.visitSingularMessageField(value: v, fieldNumber: 119) }() case .compare?: try { guard case .compare(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 119) + try visitor.visitSingularMessageField(value: v, fieldNumber: 120) }() case .loadNamedVariable?: try { guard case .loadNamedVariable(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 120) + try visitor.visitSingularMessageField(value: v, fieldNumber: 121) }() case .storeNamedVariable?: try { guard case .storeNamedVariable(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 121) + try visitor.visitSingularMessageField(value: v, fieldNumber: 122) }() case .defineNamedVariable?: try { guard case .defineNamedVariable(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 122) + try visitor.visitSingularMessageField(value: v, fieldNumber: 123) }() case .eval?: try { guard case .eval(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 123) + try visitor.visitSingularMessageField(value: v, fieldNumber: 124) }() case .beginWith?: try { guard case .beginWith(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 124) + try visitor.visitSingularMessageField(value: v, fieldNumber: 125) }() case .endWith?: try { guard case .endWith(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 125) + try visitor.visitSingularMessageField(value: v, fieldNumber: 126) }() case .callSuperConstructor?: try { guard case .callSuperConstructor(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 126) + try visitor.visitSingularMessageField(value: v, fieldNumber: 127) }() case .callSuperMethod?: try { guard case .callSuperMethod(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 127) + try visitor.visitSingularMessageField(value: v, fieldNumber: 128) }() case .getPrivateProperty?: try { guard case .getPrivateProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 128) + try visitor.visitSingularMessageField(value: v, fieldNumber: 129) }() case .setPrivateProperty?: try { guard case .setPrivateProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 129) + try visitor.visitSingularMessageField(value: v, fieldNumber: 130) }() case .updatePrivateProperty?: try { guard case .updatePrivateProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 130) + try visitor.visitSingularMessageField(value: v, fieldNumber: 131) }() case .callPrivateMethod?: try { guard case .callPrivateMethod(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 131) + try visitor.visitSingularMessageField(value: v, fieldNumber: 132) }() case .getSuperProperty?: try { guard case .getSuperProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 132) + try visitor.visitSingularMessageField(value: v, fieldNumber: 133) }() case .setSuperProperty?: try { guard case .setSuperProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 133) + try visitor.visitSingularMessageField(value: v, fieldNumber: 134) }() case .getComputedSuperProperty?: try { guard case .getComputedSuperProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 134) + try visitor.visitSingularMessageField(value: v, fieldNumber: 135) }() case .setComputedSuperProperty?: try { guard case .setComputedSuperProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 135) + try visitor.visitSingularMessageField(value: v, fieldNumber: 136) }() case .updateSuperProperty?: try { guard case .updateSuperProperty(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 136) + try visitor.visitSingularMessageField(value: v, fieldNumber: 137) }() case .beginIf?: try { guard case .beginIf(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 137) + try visitor.visitSingularMessageField(value: v, fieldNumber: 138) }() case .beginElse?: try { guard case .beginElse(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 138) + try visitor.visitSingularMessageField(value: v, fieldNumber: 139) }() case .endIf?: try { guard case .endIf(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 139) + try visitor.visitSingularMessageField(value: v, fieldNumber: 140) }() case .beginWhileLoopHeader?: try { guard case .beginWhileLoopHeader(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 140) + try visitor.visitSingularMessageField(value: v, fieldNumber: 141) }() case .beginWhileLoopBody?: try { guard case .beginWhileLoopBody(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 141) + try visitor.visitSingularMessageField(value: v, fieldNumber: 142) }() case .endWhileLoop?: try { guard case .endWhileLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 142) + try visitor.visitSingularMessageField(value: v, fieldNumber: 143) }() case .beginDoWhileLoopBody?: try { guard case .beginDoWhileLoopBody(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 143) + try visitor.visitSingularMessageField(value: v, fieldNumber: 144) }() case .beginDoWhileLoopHeader?: try { guard case .beginDoWhileLoopHeader(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 144) + try visitor.visitSingularMessageField(value: v, fieldNumber: 145) }() case .endDoWhileLoop?: try { guard case .endDoWhileLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 145) + try visitor.visitSingularMessageField(value: v, fieldNumber: 146) }() case .beginForLoopInitializer?: try { guard case .beginForLoopInitializer(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 146) + try visitor.visitSingularMessageField(value: v, fieldNumber: 147) }() case .beginForLoopCondition?: try { guard case .beginForLoopCondition(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 147) + try visitor.visitSingularMessageField(value: v, fieldNumber: 148) }() case .beginForLoopAfterthought?: try { guard case .beginForLoopAfterthought(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 148) + try visitor.visitSingularMessageField(value: v, fieldNumber: 149) }() case .beginForLoopBody?: try { guard case .beginForLoopBody(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 149) + try visitor.visitSingularMessageField(value: v, fieldNumber: 150) }() case .endForLoop?: try { guard case .endForLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 150) + try visitor.visitSingularMessageField(value: v, fieldNumber: 151) }() case .beginForInLoop?: try { guard case .beginForInLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 151) + try visitor.visitSingularMessageField(value: v, fieldNumber: 152) }() case .endForInLoop?: try { guard case .endForInLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 152) + try visitor.visitSingularMessageField(value: v, fieldNumber: 153) }() case .beginForOfLoop?: try { guard case .beginForOfLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 153) + try visitor.visitSingularMessageField(value: v, fieldNumber: 154) }() case .beginForOfLoopWithDestruct?: try { guard case .beginForOfLoopWithDestruct(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 154) + try visitor.visitSingularMessageField(value: v, fieldNumber: 155) }() case .endForOfLoop?: try { guard case .endForOfLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 155) + try visitor.visitSingularMessageField(value: v, fieldNumber: 156) }() case .beginRepeatLoop?: try { guard case .beginRepeatLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 156) + try visitor.visitSingularMessageField(value: v, fieldNumber: 157) }() case .endRepeatLoop?: try { guard case .endRepeatLoop(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 157) + try visitor.visitSingularMessageField(value: v, fieldNumber: 158) }() case .loopBreak?: try { guard case .loopBreak(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 158) + try visitor.visitSingularMessageField(value: v, fieldNumber: 159) }() case .loopContinue?: try { guard case .loopContinue(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 159) + try visitor.visitSingularMessageField(value: v, fieldNumber: 160) }() case .beginTry?: try { guard case .beginTry(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 160) + try visitor.visitSingularMessageField(value: v, fieldNumber: 161) }() case .beginCatch?: try { guard case .beginCatch(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 161) + try visitor.visitSingularMessageField(value: v, fieldNumber: 162) }() case .beginFinally?: try { guard case .beginFinally(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 162) + try visitor.visitSingularMessageField(value: v, fieldNumber: 163) }() case .endTryCatchFinally?: try { guard case .endTryCatchFinally(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 163) + try visitor.visitSingularMessageField(value: v, fieldNumber: 164) }() case .throwException?: try { guard case .throwException(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 164) + try visitor.visitSingularMessageField(value: v, fieldNumber: 165) }() case .beginCodeString?: try { guard case .beginCodeString(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 165) + try visitor.visitSingularMessageField(value: v, fieldNumber: 166) }() case .endCodeString?: try { guard case .endCodeString(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 166) + try visitor.visitSingularMessageField(value: v, fieldNumber: 167) }() case .beginBlockStatement?: try { guard case .beginBlockStatement(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 167) + try visitor.visitSingularMessageField(value: v, fieldNumber: 168) }() case .endBlockStatement?: try { guard case .endBlockStatement(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 168) + try visitor.visitSingularMessageField(value: v, fieldNumber: 169) }() case .beginSwitch?: try { guard case .beginSwitch(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 169) + try visitor.visitSingularMessageField(value: v, fieldNumber: 170) }() case .beginSwitchCase?: try { guard case .beginSwitchCase(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 170) + try visitor.visitSingularMessageField(value: v, fieldNumber: 171) }() case .beginSwitchDefaultCase?: try { guard case .beginSwitchDefaultCase(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 171) + try visitor.visitSingularMessageField(value: v, fieldNumber: 172) }() case .endSwitchCase?: try { guard case .endSwitchCase(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 172) + try visitor.visitSingularMessageField(value: v, fieldNumber: 173) }() case .endSwitch?: try { guard case .endSwitch(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 173) + try visitor.visitSingularMessageField(value: v, fieldNumber: 174) }() case .switchBreak?: try { guard case .switchBreak(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 174) + try visitor.visitSingularMessageField(value: v, fieldNumber: 175) }() case .loadNewTarget?: try { guard case .loadNewTarget(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 175) + try visitor.visitSingularMessageField(value: v, fieldNumber: 176) }() case .print?: try { guard case .print(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 176) + try visitor.visitSingularMessageField(value: v, fieldNumber: 177) }() case .explore?: try { guard case .explore(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 177) + try visitor.visitSingularMessageField(value: v, fieldNumber: 178) }() case .probe?: try { guard case .probe(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 178) + try visitor.visitSingularMessageField(value: v, fieldNumber: 179) }() case .fixup?: try { guard case .fixup(let v)? = self.operation else { preconditionFailure() } - try visitor.visitSingularMessageField(value: v, fieldNumber: 179) + try visitor.visitSingularMessageField(value: v, fieldNumber: 180) }() case nil: break } diff --git a/Sources/Fuzzilli/Protobuf/program.proto b/Sources/Fuzzilli/Protobuf/program.proto index 787f81b79..9a5af6fee 100644 --- a/Sources/Fuzzilli/Protobuf/program.proto +++ b/Sources/Fuzzilli/Protobuf/program.proto @@ -104,106 +104,106 @@ message Instruction { DeleteComputedProperty deleteComputedProperty = 78; ConfigureComputedProperty configureComputedProperty = 79; TypeOf typeOf = 80; - TestInstanceOf testInstanceOf = 81; - TestIn testIn = 82; - BeginPlainFunction beginPlainFunction = 83; - EndPlainFunction endPlainFunction = 84; - BeginArrowFunction beginArrowFunction = 85; - EndArrowFunction endArrowFunction = 86; - BeginGeneratorFunction beginGeneratorFunction = 87; - EndGeneratorFunction endGeneratorFunction = 88; - BeginAsyncFunction beginAsyncFunction = 89; - EndAsyncFunction endAsyncFunction = 90; - BeginAsyncArrowFunction beginAsyncArrowFunction = 91; - EndAsyncArrowFunction endAsyncArrowFunction = 92; - BeginAsyncGeneratorFunction beginAsyncGeneratorFunction = 93; - EndAsyncGeneratorFunction endAsyncGeneratorFunction = 94; - BeginConstructor beginConstructor = 95; - EndConstructor endConstructor = 96; - Return return = 97; - Yield yield = 98; - YieldEach yieldEach = 99; - Await await = 100; - CallFunction callFunction = 101; - CallFunctionWithSpread callFunctionWithSpread = 102; - Construct construct = 103; - ConstructWithSpread constructWithSpread = 104; - CallMethod callMethod = 105; - CallMethodWithSpread callMethodWithSpread = 106; - CallComputedMethod callComputedMethod = 107; - CallComputedMethodWithSpread callComputedMethodWithSpread = 108; - UnaryOperation unaryOperation = 109; - BinaryOperation binaryOperation = 110; - TernaryOperation ternaryOperation = 111; - Update update = 112; - Dup dup = 113; - Reassign reassign = 114; - DestructArray destructArray = 115; - DestructArrayAndReassign destructArrayAndReassign = 116; - DestructObject destructObject = 117; - DestructObjectAndReassign destructObjectAndReassign = 118; - Compare compare = 119; - LoadNamedVariable loadNamedVariable = 120; - StoreNamedVariable storeNamedVariable = 121; - DefineNamedVariable defineNamedVariable = 122; - Eval eval = 123; - BeginWith beginWith = 124; - EndWith endWith = 125; - CallSuperConstructor callSuperConstructor = 126; - CallSuperMethod callSuperMethod = 127; - GetPrivateProperty getPrivateProperty = 128; - SetPrivateProperty setPrivateProperty = 129; - UpdatePrivateProperty updatePrivateProperty = 130; - CallPrivateMethod callPrivateMethod = 131; - GetSuperProperty getSuperProperty = 132; - SetSuperProperty setSuperProperty = 133; - GetComputedSuperProperty getComputedSuperProperty = 134; - SetComputedSuperProperty setComputedSuperProperty = 135; - UpdateSuperProperty updateSuperProperty = 136; - BeginIf beginIf = 137; - BeginElse beginElse = 138; - EndIf endIf = 139; - BeginWhileLoopHeader beginWhileLoopHeader = 140; - BeginWhileLoopBody beginWhileLoopBody = 141; - EndWhileLoop endWhileLoop = 142; - BeginDoWhileLoopBody beginDoWhileLoopBody = 143; - BeginDoWhileLoopHeader beginDoWhileLoopHeader = 144; - EndDoWhileLoop endDoWhileLoop = 145; - BeginForLoopInitializer beginForLoopInitializer = 146; - BeginForLoopCondition beginForLoopCondition = 147; - BeginForLoopAfterthought beginForLoopAfterthought = 148; - BeginForLoopBody beginForLoopBody = 149; - EndForLoop endForLoop = 150; - BeginForInLoop beginForInLoop = 151; - EndForInLoop endForInLoop = 152; - BeginForOfLoop beginForOfLoop = 153; - BeginForOfLoopWithDestruct beginForOfLoopWithDestruct = 154; - EndForOfLoop endForOfLoop = 155; - BeginRepeatLoop beginRepeatLoop = 156; - EndRepeatLoop endRepeatLoop = 157; - LoopBreak loopBreak = 158; - LoopContinue loopContinue = 159; - BeginTry beginTry = 160; - BeginCatch beginCatch = 161; - BeginFinally beginFinally = 162; - EndTryCatchFinally endTryCatchFinally = 163; - ThrowException throwException = 164; - BeginCodeString beginCodeString = 165; - EndCodeString endCodeString = 166; - BeginBlockStatement beginBlockStatement = 167; - EndBlockStatement endBlockStatement = 168; - BeginSwitch beginSwitch = 169; - BeginSwitchCase beginSwitchCase = 170; - BeginSwitchDefaultCase beginSwitchDefaultCase = 171; - EndSwitchCase endSwitchCase = 172; - EndSwitch endSwitch = 173; - SwitchBreak switchBreak = 174; - LoadNewTarget loadNewTarget = 175; - Print print = 176; - Explore explore = 177; - Probe probe = 178; - Fixup fixup = 179; - Void void = 180; + Void void = 81; + TestInstanceOf testInstanceOf = 82; + TestIn testIn = 83; + BeginPlainFunction beginPlainFunction = 84; + EndPlainFunction endPlainFunction = 85; + BeginArrowFunction beginArrowFunction = 86; + EndArrowFunction endArrowFunction = 87; + BeginGeneratorFunction beginGeneratorFunction = 88; + EndGeneratorFunction endGeneratorFunction = 89; + BeginAsyncFunction beginAsyncFunction = 90; + EndAsyncFunction endAsyncFunction = 91; + BeginAsyncArrowFunction beginAsyncArrowFunction = 92; + EndAsyncArrowFunction endAsyncArrowFunction = 93; + BeginAsyncGeneratorFunction beginAsyncGeneratorFunction = 94; + EndAsyncGeneratorFunction endAsyncGeneratorFunction = 95; + BeginConstructor beginConstructor = 96; + EndConstructor endConstructor = 97; + Return return = 98; + Yield yield = 99; + YieldEach yieldEach = 100; + Await await = 101; + CallFunction callFunction = 102; + CallFunctionWithSpread callFunctionWithSpread = 103; + Construct construct = 104; + ConstructWithSpread constructWithSpread = 105; + CallMethod callMethod = 106; + CallMethodWithSpread callMethodWithSpread = 107; + CallComputedMethod callComputedMethod = 108; + CallComputedMethodWithSpread callComputedMethodWithSpread = 109; + UnaryOperation unaryOperation = 110; + BinaryOperation binaryOperation = 111; + TernaryOperation ternaryOperation = 112; + Update update = 113; + Dup dup = 114; + Reassign reassign = 115; + DestructArray destructArray = 116; + DestructArrayAndReassign destructArrayAndReassign = 117; + DestructObject destructObject = 118; + DestructObjectAndReassign destructObjectAndReassign = 119; + Compare compare = 120; + LoadNamedVariable loadNamedVariable = 121; + StoreNamedVariable storeNamedVariable = 122; + DefineNamedVariable defineNamedVariable = 123; + Eval eval = 124; + BeginWith beginWith = 125; + EndWith endWith = 126; + CallSuperConstructor callSuperConstructor = 127; + CallSuperMethod callSuperMethod = 128; + GetPrivateProperty getPrivateProperty = 129; + SetPrivateProperty setPrivateProperty = 130; + UpdatePrivateProperty updatePrivateProperty = 131; + CallPrivateMethod callPrivateMethod = 132; + GetSuperProperty getSuperProperty = 133; + SetSuperProperty setSuperProperty = 134; + GetComputedSuperProperty getComputedSuperProperty = 135; + SetComputedSuperProperty setComputedSuperProperty = 136; + UpdateSuperProperty updateSuperProperty = 137; + BeginIf beginIf = 138; + BeginElse beginElse = 139; + EndIf endIf = 140; + BeginWhileLoopHeader beginWhileLoopHeader = 141; + BeginWhileLoopBody beginWhileLoopBody = 142; + EndWhileLoop endWhileLoop = 143; + BeginDoWhileLoopBody beginDoWhileLoopBody = 144; + BeginDoWhileLoopHeader beginDoWhileLoopHeader = 145; + EndDoWhileLoop endDoWhileLoop = 146; + BeginForLoopInitializer beginForLoopInitializer = 147; + BeginForLoopCondition beginForLoopCondition = 148; + BeginForLoopAfterthought beginForLoopAfterthought = 149; + BeginForLoopBody beginForLoopBody = 150; + EndForLoop endForLoop = 151; + BeginForInLoop beginForInLoop = 152; + EndForInLoop endForInLoop = 153; + BeginForOfLoop beginForOfLoop = 154; + BeginForOfLoopWithDestruct beginForOfLoopWithDestruct = 155; + EndForOfLoop endForOfLoop = 156; + BeginRepeatLoop beginRepeatLoop = 157; + EndRepeatLoop endRepeatLoop = 158; + LoopBreak loopBreak = 159; + LoopContinue loopContinue = 160; + BeginTry beginTry = 161; + BeginCatch beginCatch = 162; + BeginFinally beginFinally = 163; + EndTryCatchFinally endTryCatchFinally = 164; + ThrowException throwException = 165; + BeginCodeString beginCodeString = 166; + EndCodeString endCodeString = 167; + BeginBlockStatement beginBlockStatement = 168; + EndBlockStatement endBlockStatement = 169; + BeginSwitch beginSwitch = 170; + BeginSwitchCase beginSwitchCase = 171; + BeginSwitchDefaultCase beginSwitchDefaultCase = 172; + EndSwitchCase endSwitchCase = 173; + EndSwitch endSwitch = 174; + SwitchBreak switchBreak = 175; + LoadNewTarget loadNewTarget = 176; + Print print = 177; + Explore explore = 178; + Probe probe = 179; + Fixup fixup = 180; } } diff --git a/Sources/Fuzzilli/Protobuf/sync.pb.swift b/Sources/Fuzzilli/Protobuf/sync.pb.swift index 156ed6920..ec48a9ca9 100644 --- a/Sources/Fuzzilli/Protobuf/sync.pb.swift +++ b/Sources/Fuzzilli/Protobuf/sync.pb.swift @@ -1,5 +1,6 @@ // DO NOT EDIT. // swift-format-ignore-file +// swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. // Source: sync.proto diff --git a/Tests/FuzzilliTests/CompilerTests/basic_void.js b/Tests/FuzzilliTests/CompilerTests/basic_void.js new file mode 100644 index 000000000..1f0d0cbc7 --- /dev/null +++ b/Tests/FuzzilliTests/CompilerTests/basic_void.js @@ -0,0 +1,9 @@ +output(void 1); +// Expected output: undefined + +void output('expression evaluated'); +// Expected output: "expression evaluated" + +void (function iife() { + output('iife is executed'); +})();