1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core;
use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase;
use PHPUnit\Framework\Attributes\Depends;
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;
final class SkipStackGuardPageTest extends SpecTestsuiteBase
{
public function testModule0(): void
{
$this->runModuleCommand(
filename: 'skip-stack-guard-page.0.wasm',
name: null,
line: 2,
);
}
#[Depends('testModule0')]
public function testAssertExhaustion1(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '0']]],
text: 'call stack exhausted',
line: 2275,
);
}
#[Depends('testAssertExhaustion1')]
public function testAssertExhaustion2(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '100']]],
text: 'call stack exhausted',
line: 2276,
);
}
#[Depends('testAssertExhaustion2')]
public function testAssertExhaustion3(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '200']]],
text: 'call stack exhausted',
line: 2277,
);
}
#[Depends('testAssertExhaustion3')]
public function testAssertExhaustion4(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '300']]],
text: 'call stack exhausted',
line: 2278,
);
}
#[Depends('testAssertExhaustion4')]
public function testAssertExhaustion5(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '400']]],
text: 'call stack exhausted',
line: 2279,
);
}
#[Depends('testAssertExhaustion5')]
public function testAssertExhaustion6(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '500']]],
text: 'call stack exhausted',
line: 2280,
);
}
#[Depends('testAssertExhaustion6')]
public function testAssertExhaustion7(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '600']]],
text: 'call stack exhausted',
line: 2281,
);
}
#[Depends('testAssertExhaustion7')]
public function testAssertExhaustion8(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '700']]],
text: 'call stack exhausted',
line: 2282,
);
}
#[Depends('testAssertExhaustion8')]
public function testAssertExhaustion9(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '800']]],
text: 'call stack exhausted',
line: 2283,
);
}
#[Depends('testAssertExhaustion9')]
public function testAssertExhaustion10(): void
{
$this->runAssertExhaustionCommand(
module: null,
action: ['type' => 'invoke', 'field' => 'test-guard-page-skip', 'args' => [['type' => 'i32', 'value' => '900']]],
text: 'call stack exhausted',
line: 2284,
);
}
}
|