Commit | Line | Data |
99331854 |
1 | #!./perl -T |
9ec58fb7 |
2 | |
3 | BEGIN { |
4 | chdir 't' if -d 't'; |
20822f61 |
5 | @INC = '../lib'; |
9ec58fb7 |
6 | require Config; import Config; |
7 | if ($Config{'extensions'} !~ /\bPeek\b/) { |
8 | print "1..0 # Skip: Devel::Peek was not built\n"; |
9 | exit 0; |
10 | } |
11 | } |
12 | |
9248c45a |
13 | use Devel::Peek; |
14 | |
b1886099 |
15 | print "1..23\n"; |
9248c45a |
16 | |
17 | our $DEBUG = 0; |
277ddfaf |
18 | open(SAVERR, ">&STDERR") or die "Can't dup STDERR: $!"; |
9248c45a |
19 | |
bf53b3a5 |
20 | |
9248c45a |
21 | sub do_test { |
22 | my $pattern = pop; |
277ddfaf |
23 | if (open(OUT,">peek$$")) { |
24 | open(STDERR, ">&OUT") or die "Can't dup OUT: $!"; |
9248c45a |
25 | Dump($_[1]); |
277ddfaf |
26 | open(STDERR, ">&SAVERR") or die "Can't restore STDERR: $!"; |
27 | close(OUT); |
9248c45a |
28 | if (open(IN, "peek$$")) { |
29 | local $/; |
30 | $pattern =~ s/\$ADDR/0x[[:xdigit:]]+/g; |
8aacddc1 |
31 | $pattern =~ s/\$FLOAT/(?:\\d*\\.\\d+(?:e[-+]\\d+)?|\\d+)/g; |
fd0854ff |
32 | # handle DEBUG_LEAKING_SCALARS prefix |
d94a5950 |
33 | $pattern =~ s/^(\s*)(SV =.* at )/(?:$1ALLOCATED at .*?\n)?$1$2/mg; |
bf53b3a5 |
34 | |
d04ba589 |
35 | $pattern =~ s/^ *\$XSUB *\n/ |
36 | ($] < 5.009) ? " XSUB = 0\n XSUBANY = 0\n" : ''; |
bf53b3a5 |
37 | /mge; |
d04ba589 |
38 | $pattern =~ s/^ *\$ROOT *\n/ |
39 | ($] < 5.009) ? " ROOT = 0x0\n" : ''; |
40 | /mge; |
c84c4652 |
41 | $pattern =~ s/^ *\$IVNV *\n/ |
42 | ($] < 5.009) ? " IV = 0\n NV = 0\n" : ''; |
43 | /mge; |
d04ba589 |
44 | |
bf53b3a5 |
45 | |
46 | |
9248c45a |
47 | print $pattern, "\n" if $DEBUG; |
48 | my $dump = <IN>; |
49 | print $dump, "\n" if $DEBUG; |
dc3aa7ec |
50 | print "got:\n[\n$dump\n]\nexpected:\n[\n$pattern\n]\nnot " |
51 | unless $dump =~ /\A$pattern\Z/ms; |
9248c45a |
52 | print "ok $_[0]\n"; |
53 | close(IN); |
59d8ce62 |
54 | return $1; |
9248c45a |
55 | } else { |
56 | die "$0: failed to open peek$$: !\n"; |
57 | } |
58 | } else { |
59 | die "$0: failed to create peek$$: $!\n"; |
60 | } |
61 | } |
62 | |
63 | our $a; |
64 | our $b; |
65 | my $c; |
208edb77 |
66 | local $d = 0; |
9248c45a |
67 | |
bf53b3a5 |
68 | |
9248c45a |
69 | do_test( 1, |
70 | $a = "foo", |
71 | 'SV = PV\\($ADDR\\) at $ADDR |
72 | REFCNT = 1 |
73 | FLAGS = \\(POK,pPOK\\) |
74 | PV = $ADDR "foo"\\\0 |
75 | CUR = 3 |
1badabf5 |
76 | LEN = \\d+' |
9248c45a |
77 | ); |
78 | |
79 | do_test( 2, |
80 | "bar", |
81 | 'SV = PV\\($ADDR\\) at $ADDR |
82 | REFCNT = 1 |
7766e686 |
83 | FLAGS = \\(.*POK,READONLY,pPOK\\) |
9248c45a |
84 | PV = $ADDR "bar"\\\0 |
85 | CUR = 3 |
1badabf5 |
86 | LEN = \\d+'); |
9248c45a |
87 | |
88 | do_test( 3, |
89 | $b = 123, |
90 | 'SV = IV\\($ADDR\\) at $ADDR |
91 | REFCNT = 1 |
92 | FLAGS = \\(IOK,pIOK\\) |
93 | IV = 123'); |
94 | |
95 | do_test( 4, |
96 | 456, |
97 | 'SV = IV\\($ADDR\\) at $ADDR |
98 | REFCNT = 1 |
7766e686 |
99 | FLAGS = \\(.*IOK,READONLY,pIOK\\) |
9248c45a |
100 | IV = 456'); |
101 | |
102 | do_test( 5, |
103 | $c = 456, |
104 | 'SV = IV\\($ADDR\\) at $ADDR |
105 | REFCNT = 1 |
235cc2e3 |
106 | FLAGS = \\(PADMY,IOK,pIOK\\) |
9248c45a |
107 | IV = 456'); |
108 | |
59d8ce62 |
109 | # If perl is built with PERL_PRESERVE_IVUV then maths is done as integers |
110 | # where possible and this scalar will be an IV. If NO_PERL_PRESERVE_IVUV then |
111 | # maths is done in floating point always, and this scalar will be an NV. |
112 | # ([NI]) captures the type, referred to by \1 in this regexp and $type for |
113 | # building subsequent regexps. |
114 | my $type = do_test( 6, |
9248c45a |
115 | $c + $d, |
59d8ce62 |
116 | 'SV = ([NI])V\\($ADDR\\) at $ADDR |
9248c45a |
117 | REFCNT = 1 |
59d8ce62 |
118 | FLAGS = \\(PADTMP,\1OK,p\1OK\\) |
119 | \1V = 456'); |
9248c45a |
120 | |
121 | ($d = "789") += 0.1; |
122 | |
123 | do_test( 7, |
124 | $d, |
125 | 'SV = PVNV\\($ADDR\\) at $ADDR |
126 | REFCNT = 1 |
127 | FLAGS = \\(NOK,pNOK\\) |
128 | IV = 0 |
ac634a9a |
129 | NV = 789\\.(?:1(?:000+\d+)?|0999+\d+) |
9248c45a |
130 | PV = $ADDR "789"\\\0 |
131 | CUR = 3 |
1badabf5 |
132 | LEN = \\d+'); |
9248c45a |
133 | |
134 | do_test( 8, |
135 | 0xabcd, |
136 | 'SV = IV\\($ADDR\\) at $ADDR |
137 | REFCNT = 1 |
28e5dec8 |
138 | FLAGS = \\(.*IOK,READONLY,pIOK\\) |
139 | IV = 43981'); |
9248c45a |
140 | |
141 | do_test( 9, |
142 | undef, |
143 | 'SV = NULL\\(0x0\\) at $ADDR |
144 | REFCNT = 1 |
145 | FLAGS = \\(\\)'); |
146 | |
147 | do_test(10, |
148 | \$a, |
149 | 'SV = RV\\($ADDR\\) at $ADDR |
150 | REFCNT = 1 |
151 | FLAGS = \\(ROK\\) |
152 | RV = $ADDR |
153 | SV = PV\\($ADDR\\) at $ADDR |
154 | REFCNT = 2 |
155 | FLAGS = \\(POK,pPOK\\) |
156 | PV = $ADDR "foo"\\\0 |
157 | CUR = 3 |
1badabf5 |
158 | LEN = \\d+'); |
9248c45a |
159 | |
59d8ce62 |
160 | my $c_pattern; |
161 | if ($type eq 'N') { |
162 | $c_pattern = ' |
163 | SV = PVNV\\($ADDR\\) at $ADDR |
164 | REFCNT = 1 |
165 | FLAGS = \\(IOK,NOK,pIOK,pNOK\\) |
166 | IV = 456 |
167 | NV = 456 |
168 | PV = 0'; |
169 | } else { |
170 | $c_pattern = ' |
171 | SV = IV\\($ADDR\\) at $ADDR |
172 | REFCNT = 1 |
173 | FLAGS = \\(IOK,pIOK\\) |
174 | IV = 456'; |
175 | } |
9248c45a |
176 | do_test(11, |
177 | [$b,$c], |
178 | 'SV = RV\\($ADDR\\) at $ADDR |
179 | REFCNT = 1 |
180 | FLAGS = \\(ROK\\) |
181 | RV = $ADDR |
182 | SV = PVAV\\($ADDR\\) at $ADDR |
183 | REFCNT = 2 |
184 | FLAGS = \\(\\) |
9248c45a |
185 | ARRAY = $ADDR |
186 | FILL = 1 |
187 | MAX = 1 |
188 | ARYLEN = 0x0 |
189 | FLAGS = \\(REAL\\) |
190 | Elt No. 0 |
191 | SV = IV\\($ADDR\\) at $ADDR |
192 | REFCNT = 1 |
193 | FLAGS = \\(IOK,pIOK\\) |
194 | IV = 123 |
59d8ce62 |
195 | Elt No. 1' . $c_pattern); |
9248c45a |
196 | |
197 | do_test(12, |
198 | {$b=>$c}, |
199 | 'SV = RV\\($ADDR\\) at $ADDR |
200 | REFCNT = 1 |
201 | FLAGS = \\(ROK\\) |
202 | RV = $ADDR |
203 | SV = PVHV\\($ADDR\\) at $ADDR |
204 | REFCNT = 2 |
205 | FLAGS = \\(SHAREKEYS\\) |
9248c45a |
206 | ARRAY = $ADDR \\(0:7, 1:1\\) |
b8fa94d8 |
207 | hash quality = 100.0% |
9248c45a |
208 | KEYS = 1 |
209 | FILL = 1 |
210 | MAX = 7 |
211 | RITER = -1 |
212 | EITER = 0x0 |
59d8ce62 |
213 | Elt "123" HASH = $ADDR' . $c_pattern); |
9248c45a |
214 | |
215 | do_test(13, |
216 | sub(){@_}, |
217 | 'SV = RV\\($ADDR\\) at $ADDR |
218 | REFCNT = 1 |
219 | FLAGS = \\(ROK\\) |
220 | RV = $ADDR |
221 | SV = PVCV\\($ADDR\\) at $ADDR |
222 | REFCNT = 2 |
235cc2e3 |
223 | FLAGS = \\(PADMY,POK,pPOK,ANON,WEAKOUTSIDE\\) |
c84c4652 |
224 | $IVNV |
9248c45a |
225 | PROTOTYPE = "" |
226 | COMP_STASH = $ADDR\\t"main" |
227 | START = $ADDR ===> \\d+ |
228 | ROOT = $ADDR |
d04ba589 |
229 | $XSUB |
208edb77 |
230 | GVGV::GV = $ADDR\\t"main" :: "__ANON__[^"]*" |
084d946d |
231 | FILE = ".*\\b(?i:peek\\.t)" |
9248c45a |
232 | DEPTH = 0 |
9856a127 |
233 | (?: MUTEXP = $ADDR |
208edb77 |
234 | OWNER = $ADDR |
5b4563c8 |
235 | )? FLAGS = 0x90 |
a3985cdc |
236 | OUTSIDE_SEQ = \\d+ |
9248c45a |
237 | PADLIST = $ADDR |
dd2155a4 |
238 | PADNAME = $ADDR\\($ADDR\\) PAD = $ADDR\\($ADDR\\) |
9248c45a |
239 | OUTSIDE = $ADDR \\(MAIN\\)'); |
240 | |
241 | do_test(14, |
242 | \&do_test, |
243 | 'SV = RV\\($ADDR\\) at $ADDR |
244 | REFCNT = 1 |
245 | FLAGS = \\(ROK\\) |
246 | RV = $ADDR |
247 | SV = PVCV\\($ADDR\\) at $ADDR |
9856a127 |
248 | REFCNT = (3|4) |
9248c45a |
249 | FLAGS = \\(\\) |
c84c4652 |
250 | $IVNV |
9248c45a |
251 | COMP_STASH = $ADDR\\t"main" |
252 | START = $ADDR ===> \\d+ |
253 | ROOT = $ADDR |
d04ba589 |
254 | $XSUB |
9248c45a |
255 | GVGV::GV = $ADDR\\t"main" :: "do_test" |
084d946d |
256 | FILE = ".*\\b(?i:peek\\.t)" |
9248c45a |
257 | DEPTH = 1 |
9856a127 |
258 | (?: MUTEXP = $ADDR |
208edb77 |
259 | OWNER = $ADDR |
260 | )? FLAGS = 0x0 |
a3985cdc |
261 | OUTSIDE_SEQ = \\d+ |
9248c45a |
262 | PADLIST = $ADDR |
dd2155a4 |
263 | PADNAME = $ADDR\\($ADDR\\) PAD = $ADDR\\($ADDR\\) |
ee6cee0c |
264 | \\d+\\. $ADDR<\\d+> \\(\\d+,\\d+\\) "\\$pattern" |
b5c19bd7 |
265 | \\d+\\. $ADDR<\\d+> FAKE "\\$DEBUG" flags=0x0 index=0 |
ee6cee0c |
266 | \\d+\\. $ADDR<\\d+> \\(\\d+,\\d+\\) "\\$dump" |
9248c45a |
267 | OUTSIDE = $ADDR \\(MAIN\\)'); |
268 | |
269 | do_test(15, |
270 | qr(tic), |
271 | 'SV = RV\\($ADDR\\) at $ADDR |
272 | REFCNT = 1 |
273 | FLAGS = \\(ROK\\) |
274 | RV = $ADDR |
275 | SV = PVMG\\($ADDR\\) at $ADDR |
276 | REFCNT = 1 |
faf82a0b |
277 | FLAGS = \\(OBJECT,SMG\\) |
9248c45a |
278 | IV = 0 |
279 | NV = 0 |
280 | PV = 0 |
281 | MAGIC = $ADDR |
282 | MG_VIRTUAL = $ADDR |
14befaf4 |
283 | MG_TYPE = PERL_MAGIC_qr\(r\) |
9248c45a |
284 | MG_OBJ = $ADDR |
285 | STASH = $ADDR\\t"Regexp"'); |
286 | |
287 | do_test(16, |
288 | (bless {}, "Tac"), |
289 | 'SV = RV\\($ADDR\\) at $ADDR |
290 | REFCNT = 1 |
291 | FLAGS = \\(ROK\\) |
292 | RV = $ADDR |
293 | SV = PVHV\\($ADDR\\) at $ADDR |
294 | REFCNT = 2 |
295 | FLAGS = \\(OBJECT,SHAREKEYS\\) |
9248c45a |
296 | STASH = $ADDR\\t"Tac" |
297 | ARRAY = 0x0 |
298 | KEYS = 0 |
299 | FILL = 0 |
300 | MAX = 7 |
301 | RITER = -1 |
302 | EITER = 0x0'); |
303 | |
304 | do_test(17, |
305 | *a, |
306 | 'SV = PVGV\\($ADDR\\) at $ADDR |
307 | REFCNT = 5 |
b07ccbd7 |
308 | FLAGS = \\(GMG,SMG,MULTI(?:,IN_PAD)?\\) |
9248c45a |
309 | IV = 0 |
310 | NV = 0 |
311 | MAGIC = $ADDR |
312 | MG_VIRTUAL = &PL_vtbl_glob |
14befaf4 |
313 | MG_TYPE = PERL_MAGIC_glob\(\*\) |
9248c45a |
314 | MG_OBJ = $ADDR |
9248c45a |
315 | NAME = "a" |
316 | NAMELEN = 1 |
317 | GvSTASH = $ADDR\\t"main" |
318 | GP = $ADDR |
319 | SV = $ADDR |
320 | REFCNT = 1 |
321 | IO = 0x0 |
322 | FORM = 0x0 |
323 | AV = 0x0 |
324 | HV = 0x0 |
325 | CV = 0x0 |
326 | CVGEN = 0x0 |
9ec58fb7 |
327 | LINE = \\d+ |
084d946d |
328 | FILE = ".*\\b(?i:peek\\.t)" |
e39917cc |
329 | FLAGS = $ADDR |
9248c45a |
330 | EGV = $ADDR\\t"a"'); |
331 | |
cdb2dd7b |
332 | if (ord('A') == 193) { |
333 | do_test(18, |
334 | chr(256).chr(0).chr(512), |
335 | 'SV = PV\\($ADDR\\) at $ADDR |
336 | REFCNT = 1 |
235cc2e3 |
337 | FLAGS = \\((?:PADTMP,)?POK,READONLY,pPOK,UTF8\\) |
cdb2dd7b |
338 | PV = $ADDR "\\\214\\\101\\\0\\\235\\\101"\\\0 \[UTF8 "\\\x\{100\}\\\x\{0\}\\\x\{200\}"\] |
339 | CUR = 5 |
1badabf5 |
340 | LEN = \\d+'); |
cdb2dd7b |
341 | } else { |
e6abe6d8 |
342 | do_test(18, |
343 | chr(256).chr(0).chr(512), |
344 | 'SV = PV\\($ADDR\\) at $ADDR |
345 | REFCNT = 1 |
235cc2e3 |
346 | FLAGS = \\((?:PADTMP,)?POK,READONLY,pPOK,UTF8\\) |
98c991d1 |
347 | PV = $ADDR "\\\304\\\200\\\0\\\310\\\200"\\\0 \[UTF8 "\\\x\{100\}\\\x\{0\}\\\x\{200\}"\] |
e6abe6d8 |
348 | CUR = 5 |
1badabf5 |
349 | LEN = \\d+'); |
cdb2dd7b |
350 | } |
e6abe6d8 |
351 | |
cdb2dd7b |
352 | if (ord('A') == 193) { |
353 | do_test(19, |
354 | {chr(256)=>chr(512)}, |
355 | 'SV = RV\\($ADDR\\) at $ADDR |
356 | REFCNT = 1 |
357 | FLAGS = \\(ROK\\) |
358 | RV = $ADDR |
359 | SV = PVHV\\($ADDR\\) at $ADDR |
360 | REFCNT = 2 |
b2caaddd |
361 | FLAGS = \\(SHAREKEYS,HASKFLAGS\\) |
cdb2dd7b |
362 | ARRAY = $ADDR \\(0:7, 1:1\\) |
363 | hash quality = 100.0% |
364 | KEYS = 1 |
365 | FILL = 1 |
366 | MAX = 7 |
367 | RITER = -1 |
368 | EITER = $ADDR |
6cbfa5b4 |
369 | Elt "\\\214\\\101" \[UTF8 "\\\x\{100\}"\] HASH = $ADDR |
cdb2dd7b |
370 | SV = PV\\($ADDR\\) at $ADDR |
371 | REFCNT = 1 |
372 | FLAGS = \\(POK,pPOK,UTF8\\) |
373 | PV = $ADDR "\\\235\\\101"\\\0 \[UTF8 "\\\x\{200\}"\] |
374 | CUR = 2 |
1badabf5 |
375 | LEN = \\d+'); |
cdb2dd7b |
376 | } else { |
98c991d1 |
377 | do_test(19, |
378 | {chr(256)=>chr(512)}, |
379 | 'SV = RV\\($ADDR\\) at $ADDR |
380 | REFCNT = 1 |
381 | FLAGS = \\(ROK\\) |
382 | RV = $ADDR |
383 | SV = PVHV\\($ADDR\\) at $ADDR |
384 | REFCNT = 2 |
19692e8d |
385 | FLAGS = \\(SHAREKEYS,HASKFLAGS\\) |
98c991d1 |
386 | ARRAY = $ADDR \\(0:7, 1:1\\) |
387 | hash quality = 100.0% |
388 | KEYS = 1 |
389 | FILL = 1 |
390 | MAX = 7 |
391 | RITER = -1 |
392 | EITER = $ADDR |
393 | Elt "\\\304\\\200" \[UTF8 "\\\x\{100\}"\] HASH = $ADDR |
394 | SV = PV\\($ADDR\\) at $ADDR |
395 | REFCNT = 1 |
396 | FLAGS = \\(POK,pPOK,UTF8\\) |
397 | PV = $ADDR "\\\310\\\200"\\\0 \[UTF8 "\\\x\{200\}"\] |
398 | CUR = 2 |
1badabf5 |
399 | LEN = \\d+'); |
cdb2dd7b |
400 | } |
98c991d1 |
401 | |
99331854 |
402 | my $x=""; |
403 | $x=~/.??/g; |
404 | do_test(20, |
405 | $x, |
406 | 'SV = PVMG\\($ADDR\\) at $ADDR |
407 | REFCNT = 1 |
235cc2e3 |
408 | FLAGS = \\(PADMY,SMG,POK,pPOK\\) |
99331854 |
409 | IV = 0 |
410 | NV = 0 |
411 | PV = $ADDR ""\\\0 |
412 | CUR = 0 |
1936d2a7 |
413 | LEN = \d+ |
99331854 |
414 | MAGIC = $ADDR |
415 | MG_VIRTUAL = &PL_vtbl_mglob |
416 | MG_TYPE = PERL_MAGIC_regex_global\\(g\\) |
417 | MG_FLAGS = 0x01 |
418 | MINMATCH'); |
419 | |
f24fdb76 |
420 | # |
421 | # TAINTEDDIR is not set on: OS2, AMIGAOS, WIN32, MSDOS |
422 | # environment variables may be invisibly case-forced, hence the (?i:PATH) |
5e836f43 |
423 | # C<scalar(@ARGV)> is turned into an IV on VMS hence the (?:IV)? |
d9baf692 |
424 | # VMS is setting FAKE and READONLY flags. What VMS uses for storing |
425 | # ENV hashes is also not always null terminated. |
f24fdb76 |
426 | # |
99331854 |
427 | do_test(21, |
428 | $ENV{PATH}=@ARGV, # scalar(@ARGV) is a handy known tainted value |
429 | 'SV = PVMG\\($ADDR\\) at $ADDR |
430 | REFCNT = 1 |
431 | FLAGS = \\(GMG,SMG,RMG,pIOK,pPOK\\) |
432 | IV = 0 |
433 | NV = 0 |
434 | PV = $ADDR "0"\\\0 |
435 | CUR = 1 |
436 | LEN = \d+ |
437 | MAGIC = $ADDR |
438 | MG_VIRTUAL = &PL_vtbl_envelem |
439 | MG_TYPE = PERL_MAGIC_envelem\\(e\\) |
d25a523c |
440 | (?: MG_FLAGS = 0x01 |
99331854 |
441 | TAINTEDDIR |
143a3e5e |
442 | )? MG_LEN = -?\d+ |
443 | MG_PTR = $ADDR (?:"(?i:PATH)"|=> HEf_SVKEY |
5e836f43 |
444 | SV = PV(?:IV)?\\($ADDR\\) at $ADDR |
143a3e5e |
445 | REFCNT = \d+ |
11e2783c |
446 | FLAGS = \\(TEMP,POK,(?:FAKE,READONLY,)?pPOK\\) |
f0fabfd7 |
447 | (?: IV = 0 |
d9baf692 |
448 | )? PV = $ADDR "(?i:PATH)"(?:\\\0)? |
143a3e5e |
449 | CUR = \d+ |
450 | LEN = \d+) |
99331854 |
451 | MAGIC = $ADDR |
452 | MG_VIRTUAL = &PL_vtbl_taint |
453 | MG_TYPE = PERL_MAGIC_taint\\(t\\)'); |
454 | |
9248c45a |
455 | END { |
92e5451f |
456 | 1 while unlink("peek$$"); |
9248c45a |
457 | } |
6bf47b08 |
458 | |
459 | # blessed refs |
460 | do_test(22, |
461 | bless(\\undef, 'Foobar'), |
462 | 'SV = RV\\($ADDR\\) at $ADDR |
463 | REFCNT = 1 |
464 | FLAGS = \\(ROK\\) |
465 | RV = $ADDR |
466 | SV = PVMG\\($ADDR\\) at $ADDR |
467 | REFCNT = 2 |
468 | FLAGS = \\(OBJECT,ROK\\) |
7957ad98 |
469 | IV = -?\d+ |
470 | NV = $FLOAT |
6bf47b08 |
471 | RV = $ADDR |
472 | SV = NULL\\(0x0\\) at $ADDR |
473 | REFCNT = \d+ |
474 | FLAGS = \\(READONLY\\) |
475 | PV = $ADDR "" |
476 | CUR = 0 |
477 | LEN = 0 |
478 | STASH = $ADDR\s+"Foobar"'); |
b1886099 |
479 | |
480 | # Constant subroutines |
481 | |
482 | sub const () { |
483 | "Perl rules"; |
484 | } |
485 | |
486 | do_test(23, |
487 | \&const, |
488 | 'SV = RV\\($ADDR\\) at $ADDR |
489 | REFCNT = 1 |
490 | FLAGS = \\(ROK\\) |
491 | RV = $ADDR |
492 | SV = PVCV\\($ADDR\\) at $ADDR |
493 | REFCNT = (2) |
494 | FLAGS = \\(POK,pPOK,CONST\\) |
c84c4652 |
495 | $IVNV |
b1886099 |
496 | PROTOTYPE = "" |
497 | COMP_STASH = 0x0 |
d04ba589 |
498 | $ROOT |
b1886099 |
499 | XSUB = $ADDR |
500 | XSUBANY = $ADDR \\(CONST SV\\) |
501 | SV = PV\\($ADDR\\) at $ADDR |
502 | REFCNT = 1 |
503 | FLAGS = \\(.*POK,READONLY,pPOK\\) |
504 | PV = $ADDR "Perl rules"\\\0 |
505 | CUR = 10 |
506 | LEN = \\d+ |
507 | GVGV::GV = $ADDR\\t"main" :: "const" |
508 | FILE = ".*\\b(?i:peek\\.t)" |
509 | DEPTH = 0 |
510 | (?: MUTEXP = $ADDR |
511 | OWNER = $ADDR |
d04ba589 |
512 | )? FLAGS = 0x1400 |
b1886099 |
513 | OUTSIDE_SEQ = 0 |
514 | PADLIST = 0x0 |
515 | OUTSIDE = 0x0 \\(null\\)'); |