diff --git a/Sources/Fuzzilli/Base/ProgramBuilder.swift b/Sources/Fuzzilli/Base/ProgramBuilder.swift index 3eb4cb96..9b8b380e 100644 --- a/Sources/Fuzzilli/Base/ProgramBuilder.swift +++ b/Sources/Fuzzilli/Base/ProgramBuilder.swift @@ -2039,6 +2039,11 @@ public class ProgramBuilder { return emit(TypeOf(), withInputs: [v]).output } + @discardableResult + public func void(_ v: Variable) -> Variable { + return emit(Void_(), withInputs: [v]).output + } + @discardableResult public func testInstanceOf(_ v: Variable, _ type: Variable) -> Variable { return emit(TestInstanceOf(), withInputs: [v, type]).output diff --git a/Sources/Fuzzilli/CodeGen/CodeGeneratorWeights.swift b/Sources/Fuzzilli/CodeGen/CodeGeneratorWeights.swift index bda9a0d7..4c8d809c 100644 --- a/Sources/Fuzzilli/CodeGen/CodeGeneratorWeights.swift +++ b/Sources/Fuzzilli/CodeGen/CodeGeneratorWeights.swift @@ -193,4 +193,5 @@ public let codeGeneratorWeights = [ "ApiConstructorCallGenerator": 15, "ApiMethodCallGenerator": 15, "ApiFunctionCallGenerator": 15, + "VoidGenerator": 1, ] diff --git a/Sources/Fuzzilli/CodeGen/CodeGenerators.swift b/Sources/Fuzzilli/CodeGen/CodeGenerators.swift index 616106d9..1d016749 100644 --- a/Sources/Fuzzilli/CodeGen/CodeGenerators.swift +++ b/Sources/Fuzzilli/CodeGen/CodeGenerators.swift @@ -974,6 +974,10 @@ public let CodeGenerators: [CodeGenerator] = [ b.compare(type, with: rhs, using: .strictEqual) }, + CodeGenerator("VoidGenerator", inputs: .one) { b, val in + b.void(val) + }, + CodeGenerator("InstanceOfGenerator", inputs: .preferred(.anything, .constructor())) { b, val, cls in b.testInstanceOf(val, cls) }, diff --git a/Sources/Fuzzilli/Compiler/Compiler.swift b/Sources/Fuzzilli/Compiler/Compiler.swift index fef246a9..b67142a1 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/FuzzIL/Instruction.swift b/Sources/Fuzzilli/FuzzIL/Instruction.swift index d770196b..4ba5c279 100644 --- a/Sources/Fuzzilli/FuzzIL/Instruction.swift +++ b/Sources/Fuzzilli/FuzzIL/Instruction.swift @@ -565,6 +565,8 @@ extension Instruction: ProtobufConvertible { } case .typeOf: $0.typeOf = Fuzzilli_Protobuf_TypeOf() + case .void: + $0.void = Fuzzilli_Protobuf_Void() case .testInstanceOf: $0.testInstanceOf = Fuzzilli_Protobuf_TestInstanceOf() case .testIn: @@ -1042,6 +1044,8 @@ extension Instruction: ProtobufConvertible { op = ConfigureComputedProperty(flags: flags, type: try convertEnum(p.type, PropertyType.allCases)) case .typeOf: op = TypeOf() + case .void: + op = Void_() case .testInstanceOf: op = TestInstanceOf() case .testIn: diff --git a/Sources/Fuzzilli/FuzzIL/JSTyper.swift b/Sources/Fuzzilli/FuzzIL/JSTyper.swift index cc2c07af..a21d9b4f 100644 --- a/Sources/Fuzzilli/FuzzIL/JSTyper.swift +++ b/Sources/Fuzzilli/FuzzIL/JSTyper.swift @@ -676,6 +676,9 @@ public struct JSTyper: Analyzer { case .typeOf: set(instr.output, .string) + case .void: + set(instr.output, .undefined) + case .testInstanceOf: set(instr.output, .boolean) diff --git a/Sources/Fuzzilli/FuzzIL/JsOperations.swift b/Sources/Fuzzilli/FuzzIL/JsOperations.swift index a7b52cab..5905a9e1 100644 --- a/Sources/Fuzzilli/FuzzIL/JsOperations.swift +++ b/Sources/Fuzzilli/FuzzIL/JsOperations.swift @@ -1030,6 +1030,14 @@ final class TypeOf: JsOperation { } } +final class Void_: JsOperation { + override var opcode: Opcode { .void(self) } + + init() { + super.init(numInputs: 1, numOutputs: 1) + } +} + final class TestInstanceOf: JsOperation { override var opcode: Opcode { .testInstanceOf(self) } diff --git a/Sources/Fuzzilli/FuzzIL/Opcodes.swift b/Sources/Fuzzilli/FuzzIL/Opcodes.swift index e0b9f37f..8f376ea0 100644 --- a/Sources/Fuzzilli/FuzzIL/Opcodes.swift +++ b/Sources/Fuzzilli/FuzzIL/Opcodes.swift @@ -106,6 +106,7 @@ enum Opcode { case deleteComputedProperty(DeleteComputedProperty) case configureComputedProperty(ConfigureComputedProperty) case typeOf(TypeOf) + case void(Void_) case testInstanceOf(TestInstanceOf) case testIn(TestIn) case beginPlainFunction(BeginPlainFunction) diff --git a/Sources/Fuzzilli/Lifting/FuzzILLifter.swift b/Sources/Fuzzilli/Lifting/FuzzILLifter.swift index aa489854..8bfe3507 100644 --- a/Sources/Fuzzilli/Lifting/FuzzILLifter.swift +++ b/Sources/Fuzzilli/Lifting/FuzzILLifter.swift @@ -366,6 +366,9 @@ public class FuzzILLifter: Lifter { case .typeOf: w.emit("\(output()) <- TypeOf \(input(0))") + case .void: + w.emit("\(output()) <- Void_ \(input(0))") + case .testInstanceOf: w.emit("\(output()) <- TestInstanceOf \(input(0)), \(input(1))") diff --git a/Sources/Fuzzilli/Lifting/JavaScriptLifter.swift b/Sources/Fuzzilli/Lifting/JavaScriptLifter.swift index 240f3ea9..b7de0815 100644 --- a/Sources/Fuzzilli/Lifting/JavaScriptLifter.swift +++ b/Sources/Fuzzilli/Lifting/JavaScriptLifter.swift @@ -642,6 +642,10 @@ public class JavaScriptLifter: Lifter { let expr = UnaryExpression.new() + "typeof " + input(0) w.assign(expr, to: instr.output) + case .void: + let expr = UnaryExpression.new() + "void " + input(0) + w.assign(expr, to: instr.output) + case .testInstanceOf: let lhs = input(0) let rhs = input(1) diff --git a/Sources/Fuzzilli/Protobuf/operations.pb.swift b/Sources/Fuzzilli/Protobuf/operations.pb.swift index 5bb356cd..8a0cc83b 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 @@ -1278,6 +1278,16 @@ public struct Fuzzilli_Protobuf_TypeOf: Sendable { public init() {} } +public struct Fuzzilli_Protobuf_Void: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} +} + public struct Fuzzilli_Protobuf_TestInstanceOf: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -4885,6 +4895,25 @@ extension Fuzzilli_Protobuf_TypeOf: SwiftProtobuf.Message, SwiftProtobuf._Messag } } +extension Fuzzilli_Protobuf_Void: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = _protobuf_package + ".Void" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + // Load everything into unknown fields + while try decoder.nextFieldNumber() != nil {} + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Fuzzilli_Protobuf_Void, rhs: Fuzzilli_Protobuf_Void) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + extension Fuzzilli_Protobuf_TestInstanceOf: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".TestInstanceOf" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() diff --git a/Sources/Fuzzilli/Protobuf/operations.proto b/Sources/Fuzzilli/Protobuf/operations.proto index 524e45a8..292ae8ce 100644 --- a/Sources/Fuzzilli/Protobuf/operations.proto +++ b/Sources/Fuzzilli/Protobuf/operations.proto @@ -337,6 +337,9 @@ message ConfigureComputedProperty { message TypeOf { } +message Void { +} + message TestInstanceOf { } diff --git a/Sources/Fuzzilli/Protobuf/program.pb.swift b/Sources/Fuzzilli/Protobuf/program.pb.swift index b0423047..e03b56af 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 @@ -680,6 +681,14 @@ public struct Fuzzilli_Protobuf_Instruction: Sendable { set {operation = .typeOf(newValue)} } + public var void: Fuzzilli_Protobuf_Void { + get { + if case .void(let v)? = operation {return v} + return Fuzzilli_Protobuf_Void() + } + set {operation = .void(newValue)} + } + public var testInstanceOf: Fuzzilli_Protobuf_TestInstanceOf { get { if case .testInstanceOf(let v)? = operation {return v} @@ -1554,6 +1563,7 @@ public struct Fuzzilli_Protobuf_Instruction: Sendable { case deleteComputedProperty(Fuzzilli_Protobuf_DeleteComputedProperty) case configureComputedProperty(Fuzzilli_Protobuf_ConfigureComputedProperty) case typeOf(Fuzzilli_Protobuf_TypeOf) + case void(Fuzzilli_Protobuf_Void) case testInstanceOf(Fuzzilli_Protobuf_TestInstanceOf) case testIn(Fuzzilli_Protobuf_TestIn) case beginPlainFunction(Fuzzilli_Protobuf_BeginPlainFunction) @@ -1782,105 +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"), + 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 { @@ -2913,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 { @@ -2925,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 { @@ -2938,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 { @@ -2951,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 { @@ -2964,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 { @@ -2977,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 { @@ -2990,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 { @@ -3003,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 { @@ -3016,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 { @@ -3029,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 { @@ -3042,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 { @@ -3055,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 { @@ -3068,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 { @@ -3081,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 { @@ -3094,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 { @@ -3107,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 { @@ -3120,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 { @@ -3133,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 { @@ -3146,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 { @@ -3159,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 { @@ -3172,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 { @@ -3185,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 { @@ -3198,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 { @@ -3211,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 { @@ -3224,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 { @@ -3237,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 { @@ -3250,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 { @@ -3263,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 { @@ -3276,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 { @@ -3289,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 { @@ -3302,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 { @@ -3315,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 { @@ -3328,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 { @@ -3341,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 { @@ -3354,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 { @@ -3367,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 { @@ -3380,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 { @@ -3393,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 { @@ -3406,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 { @@ -3419,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 { @@ -3432,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 { @@ -3445,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 { @@ -3458,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 { @@ -3471,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 { @@ -3484,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 { @@ -3497,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 { @@ -3510,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 { @@ -3523,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 { @@ -3536,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 { @@ -3549,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 { @@ -3562,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 { @@ -3575,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 { @@ -3588,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 { @@ -3601,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 { @@ -3614,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 { @@ -3627,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 { @@ -3640,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 { @@ -3653,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 { @@ -3666,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 { @@ -3679,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 { @@ -3692,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 { @@ -3705,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 { @@ -3718,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 { @@ -3731,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 { @@ -3744,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 { @@ -3757,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 { @@ -3770,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 { @@ -3783,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 { @@ -3796,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 { @@ -3809,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 { @@ -3822,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 { @@ -3835,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 { @@ -3848,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 { @@ -3861,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 { @@ -3874,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 { @@ -3887,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 { @@ -3900,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 { @@ -3913,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 { @@ -3926,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 { @@ -3939,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 { @@ -3952,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 { @@ -3965,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 { @@ -3978,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 { @@ -3991,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 { @@ -4004,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 { @@ -4017,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 { @@ -4030,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 { @@ -4043,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 { @@ -4056,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 { @@ -4069,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 { @@ -4082,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 { @@ -4095,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 { @@ -4108,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 { @@ -4121,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 { @@ -4134,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 { @@ -4147,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 { @@ -4160,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 { @@ -4173,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 { @@ -4186,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 { @@ -4529,401 +4553,405 @@ extension Fuzzilli_Protobuf_Instruction: SwiftProtobuf.Message, SwiftProtobuf._M guard case .typeOf(let v)? = self.operation else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 80) }() + case .void?: try { + guard case .void(let v)? = self.operation else { preconditionFailure() } + 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 c8da3a39..9a5af6fe 100644 --- a/Sources/Fuzzilli/Protobuf/program.proto +++ b/Sources/Fuzzilli/Protobuf/program.proto @@ -104,105 +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 = 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 156ed692..ec48a9ca 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 00000000..864051d2 --- /dev/null +++ b/Tests/FuzzilliTests/CompilerTests/basic_void.js @@ -0,0 +1,10 @@ +const output = void 1; +console.log(output); +// Expected output: undefined + +void console.log('expression evaluated'); +// Expected output: "expression evaluated" + +void (function iife() { + console.log('iife is executed'); +})(); \ No newline at end of file