📄 regress-1200351.js
字号:
// Copyright 2008 the V8 project authors. All rights reserved.// Redistribution and use in source and binary forms, with or without// modification, are permitted provided that the following conditions are// met://// * Redistributions of source code must retain the above copyright// notice, this list of conditions and the following disclaimer.// * Redistributions in binary form must reproduce the above// copyright notice, this list of conditions and the following// disclaimer in the documentation and/or other materials provided// with the distribution.// * Neither the name of Google Inc. nor the names of its// contributors may be used to endorse or promote products derived// from this software without specific prior written permission.//// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.// Make sure the 'constructor' property isn't enumerable.var enums = "";for (var k in this) enums += (k + '|');assertEquals(-1, enums.split('|').indexOf("constructor"));// Make sure this doesn't crash.new this.constructor;new this.constructor();new this.constructor(1,2,3,4,5,6);var x = 0;try { eval("SetValueOf(typeof(break.prototype.name), Math.max(typeof(break)))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("export Join((void), false.className(), null instanceof continue, return 'a', 0.__defineGetter__(x,function(){native}))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("with ({ void&&null.push(goto NaN) : Math.max(undef).toText }) { {-1/null,1.isNull} }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new break>>>=native.charCodeAt(-1.valueOf())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Number(this > native)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new {native,0.2}?continue+undef:IsSmi(0.2)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = break.toString()&&return continue")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (-1==continue.toJSONProtocol, GetFunctionFor(break.call(NaN)), (!new RegExp).prototype.new Object()<<void) { debugger.__defineSetter__(null,function(){continue})>>>=GetFunctionFor(-1) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (parseFloat(NaN).splice() in null.add(1).className()) { true[0.2]<<x.splice() }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("let (debugger.constructor.valueOf()) { this.sort().true.splice() }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("unescape(break.toObject()).prototype.new RegExp.continue.__lookupGetter__(x.slice(1, NaN)) = typeof(null.push(0.2))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Date(Iterator(continue.pop()))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("function X(x) { return new RegExp.shift().concat({debugger,continue}) }; X(return goto 0)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("Instantiate(0.add(break)&&x > null)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("with ({ eval(Array(x)) : 1.call('a').superConstructor }) { debugger.lastIndex.toLocaleString() }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("x = return true.__defineGetter__(this,function(){0.2})")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("x = new typeof(0)&this.lastIndex")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("String(new RegExp.call(1)).prototype.unescape(parseFloat(-1)) = false<<true.x.lastIndexOf(1)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("with ({ 1+debugger.valueOf() : continue.join().name() }) { parseInt(true)==undef.sort() }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new RegExp>>0.2.superConstructor.prototype.eval(void).className() = false.join().prototype.name")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("export (new Object()?undef:native)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("x = new null.isNull.slice(x.prototype.value, Iterator(undef))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("export function () { 0.2 }.unshift()")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Math.max(continue.valueOf())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("x = return debugger.toObject()")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("switch (-1.length+new Object().prototype.name) { case (debugger.constructor.sort()): IsPrimitive(undef.__defineSetter__(undef,function(){native})); break; }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("delete (!new Object().toLocaleString())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Date(0<<'a'>>>=new RegExp['a'])")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("native {unescape(true),new RegExp.isNull}")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = -1.lastIndexOf(false)?parseFloat(void):Join(null, continue, new Object(), x, break)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("label null/void-break.__lookupGetter__(native)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Function(0.2.join().constructor)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("label function () { false }.__lookupGetter__(this==1)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("Instantiate(-1.prototype.0.2.unshift())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = new return goto -1")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new {Number(debugger)}")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("if (parseInt(break) instanceof 0.length) { this.(!0.2) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("SetValueOf(break.superConstructor[throw new false(true)], this.~x)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("SetValueOf(function () { IsSmi(-1) }, unescape(IsPrimitive(void)))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (new RegExp.join().className() in new Object().length()>>true.toObject()) { parseFloat(escape(debugger)) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = new String(debugger).toJSONProtocol")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("SetValueOf(1.indexOf('a')<<break.__lookupGetter__('a'), new Object().null.prototype.new RegExp.charCodeAt(-1))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = new {parseInt(0)}")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Date(void.join().add(escape(undef)))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("native parseFloat(false.charAt(new RegExp))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Date(~Iterator(void))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Function(NaN.shift().toJSONProtocol)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new Date(native-debugger<<continue.slice(x, new RegExp))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("x = parseFloat(~new Object())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (null.size/true.add(void) in 0+continue&true.null) { continue.toObject()/throw new true(debugger) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (Iterator(native+break) in debugger.superConstructor.constructor) { Math.max(0.add(undef)) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new {-1.add(native),true.sort()}")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new {IsSmi(break),throw new 'a'(null)}")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("switch (parseInt(0).length()) { case ('a'.toObject().__defineSetter__(GetFunctionFor(null),function(){(!x)})): IsSmi(void).constructor; break; }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("x = new 0.lastIndexOf(NaN).shift()")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("with ({ 0>>>=this.lastIndex : new Object().lastIndexOf(true).toObject() }) { x.lastIndex > 1.__defineSetter__(false,function(){this}) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("with ({ throw new false(0.2).prototype.name : parseFloat(false)+(!debugger) }) { escape(undef.lastIndex) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("Math.pow(0.2).toJSONProtocol.prototype.break.superConstructor.slice(NaN.exec(undef), -1.lastIndexOf(NaN)) = true.splice().length")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("native continue.className().constructor")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("let (0.2.isNull&undef.toString()) { continue/void+parseInt(null) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = new Math.pow(break==this)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("SetValueOf(continue.__lookupGetter__(null).constructor, debugger.filter(0.2)>>>=this.'a')")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("with ({ 0.2.unshift() > true.size : return Math.max(new RegExp) }) { void.splice().toString() }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new unescape(false).unshift()")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("function X(x) { return this.true?'a'==this:0.2.__lookupGetter__(void) }; X(Iterator(false).length)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = function () { null }.__defineSetter__(0.charCodeAt(new Object()),function(){null>>>=new Object()})")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("import goto 'a'.charAt(native.className())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("import 0.2.isNull.__lookupGetter__(debugger.size)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (~new Object().push(Array(null)) in new RegExp>>>=void.prototype.name) { goto break.lastIndex }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("delete String(x).slice(String('a'), parseFloat(false))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("new parseInt(continue.__defineGetter__(0.2,function(){1}))")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("Instantiate(true.concat(undef)==0.2.new RegExp)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("function X(x) { return NaN['a']?-1.exec(0):NaN.prototype.this }; X(native.prototype.name.toLocaleString())")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (debugger==continue.toObject(), Array(NaN.className()), Math.max(new RegExp).prototype.value) { GetFunctionFor('a').prototype.value }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("const x = new parseInt(break)==Array(x)")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("for (parseInt(0.2.charCodeAt(this)), this.continue.prototype.name, native.superConstructor.superConstructor) { Join(0.__defineGetter__(continue,function(){undef}), {1}, parseFloat(0), undef.__defineSetter__(break,function(){null}), x?-1:-1) }")} catch (e) { if (e.message.length > 0) { print (e.message); } };try { eval("export Join(debugger.splice(), parseInt(NaN), new RegExp.pop(), this.false, x.-1)")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -