1/* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16function f3() { 17 return 268435440n; 18} 19function f4() { 20 return 53315n; 21} 22new Date(); 23new Int16Array(3866); 24const v12 = new Int16Array(10); 25const v15 = new Float64Array(4); 26for (let i18 = 9, i19 = 10; 27 (() => { 28 const v20 = i19--; 29 for (let i23 = 2, i24 = 10; i24-- < i24;) { 30 } 31 return v20; 32 })(); 33 (() => { 34 for (let [i43, i44] = (() => { 35 function f33(a34, a35, a36) { 36 const o37 = { 37 "b": Int16Array, 38 "f": i19, 39 "h": Int16Array, 40 }; 41 return o37; 42 } 43 f33(268435440n, 3866, 268435440n); 44 f33(268435440n, i19, 268435440n); 45 f33(53315n, 4, -770327790n); 46 return [-1024, 58693]; 47 })(); 48 i44--; 49 ) { 50 } 51 })()) { 52} 53for (let i54 = -15651, i55 = 10; 54 i55--, i54 < i55; 55 (() => { 56 const o60 = { 57 "call": Date, 58 "deleteProperty": Date, 59 "getPrototypeOf": f4, 60 }; 61 new Proxy(v12, o60); 62 })()) { 63} 64const v65 = [9, 9, 9, 9, 9]; 65const v68 = new Uint16Array(512); 66function f69(a70, a71, a72, a73) { 67 for (const v74 of v15) { 68 const o77 = { 69 "maxByteLength": 82, 70 }; 71 const v79 = new SharedArrayBuffer(82, o77); 72 new Uint16Array(v79); 73 } 74 a73[179] = a73; 75 const t59 = v65.constructor; 76 const v83 = t59(a72); 77 try { v83.find(f69); } catch (e) { } 78 const v86 = 1139204126 >> a72; 79 for (let i89 = 0, i90 = 47940; v86 < i90; i90--) { 80 } 81 return v83; 82} 83v68.reduceRight(f69); 84print("execute successful.")