| line |
true |
false |
branch |
|
14
|
0 |
6 |
if (not eval {
do {
"\1\0\0\0\0\0\0\0"
}
}) |
|
21
|
6 |
0 |
if $INC[-1] eq "." |
|
215
|
0 |
30 |
unless exists $Lookup{$signature} |
|
225
|
0 |
122 |
unless exists $Lookup{$signature} |
|
267
|
0 |
0 |
unless exists $Lookup{$signature} |
|
369
|
6 |
0 |
if $ENV{'ZIPDETAILS_TESTHARNESS'} |
|
494
|
3 |
3 |
if ($wantVerbose) { } |
|
544
|
0 |
468 |
unless defined $format |
|
545
|
468 |
0 |
unless @_ |
|
601
|
0 |
0 |
if $size == 0 |
|
630
|
0 |
0 |
unless defined $_[0] |
|
644
|
432 |
0 |
$size ? : |
|
664
|
0 |
0 |
$size ? : |
|
702
|
0 |
0 |
$size ? : |
|
720
|
72 |
228 |
if ($letter eq 'C') { } |
|
|
114 |
114 |
elsif ($letter eq 'v') { } |
|
|
114 |
0 |
elsif ($letter eq 'V') { } |
|
|
0 |
0 |
elsif ($letter eq 'Q<') { } |
|
745
|
96 |
204 |
if (defined $cb1) |
|
747
|
96 |
0 |
if (ref $cb1 eq 'CODE') { } |
|
754
|
72 |
24 |
unless $v =~ /^'/ |
|
755
|
72 |
24 |
unless $v =~ /'$/ |
|
761
|
0 |
300 |
if defined $cb2 |
|
811
|
12 |
0 |
if ($size > 0) |
|
812
|
0 |
12 |
if ($size > $PAYLOADLIMIT) { } |
|
817
|
0 |
12 |
if $redact |
|
830
|
0 |
0 |
if $size == 0 |
|
913
|
84 |
0 |
unless defined $loc |
|
938
|
0 |
0 |
if ($got) |
|
977
|
2 |
22 |
if ($ix == -1) |
|
985
|
0 |
22 |
unless ($sigs{$rest}) |
|
1054
|
0 |
6 |
unless &GetOptions("h|help", \$opt_help, "v", \$opt_verbose, "scan", \$opt_scan, "walk", \$opt_walk, "redact", \$opt_Redact, "utc", \$opt_utc, "version", sub {
print "$VERSION\n";
exit;
}
, "encoding=s", \&TextEncoding::parseEncodingOption, "no-encoding", \&TextEncoding::NoEncoding, "debug-encoding", \&TextEncoding::debugEncoding, "output-encoding=s", \&TextEncoding::parseEncodingOption, "language-encoding!", \&TextEncoding::LanguageEncodingFlag, "exit-bitmask!", \$opt_want_message_exit_status, "messages!", sub {
my($opt_name, $opt_value) = @_;
$opt_want_info_messages = $opt_want_warning_messages = $opt_want_error_messages = $opt_value;
}
) |
|
1056
|
0 |
6 |
if $opt_help |
|
1059
|
0 |
6 |
unless @ARGV == 1 |
|
1062
|
0 |
6 |
if $opt_walk and $opt_scan |
|
1067
|
0 |
6 |
unless -e $filename |
|
1070
|
0 |
6 |
if -d $filename |
|
1073
|
0 |
6 |
unless -f $filename |
|
1076
|
0 |
6 |
unless $FH = "IO::File"->new("<$filename") |
|
1087
|
0 |
6 |
if $FILELEN == 0 |
|
1090
|
0 |
6 |
if $FILELEN < 22 |
|
1097
|
4 |
2 |
if ($opt_scan or $opt_walk) { } |
|
1118
|
0 |
20 |
if ($delta < 0) { } |
|
|
0 |
20 |
elsif ($here != $lastEndsAt) { } |
|
1133
|
0 |
0 |
if (not $output_encryptedCD and $CentralDirectory->isEncryptedCD) { } |
|
|
0 |
0 |
elsif ($lastSignature == 67324752 and $lastHeader->{'streamed'}) { } |
|
|
0 |
0 |
elsif (Signatures::isCentralHeader($s) and $foundCentralHeader == 0) { } |
|
1143
|
0 |
0 |
unless ($lastHeader->{'gotDataDescriptorSize'}) |
|
1147
|
0 |
0 |
if ($hdrSize) |
|
1155
|
0 |
0 |
if (defined $lastHeader->{'payloadOutput'} and $lastEndsAt = BadlyFormedDataDescriptor($lastHeader, $delta)) |
|
1176
|
0 |
0 |
if ($START_APK) |
|
1189
|
0 |
0 |
if ($delta > 0) { } |
|
1191
|
0 |
0 |
if $lastEndsAt == 0 |
|
1194
|
0 |
0 |
if $FH->tell - $delta |
|
1196
|
0 |
0 |
if $lastEndsAt == 0 |
|
1213
|
0 |
20 |
unless (defined $handler) |
|
1222
|
10 |
10 |
if $opt_scan |
|
1226
|
0 |
4 |
unless $foundZipRecords |
|
1236
|
0 |
2 |
if ($s and $FH->tell != 0) |
|
1245
|
0 |
0 |
unless $CentralDirectory->exists or $EOCD_Present |
|
1270
|
2 |
10 |
if $FH->eof |
|
1274
|
0 |
10 |
if ($here >= $TRAILING) |
|
1288
|
0 |
10 |
if ($here == 0 and $signature == 808471376) { } |
|
1297
|
10 |
0 |
if ($expectedEntry) |
|
1322
|
0 |
0 |
if (defined $expectedOffset and $here != $expectedOffset and $CentralDirectory->exists || $EOCD_Present) |
|
1324
|
0 |
0 |
if ($here > $expectedOffset) |
|
1341
|
0 |
0 |
if ($signature != 134695760 and Signatures::isCentralHeader($expectedSignature) and $START_APK and not $processedAPK) |
|
1362
|
0 |
0 |
if ($signature != 134695760 and $delta >= 0) |
|
1365
|
0 |
0 |
if ($lastHeader->{'streamed'} and BadlyFormedDataDescriptor($lastHeader, $delta)) |
|
1372
|
0 |
0 |
if $here == 0 |
|
1375
|
0 |
0 |
if $FH->tell - $delta |
|
1386
|
0 |
10 |
unless (defined $handler) |
|
1437
|
10 |
0 |
if $signature != 134695760 |
|
1440
|
0 |
10 |
if $signature == 134695760 |
|
1446
|
6 |
0 |
if $opt_want_error_messages |
|
1456
|
0 |
6 |
if ($CentralDirectory->isMiniZipEncrypted) { } |
|
|
6 |
0 |
elsif ($CentralDirectory->exists and $LocalDirectory->exists) { } |
|
|
0 |
0 |
elsif ($CentralDirectory->exists) { } |
|
|
0 |
0 |
elsif ($LocalDirectory->exists) { } |
|
1472
|
0 |
6 |
if ($NESTING_DEBUG) |
|
1474
|
0 |
0 |
if (Nesting::encapsulationCount()) |
|
1498
|
12 |
12 |
if $_->entryType == 67324752 and not $_->encapsulated |
|
1503
|
0 |
6 |
if (keys %orphans) |
|
1521
|
0 |
24 |
if $_->entryType == 33639248 and not $_->ldEntry |
|
1527
|
0 |
6 |
if (keys %orphans) |
|
1543
|
0 |
6 |
if (Nesting::encapsulationCount()) |
|
1553
|
0 |
0 |
if $_->entryType == 33639248 and not $_->encapsulated and $_->ldEntry and $_->ldEntry->childrenCount |
|
1561
|
0 |
0 |
if (keys %outerEntries) |
|
1575
|
0 |
6 |
if ($LocalDirectory->anyStreamedEntries) |
|
1580
|
0 |
0 |
if $_->entryType == 67324752 and $_->streamed |
|
1601
|
12 |
12 |
if $_->entryType == 67324752 and not $_->encapsulated |
|
1608
|
0 |
0 |
if (@entries > 1) |
|
1612
|
0 |
0 |
if ($localEntry) { } |
|
1634
|
0 |
6 |
if (Nesting::encapsulationCount()) |
|
1650
|
0 |
0 |
if ($innerEntry) |
|
1653
|
0 |
0 |
if (defined $outerLocalEntry) |
|
1656
|
0 |
0 |
if ($CentralDirectory->{'byLocalOffset'}{$offset}) { } |
|
1668
|
0 |
0 |
if (keys %nested) |
|
1687
|
0 |
0 |
if (keys %bomb) |
|
1727
|
0 |
12 |
unless $localEntry |
|
1753
|
0 |
96 |
if (($localValue // -1) ne ($centralValue // -2)) |
|
1755
|
0 |
0 |
if ($stringify) |
|
1770
|
0 |
12 |
if ($badFields) |
|
1782
|
0 |
0 |
unless $opt_scan or $opt_walk |
|
1788
|
0 |
0 |
if ($CentralDirectory->isEncryptedCD) { } |
|
1799
|
0 |
6 |
if ($ErrorCount or $WarningCount or $InfoCount) |
|
1801
|
0 |
0 |
unless $lastWasMessage |
|
1804
|
0 |
0 |
if $ErrorCount |
|
1806
|
0 |
0 |
if $WarningCount |
|
1808
|
0 |
0 |
if $InfoCount |
|
1812
|
0 |
6 |
if (@Messages) |
|
1835
|
0 |
0 |
unless $opt_scan or $opt_walk |
|
1842
|
0 |
0 |
if ($signature == 134695760) |
|
1850
|
0 |
0 |
if ($cl32 == $delta - 12) |
|
1855
|
0 |
0 |
if ($cl64 == $delta - 20) |
|
1880
|
0 |
0 |
if ($opt_scan or $opt_walk) |
|
1884
|
0 |
0 |
if ($lastHeader->{'gotDataDescriptorSize'} == 12) |
|
1898
|
0 |
0 |
if ($localEntry->zip64) |
|
1906
|
0 |
0 |
if ($lastHeader->{'gotDataDescriptorSize'} == 20) |
|
1920
|
0 |
0 |
unless ($localEntry->zip64) |
|
1936
|
0 |
0 |
if ($delta == 12) |
|
1941
|
0 |
0 |
if ($cl == $compressedSize) |
|
1951
|
0 |
0 |
if ($localEntry->zip64) |
|
1960
|
0 |
0 |
if ($delta == 20) |
|
1966
|
0 |
0 |
if ($cl == $compressedSize) |
|
1976
|
0 |
0 |
if (not $localEntry->zip64 and ($cdEntry and not $cdEntry->zip64)) |
|
2026
|
4 |
8 |
if (not $opt_scan || $opt_walk and $CentralEntryExists) |
|
2030
|
0 |
4 |
unless ($cdEntry) |
|
2041
|
0 |
4 |
if ($cdIndex and $cdIndex != $LocalHeaderCount) |
|
2061
|
0 |
12 |
unless defined $ZIP_CompressionMethods{$compressedMethod} |
|
2075
|
0 |
0 |
if $streaming and $crc != 0 and not $weakEncryption |
|
2086
|
0 |
12 |
if ($filenameLength == 0) |
|
2094
|
12 |
0 |
if ($filenameLength) |
|
2123
|
0 |
12 |
if ($extraLength) |
|
2166
|
0 |
12 |
if (($gpFlag & 8257) == 8257 and $extractVer >= 50) |
|
2175
|
4 |
8 |
defined $cdEntry ? : |
|
2180
|
0 |
12 |
if defined $cdl and $gpFlag & 8 |
|
2185
|
4 |
8 |
defined $CentralDirectory->{'byLocalOffset'}{$locHeaderOffset} ? : |
|
2188
|
0 |
12 |
if defined $cdu and $gpFlag & 8 |
|
2197
|
12 |
0 |
if ($CDcompressedSize) |
|
2201
|
0 |
12 |
if ($available < $CDcompressedSize) |
|
2216
|
0 |
12 |
if ($compressedMethod == 99 and $localEntry->aesValid) { } |
|
|
12 |
0 |
elsif (($gpFlag & 8257) == 0) { } |
|
|
0 |
0 |
elsif ($pk_encrypted) { } |
|
2222
|
0 |
12 |
if ($compressedMethod == 14) |
|
2235
|
12 |
0 |
if ($haveCDcompressedSize) |
|
2237
|
0 |
12 |
if ($compressedMethod == 92 and $CDcompressedSize == 20) { } |
|
|
0 |
12 |
elsif ($compressedMethod == 99 and $localEntry->aesValid) { } |
|
2286
|
0 |
0 |
if ($ix > -1) |
|
2290
|
0 |
0 |
if ($ix + 4 + 2 + $sigSize == $cdSize) |
|
2310
|
0 |
0 |
if $delta |
|
2338
|
0 |
0 |
if ($central) { } |
|
2384
|
0 |
0 |
if $recipients == 0 |
|
2408
|
0 |
0 |
if $opt_Redact |
|
2419
|
0 |
0 |
if $opt_Redact |
|
2457
|
0 |
12 |
if ($filename =~ m[/$]) |
|
2464
|
0 |
12 |
if ($dosAttributes & 16) |
|
2470
|
0 |
12 |
if ($versionMadeBy == 3 and $otherAttributes & 16384) |
|
2477
|
12 |
0 |
unless $probablyDirectory |
|
2481
|
0 |
0 |
if not $filenameOK and $uncompressedSize == 0 |
|
2486
|
0 |
0 |
if $filenameOK and not $dosDirectoryAttributeSet |
|
2490
|
0 |
0 |
if $filenameOK and $versionMadeBy == 3 and not $unixDirectoryAttributeSet |
|
2497
|
0 |
0 |
unless ($dosAttributes & 1024 or $otherAttributes & Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762.
) |
|
2499
|
0 |
0 |
if ($uncompressedSize != 0) { } |
|
|
0 |
0 |
elsif ($compressedSize != 0) { } |
|
2512
|
0 |
0 |
if ($extractVersion < 20) |
|
2525
|
0 |
24 |
if $filename eq "" |
|
2540
|
0 |
24 |
if $filename =~ m[^/] |
|
2543
|
0 |
24 |
if $filename =~ /\\/ |
|
2546
|
0 |
24 |
if $filename =~ /^([a-z]:)/i |
|
2551
|
0 |
24 |
if $filename =~ m[^\.\./] or $filename =~ m[/\.\./] or $filename =~ m[/\.\.] |
|
2556
|
0 |
24 |
if $filename eq "." |
|
2559
|
0 |
24 |
if $filename eq ".." |
|
2580
|
0 |
24 |
if $filename =~ /^($badDosFilename)$/io |
|
2584
|
0 |
24 |
if $filename =~ /^($badDosFilename)\./io |
|
2589
|
0 |
24 |
if $filename =~ /($illegal_windows_chars)/o |
|
2592
|
0 |
24 |
if $filename =~ /\x00/ |
|
2595
|
0 |
24 |
if $filename =~ /([\x00-\x1F])/ |
|
2610
|
0 |
24 |
if ($raw_filename eq '') { } |
|
|
0 |
24 |
elsif ($opt_Redact) { } |
|
2612
|
0 |
0 |
if ($message eq "Filename") |
|
2644
|
0 |
24 |
if (not $opt_Redact and TextEncoding::debugEncoding()) |
|
2651
|
0 |
0 |
if $modified |
|
2675
|
24 |
0 |
if ($message eq "Filename" and $opt_want_warning_messages) |
|
2680
|
0 |
24 |
if ($v) |
|
2682
|
0 |
0 |
ref $v eq 'ARRAY' ? : |
|
2728
|
0 |
12 |
unless defined $ZIP_CompressionMethods{$compressedMethod} |
|
2738
|
0 |
12 |
if ($filenameLength == 0) |
|
2748
|
12 |
0 |
$int_file_attrib & 1 ? : |
|
2749
|
0 |
12 |
if $int_file_attrib & 254 |
|
2761
|
0 |
12 |
if $dos_attrib & 1 |
|
2762
|
0 |
12 |
if $dos_attrib & 2 |
|
2763
|
0 |
12 |
if $dos_attrib & 4 |
|
2764
|
0 |
12 |
if $dos_attrib & 8 |
|
2765
|
0 |
12 |
if $dos_attrib & 16 |
|
2766
|
0 |
12 |
if $dos_attrib & 32 |
|
2767
|
0 |
12 |
if $dos_attrib & 64 |
|
2768
|
0 |
12 |
if $dos_attrib & 128 |
|
2769
|
0 |
12 |
if $dos_attrib & 256 |
|
2770
|
0 |
12 |
if $dos_attrib & 512 |
|
2771
|
0 |
12 |
if $dos_attrib & 1024 |
|
2772
|
0 |
12 |
if $dos_attrib & 2048 |
|
2773
|
0 |
12 |
if $dos_attrib & 4096 |
|
2774
|
0 |
12 |
if $dos_attrib & 8192 |
|
2777
|
0 |
12 |
if $dos_attrib & 16384 |
|
2780
|
0 |
12 |
if $dos_attrib & 32768 |
|
2787
|
12 |
0 |
if ($made_by == 3 or $made_by == 0) { } |
|
|
0 |
0 |
elsif ($native_attrib) { } |
|
2802
|
12 |
0 |
if ($rwx) |
|
2810
|
0 |
12 |
if $rwx & 512 |
|
2812
|
0 |
12 |
if $rwx & 1024 |
|
2814
|
0 |
12 |
if $rwx & 2048 |
|
2818
|
12 |
0 |
if ($not_rwx) |
|
2844
|
12 |
0 |
if ($locHeaderOffset != 4294967295) |
|
2847
|
0 |
12 |
if ($PREFIX_DELTA) |
|
2855
|
12 |
0 |
if ($locHeaderOffset != 4294967295) |
|
2862
|
12 |
0 |
if ($filenameLength) |
|
2890
|
0 |
12 |
if ($extraLength) |
|
2903
|
0 |
12 |
if ($comment_length) |
|
2918
|
12 |
0 |
$cdEntry ? : |
|
2925
|
0 |
36 |
unless defined $ver |
|
2938
|
0 |
36 |
unless $OS_Lookup{$ver} |
|
2977
|
0 |
0 |
if $PREFIX_DELTA |
|
2981
|
0 |
0 |
unless (emptyArchive($startRecordOffset, $diskNumber, $cdDiskNumber, $entriesOnThisDisk, $totalEntries, $centralDirSize, $centralDirOffset)) |
|
2989
|
0 |
0 |
if $size == 44 |
|
2996
|
0 |
0 |
if ($extractSpec >= 62) |
|
3017
|
0 |
0 |
unless defined $ZIP_CompressionMethods{$compressedMethod} |
|
3033
|
0 |
0 |
if ($remaining) |
|
3076
|
0 |
0 |
if $PREFIX_DELTA |
|
3082
|
0 |
0 |
if ($totalDisks > 0) |
|
3156
|
0 |
6 |
if $PREFIX_DELTA and $centralDirOffset != 4294967295 |
|
3162
|
0 |
6 |
if ($comment_length) |
|
3166
|
0 |
0 |
if ($available < $comment_length) |
|
3174
|
0 |
0 |
if ($comment_length) |
|
3182
|
6 |
0 |
unless (Nesting::isNested($startRecordOffset, $FH->tell - 1)) |
|
3185
|
6 |
0 |
unless (needZip64EOCDLocator($diskNumber, $cdDiskNumber, $entriesOnThisDisk, $totalEntries, $centralDirSize, $centralDirOffset) or emptyArchive($startRecordOffset, $diskNumber, $cdDiskNumber, $entriesOnThisDisk, $totalEntries, $centralDirSize, $centralDirOffset)) |
|
3216
|
0 |
0 |
if ($here == 4) |
|
3242
|
0 |
0 |
if (Nesting::isNested($here - 4, $here - 4 + 24 - 1)) |
|
3254
|
0 |
0 |
unless ($localEntry) |
|
3274
|
0 |
0 |
if ($deltaToNext == 16 and $cl64 == $payloadLength) { } |
|
|
0 |
0 |
elsif ($deltaToNext == 8 and $cl32 == $payloadLength) { } |
|
|
0 |
0 |
elsif ($cl32 == $payloadLength) { } |
|
|
0 |
0 |
elsif ($cl64 == $payloadLength) { } |
|
|
0 |
0 |
elsif ($deltaToNext == 16) { } |
|
|
0 |
0 |
elsif ($deltaToNext == 8) { } |
|
3276
|
0 |
0 |
if (not $localEntry->zip64 and ($centralEntry and not $centralEntry->zip64)) |
|
3286
|
0 |
0 |
if ($localEntry->zip64) |
|
3298
|
0 |
0 |
if ($localEntry->zip64) |
|
3310
|
0 |
0 |
if (not $localEntry->zip64 and ($centralEntry and not $centralEntry->zip64)) |
|
3324
|
0 |
0 |
if (not $localEntry->zip64 and ($centralEntry and not $centralEntry->zip64)) |
|
3337
|
0 |
0 |
if ($localEntry->zip64) |
|
3357
|
0 |
0 |
if ($localEntry) |
|
3391
|
0 |
0 |
if ($here == 4) |
|
3394
|
0 |
0 |
if ($next_sig == 67324752) |
|
3454
|
0 |
24 |
if $gp & 1 |
|
3463
|
0 |
24 |
if ($method == 8) |
|
3470
|
0 |
24 |
if ($method == 14) |
|
3472
|
0 |
0 |
if ($gp & 2) { } |
|
3480
|
0 |
24 |
if ($method == 6) |
|
3482
|
0 |
0 |
$gp & 2 ? : |
|
3483
|
0 |
0 |
$gp & 4 ? : |
|
3486
|
0 |
24 |
if $gp & 8 |
|
3487
|
0 |
24 |
if $gp & 16 |
|
3488
|
0 |
24 |
if $gp & 32 |
|
3489
|
0 |
24 |
if $gp & 64 |
|
3490
|
0 |
24 |
if $gp & 2048 |
|
3491
|
0 |
24 |
if $gp & 4096 |
|
3492
|
0 |
24 |
if $gp & 8192 |
|
3527
|
0 |
458 |
if ($size == 0) |
|
3532
|
458 |
0 |
if ($size > 0) |
|
3536
|
0 |
458 |
if $status < 0 |
|
3543
|
0 |
458 |
if length $$got != $wantSize |
|
3564
|
0 |
56 |
if ($available < $byteCount) |
|
3568
|
0 |
0 |
if ($field) { } |
|
3580
|
0 |
0 |
unless $opt_scan or $opt_walk |
|
3592
|
0 |
18 |
if (testPossiblePrefixNoPREFIX_DELTA($offset, $expectedSignature)) |
|
3610
|
18 |
0 |
if $offset + 4 > $FILELEN or not $POSSIBLE_PREFIX_DELTA or $PREFIX_DELTA |
|
3616
|
0 |
0 |
if ($gotSig == $expectedSignature) |
|
3645
|
0 |
24 |
if $PREFIX_DELTA |
|
3648
|
0 |
24 |
if $delta > 0 |
|
3651
|
0 |
24 |
if $must_point_back and $offset >= $headerStart |
|
3654
|
24 |
0 |
if ($dereferencePointer) |
|
3660
|
0 |
24 |
if ($centralDirSize and not $cdSizeOK and $possibleDelta > 0 and readSignatureFromOffset($possibleDelta) == 67324752) { } |
|
3668
|
0 |
0 |
if $gotSig != $expectedSignature |
|
3680
|
0 |
24 |
if $gotSig != $expectedSignature |
|
3702
|
0 |
24 |
if ($message) |
|
3704
|
0 |
0 |
if $fatal |
|
3707
|
0 |
0 |
unless $fatal |
|
3730
|
0 |
0 |
if $fatalDisabled |
|
3732
|
0 |
0 |
if (defined $offset) { } |
|
3779
|
0 |
0 |
if (defined $offset) { } |
|
3803
|
0 |
0 |
unless $opt_want_warning_messages |
|
3805
|
0 |
0 |
unless $lastWasMessage++ |
|
3808
|
0 |
0 |
if (defined $offset) { } |
|
3822
|
0 |
0 |
if $opt_want_message_exit_status |
|
3834
|
0 |
0 |
unless $opt_want_error_messages |
|
3836
|
0 |
0 |
unless $lastWasMessage++ |
|
3839
|
0 |
0 |
if (defined $offset) { } |
|
3854
|
0 |
0 |
if $opt_want_message_exit_status |
|
3865
|
0 |
0 |
unless $lastWasMessage++ |
|
3868
|
0 |
0 |
if (defined $offset) { } |
|
3901
|
4 |
0 |
if $reported or $delta == 0 |
|
3915
|
0 |
0 |
unless $opt_want_info_messages |
|
3917
|
0 |
0 |
unless $lastWasMessage++ |
|
3920
|
0 |
0 |
if (defined $offset) { } |
|
3934
|
0 |
0 |
if $opt_want_message_exit_status |
|
3964
|
0 |
0 |
if ($remaining < 4) |
|
3972
|
0 |
0 |
if ($payload =~ /^\x00+$/) { } |
|
3990
|
0 |
0 |
if ($lookID == 0) |
|
3996
|
0 |
0 |
if ($rest =~ /^\x00+$/) |
|
4010
|
0 |
0 |
if $who |
|
4015
|
0 |
0 |
unless exists $Extras{$lookID} |
|
4024
|
0 |
0 |
if ($subLen > $remaining) |
|
4033
|
0 |
0 |
if (not defined $decoder) { } |
|
4035
|
0 |
0 |
if ($subLen) |
|
4045
|
0 |
0 |
if (testExtraLimits($lookID, $subLen, $entry->inCentralDir)) |
|
4055
|
0 |
0 |
if ($here > $endExtraOffset) { } |
|
|
0 |
0 |
elsif ($here < $endExtraOffset) { } |
|
4086
|
0 |
0 |
$inCentralDir ? : |
|
4090
|
0 |
0 |
unless defined $min or defined $max |
|
4093
|
0 |
0 |
if (defined $min and defined $max) { } |
|
4096
|
0 |
0 |
if ($min == $max) { } |
|
4098
|
0 |
0 |
if ($size != $min) |
|
4101
|
0 |
0 |
if $size |
|
4107
|
0 |
0 |
if ($size < $min or $size > $max) |
|
4110
|
0 |
0 |
if $size |
|
4118
|
0 |
0 |
if ($size < $min) |
|
4121
|
0 |
0 |
if $size |
|
4147
|
0 |
0 |
if ($entry->inCentralDir) { } |
|
4171
|
0 |
0 |
if (length $zip64Extended == 0) |
|
4180
|
0 |
0 |
if ($assumeLengthsPresent or $assumeAllFieldsPresent or full32($entry->std_uncompressedSize)) |
|
4184
|
0 |
0 |
if (length $zip64Extended < 8) |
|
4196
|
0 |
0 |
if $display |
|
4198
|
0 |
0 |
if ($display and not $entry->streamed and not full32($entry->std_uncompressedSize)) |
|
4206
|
0 |
0 |
if ($assumeLengthsPresent or $assumeAllFieldsPresent or full32($entry->std_compressedSize)) |
|
4209
|
0 |
0 |
if (length $zip64Extended < 8) |
|
4221
|
0 |
0 |
if $display |
|
4223
|
0 |
0 |
if ($display and not $entry->streamed and not full32($entry->std_compressedSize)) |
|
4234
|
0 |
0 |
if ($assumeAllFieldsPresent) |
|
4241
|
0 |
0 |
if $display |
|
4243
|
0 |
0 |
if ($display and not $entry->streamed and not full32($entry->std_localHeaderOffset)) |
|
4249
|
0 |
0 |
if ($assumeAllFieldsPresent) |
|
4257
|
0 |
0 |
if $display |
|
4259
|
0 |
0 |
if ($display and not $entry->streamed and not full16($entry->std_diskNumber)) |
|
4265
|
0 |
0 |
if (length $zip64Extended) |
|
4267
|
0 |
0 |
if ($display) |
|
4289
|
0 |
0 |
if (length $zip64Extended == 0) |
|
4301
|
0 |
0 |
if ($assumeAllFieldsPresent or full32($entry->std_uncompressedSize)) |
|
4304
|
0 |
0 |
if (length $zip64Extended < 8) |
|
4316
|
0 |
0 |
if $display |
|
4318
|
0 |
0 |
if ($display and not $entry->streamed and not full32($entry->std_uncompressedSize)) |
|
4326
|
0 |
0 |
if ($assumeAllFieldsPresent or full32($entry->std_compressedSize)) |
|
4329
|
0 |
0 |
if (length $zip64Extended < 8) |
|
4341
|
0 |
0 |
if $display |
|
4343
|
0 |
0 |
if ($display and not $entry->streamed and not full32($entry->std_compressedSize)) |
|
4351
|
0 |
0 |
if ($assumeAllFieldsPresent or full32($entry->std_localHeaderOffset)) |
|
4354
|
0 |
0 |
if (length $zip64Extended < 8) |
|
4366
|
0 |
0 |
if $display |
|
4372
|
0 |
0 |
if ($display and not $entry->streamed and not full32($entry->std_localHeaderOffset)) |
|
4380
|
0 |
0 |
if ($assumeAllFieldsPresent or full16($entry->std_diskNumber)) |
|
4383
|
0 |
0 |
if (length $zip64Extended < 4) |
|
4395
|
0 |
0 |
if $display |
|
4397
|
0 |
0 |
if ($display and not $entry->streamed and not full16($entry->std_diskNumber)) |
|
4406
|
0 |
0 |
if (length $zip64Extended) |
|
4408
|
0 |
0 |
if ($display) |
|
4427
|
0 |
0 |
if $v == 0 |
|
4469
|
0 |
0 |
if ($value != 0) |
|
4539
|
0 |
0 |
if ($value & 1 << $bit) |
|
4599
|
0 |
0 |
if ($openVMS_tags->{$tag}) |
|
4607
|
0 |
0 |
if (defined $decoder) { } |
|
4626
|
24 |
0 |
if ($opt_utc) { } |
|
4636
|
0 |
24 |
unless defined $time |
|
4646
|
0 |
24 |
if $value == 0 |
|
4658
|
0 |
24 |
if $dt == 0 |
|
4676
|
0 |
24 |
unless (eval {
do {
$time_t = Time::Local::timegm($sec, $min, $hour, $mday, $mon, $year)
}
}) |
|
4711
|
0 |
0 |
if $flags & 1 |
|
4712
|
0 |
0 |
if $flags & 2 |
|
4713
|
0 |
0 |
if $flags & 4 |
|
4714
|
0 |
0 |
if @f |
|
4719
|
0 |
0 |
if $flags & '18446744073709551608' |
|
4724
|
0 |
0 |
if ($flags & 1 or $full) |
|
4726
|
0 |
0 |
if ($remaining == 0) { } |
|
4734
|
0 |
0 |
unless $flags & 1 |
|
4737
|
0 |
0 |
if ($remaining < 4) |
|
4756
|
0 |
0 |
if ($flags & 2 or $full) |
|
4758
|
0 |
0 |
if ($remaining == 0 and $entry->inCentralDir) { } |
|
4764
|
0 |
0 |
if not $flags & 2 or $entry->inCentralDir |
|
4767
|
0 |
0 |
if ($remaining < 4) |
|
4784
|
0 |
0 |
if ($flags & 4 or $full) |
|
4786
|
0 |
0 |
if ($remaining == 0 and $entry->inCentralDir) { } |
|
4792
|
0 |
0 |
if not $flags & 4 or $entry->inCentralDir |
|
4795
|
0 |
0 |
if ($remaining < 4) |
|
4826
|
0 |
0 |
if ($len == 0) |
|
4860
|
0 |
0 |
unless (exists $Algorithm->{$alg}) |
|
4870
|
0 |
0 |
if ($digestSize == 0) { } |
|
|
0 |
0 |
elsif ($digestSize > $remaining) { } |
|
4884
|
0 |
0 |
if ($remaining) |
|
4917
|
0 |
0 |
if $len == 0 |
|
4922
|
0 |
0 |
unless $$lookup{$_[0]} |
|
4923
|
0 |
0 |
unless ($lookup->{$vendorVersion}) |
|
4933
|
0 |
0 |
if ($id ne "AE") |
|
4944
|
0 |
0 |
unless $$strengths{$_[0]} |
|
4946
|
0 |
0 |
unless ($strengths->{$strength}) |
|
4954
|
0 |
0 |
unless (defined $ZIP_CompressionMethods{$method}) |
|
5009
|
0 |
0 |
if (not $padding =~ /^\x00+$/) |
|
5025
|
0 |
0 |
if $len == 0 |
|
5031
|
0 |
0 |
$alignment & 32768 ? : |
|
5033
|
0 |
0 |
$recompress_value ? : |
|
5040
|
0 |
0 |
if (not $inCentralHdr and $len - 2 > 0) |
|
5058
|
0 |
0 |
if $len == 0 |
|
5066
|
0 |
0 |
if (not $inCentralHdr) |
|
5078
|
0 |
0 |
if $len == 0 |
|
5087
|
0 |
0 |
if (length $value == 8) { } |
|
|
0 |
0 |
elsif (length $value == 4) { } |
|
|
0 |
0 |
elsif (length $value == 2) { } |
|
|
0 |
0 |
elsif (length $value == 1) { } |
|
5117
|
0 |
0 |
if $len == 0 |
|
5120
|
0 |
0 |
if $version != 1 |
|
5128
|
0 |
0 |
if ($uidSize) |
|
5130
|
0 |
0 |
if ($available < $uidSize) |
|
5144
|
0 |
0 |
if ($available < 1) |
|
5154
|
0 |
0 |
if ($gidSize) |
|
5156
|
0 |
0 |
if ($available < $gidSize) |
|
5191
|
0 |
0 |
if ($len - 5 > 0) |
|
5227
|
0 |
0 |
if ($rwx) |
|
5235
|
0 |
0 |
if $rwx & 512 |
|
5237
|
0 |
0 |
if $rwx & 1024 |
|
5239
|
0 |
0 |
if $rwx & 2048 |
|
5243
|
0 |
0 |
if ($not_rwx) |
|
5279
|
0 |
0 |
if ($len - 5 > 0) |
|
5327
|
0 |
0 |
if $idb eq "NUCX" |
|
5340
|
0 |
0 |
if ($entry->inCentralDir) |
|
5351
|
0 |
0 |
if ($filenameLength) |
|
5353
|
0 |
0 |
if ($filenameLength > $remaining) |
|
5371
|
0 |
0 |
if ($commentLength) |
|
5373
|
0 |
0 |
if ($commentLength > $remaining) |
|
5389
|
0 |
0 |
if ($remaining) |
|
5410
|
0 |
0 |
if ($signature ne "KeyValuePairs") |
|
5461
|
0 |
0 |
if (not $inCentralHdr) |
|
5485
|
0 |
0 |
if ($ID == 3925080560) |
|
5513
|
0 |
0 |
if ($recipients) |
|
5515
|
0 |
0 |
if ($available < 2) |
|
5525
|
0 |
0 |
if ($available < 2) |
|
5536
|
0 |
0 |
if ($recipients * $HSize != $available) |
|
5562
|
0 |
0 |
unless $entry->aesValid |
|
5594
|
0 |
0 |
$_[0] == 93 ? : |
|
5613
|
0 |
0 |
if $LzmaPropertiesSize != 5 |
|
5633
|
0 |
0 |
unless length $buffer == $len |
|
5650
|
0 |
26 |
unless length $buffer == $len |
|
5662
|
0 |
24 |
if $offset + 4 > $FILELEN |
|
5693
|
0 |
2 |
if $cdOffset < 44 or $FILELEN - $cdSize < 44 |
|
5700
|
2 |
0 |
if $buffer ne "APK Sig Block 42" |
|
5708
|
0 |
0 |
if $len2 == 0 or $len2 > $FILELEN |
|
5719
|
0 |
0 |
if $len1 != $len2 |
|
5774
|
0 |
0 |
if $here == $START_APK |
|
5781
|
0 |
0 |
if ($padding =~ /^\x00+$/) { } |
|
5806
|
0 |
2 |
unless defined $offset |
|
5840
|
4 |
0 |
unless (full32($locHeaderOffset)) |
|
5876
|
0 |
4 |
if ($extra_length) |
|
5883
|
0 |
0 |
if ($zip64Extended) |
|
5904
|
0 |
2 |
if $fh->read($buffer, 4) == 4 and unpack("V", $buffer) == 84233040 |
|
5927
|
0 |
0 |
if $here < 20 |
|
5939
|
0 |
0 |
if $gotSig != 117853008 |
|
5950
|
0 |
0 |
if ($totalDisks > 0) |
|
5966
|
0 |
0 |
if $delta < 56 |
|
5976
|
0 |
0 |
if $sig != 101075792 |
|
5993
|
0 |
0 |
if ($extractSpec >= 62) |
|
5999
|
0 |
0 |
unless (emptyArchive($here, $diskNumber, $cdDiskNumber, $entriesOnThisDisk, $totalEntries, $centralDirSize, $centralDirOffset)) |
|
6041
|
2 |
0 |
if (unpack('V', $buffer) == 101010256) { } |
|
6062
|
0 |
0 |
if ($seekTo < 0) |
|
6070
|
0 |
0 |
if ($pos >= 0 and $want - $pos > 22) |
|
6084
|
0 |
0 |
if ($expectedEof < $fileLen) |
|
6092
|
0 |
0 |
if $want == $fileLen |
|
6100
|
0 |
2 |
if 22 + $commentLength + $trailingBytes == $FILELEN |
|
6103
|
0 |
2 |
if (needZip64EOCDLocator($diskNumber, $cdDiskNumber, $entriesOnThisDisk, $totalEntries, $centralDirOffset, $centralDirSize) and not emptyArchive($here, $diskNumber, $cdDiskNumber, $entriesOnThisDisk, $totalEntries, $centralDirOffset, $centralDirSize)) { } |
|
|
0 |
2 |
elsif ($is64bit) { } |
|
6121
|
2 |
0 |
if ($centralDirSize) |
|
6128
|
0 |
2 |
if $totalEntries == 0 and $entriesOnThisDisk == 0 |
|
6149
|
0 |
0 |
if $offset + 4 > $XLEN |
|
6160
|
0 |
0 |
if $offset + $subLen > $XLEN |
|
6162
|
0 |
0 |
if $id eq $id_want |
|
6198
|
6 |
84 |
if $value >= $limit |
|
6286
|
10 |
0 |
if (not defined $self->{'offset2Signature'}{$offset}) |
|
6334
|
0 |
0 |
if $delta <= 0 |
|
6366
|
0 |
948 |
if $no_handler->{$name} |
|
6379
|
636 |
554 |
if @_ == 2 |
|
6383
|
474 |
474 |
unless defined $done->{$method} |
|
6543
|
4 |
12 |
if defined $offset and defined $CentralDirectory->{'byCentralOffset'}{$offset} |
|
6601
|
12 |
4 |
if ($ldEntry) |
|
6612
|
12 |
4 |
if ($self->{'alreadyScanned'} and not $entry->encapsulated) |
|
6615
|
0 |
12 |
if ($existing and $existing->centralHeaderOffset != $entry->centralHeaderOffset) { } |
|
6627
|
0 |
12 |
if ($existingNormalizedEntry) |
|
6639
|
4 |
12 |
if $self->{'byCentralOffset'}{$CentralDirectoryOffset} |
|
6641
|
12 |
0 |
if (not $entry->encapsulated) |
|
6694
|
0 |
0 |
if ($index + 1 >= $self->{'count'}) |
|
6748
|
0 |
12 |
if ($lookup) |
|
6806
|
4 |
12 |
if $entry->encapsulated or $self->{'cdEntryIndex'}{$entry->index}++ >= 1 |
|
6816
|
0 |
0 |
unless $self->{'cdEntryList'} |
|
6874
|
0 |
12 |
if ($existingEntry) { } |
|
6885
|
0 |
12 |
if ($existing_filename) |
|
6900
|
0 |
12 |
if $localEntry->streamed |
|
6946
|
0 |
0 |
if ($index + 1 >= $self->{'count'}) |
|
6961
|
0 |
0 |
if ($entry->streamed) |
|
7008
|
0 |
12 |
if ($lookup and $lookup ne $filename) |
|
7071
|
6 |
0 |
unless (defined $enc) |
|
7077
|
0 |
6 |
unless ($encoding) |
|
7094
|
0 |
0 |
if defined $name |
|
7097
|
0 |
0 |
unless (defined $name) |
|
7100
|
0 |
0 |
if ($enc) { } |
|
7119
|
0 |
12 |
unless ref $enc |
|
7122
|
6 |
6 |
if ($opt_name eq 'encoding') { } |
|
|
6 |
0 |
elsif ($opt_name eq 'output-encoding') { } |
|
7154
|
0 |
24 |
if (@_) |
|
7165
|
6 |
0 |
unless $opt_Encoding_Enabled and $opt_Debug_Encoding |
|
7190
|
0 |
24 |
unless $opt_Encoding_Enabled |
|
7194
|
0 |
24 |
if ($LanguageEncodingFlag and $opt_use_LanguageEncodingFlag) { } |
|
7198
|
0 |
0 |
if $@ |
|
7204
|
0 |
24 |
if $@ |
|
7220
|
0 |
24 |
unless $opt_Encoding_Enabled |
|
7223
|
0 |
24 |
if ($LanguageEncodingFlag and $opt_use_LanguageEncodingFlag) { } |
|
7226
|
0 |
0 |
if $@ |
|
7232
|
0 |
24 |
if $@ |
|
7297
|
0 |
0 |
if (@nestingStack and $entry->offsetStart >= $nestingStack[-1]->offsetStart and $entry->offsetEnd <= $nestingStack[-1]->offsetEnd and $entry->index != $nestingStack[-1]->index) |
|
7311
|
0 |
0 |
if ($NESTING_DEBUG) |
|
7328
|
0 |
6 |
if ($NESTING_DEBUG) |
|
7337
|
0 |
6 |
unless @nestingStack |
|
7357
|
0 |
0 |
unless defined $outerIndex |
|
7375
|
0 |
0 |
defined $got ? : |
|
7397
|
0 |
0 |
unless $child->entryType == 67324752 |
|
7400
|
0 |
0 |
if @{$child->cdEntryList;} |
|
7423
|
12 |
4 |
if $entry and $entry->entryType == 67324752 |
|
7602
|
0 |
0 |
if (@_) |