line |
true |
false |
branch |
34
|
0 |
2 |
if @_ |
36
|
0 |
2 |
unless $class_to_sym{$v} |
55
|
0 |
2 |
if @_ |
57
|
0 |
2 |
unless $data_to_sym{$v} |
87
|
0 |
2 |
if @_ |
89
|
0 |
2 |
unless $osabi_to_sym{$v} |
113
|
0 |
5 |
if @_ |
115
|
1 |
4 |
unless $type_to_sym{$v} |
145
|
0 |
1 |
if @_ |
147
|
0 |
1 |
unless $machine_to_sym{$v} |
162
|
5 |
0 |
$class == 2 ? : |
|
0 |
5 |
$class == 1 ? : |
174
|
1 |
0 |
unless defined $encoding |
180
|
2 |
0 |
$class == 2 ? : |
|
0 |
2 |
$class == 1 ? : |
193
|
1 |
0 |
unless defined $encoding |
199
|
1 |
0 |
$class == 2 ? : |
|
0 |
1 |
$class == 1 ? : |
211
|
0 |
0 |
unless defined $encoding |
220
|
0 |
3 |
unless defined $endian and $endian > 0 and $endian < 3 |
221
|
0 |
3 |
unless defined $bits and $bits > 0 and $bits < 3 |
265
|
0 |
1 |
if ($_->type == 6) |
266
|
0 |
0 |
if defined $segment_table |
288
|
0 |
1 |
if (not defined $_->offset) { } |
292
|
0 |
1 |
unless $_->offset >= 0 |
293
|
1 |
0 |
if defined $_->data and length $_->data |
298
|
0 |
1 |
if (@sections) |
301
|
0 |
0 |
unless $sections[0]->type == 0 |
307
|
0 |
0 |
if $_->offset < $prev_end |
321
|
0 |
0 |
$prev ? : |
|
0 |
1 |
if $_->data_offset < $prev_end |
333
|
0 |
0 |
if defined $_->data and length $_->data |
340
|
1 |
0 |
if (@segments) |
346
|
1 |
0 |
if (not defined $segment_table) { } |
357
|
0 |
1 |
if (@sections) |
377
|
1 |
0 |
if ($i == @defined_ranges or $prev_end + $insert[0]->size <= $defined_ranges[$i]->data_offset) |
386
|
1 |
0 |
$segment_table ? : |
|
0 |
1 |
$section_table ? : |
398
|
0 |
1 |
unless length $header == $self->elf_header_len |
405
|
0 |
2 |
if $pad |
422
|
0 |
1 |
unless defined $filesize |
427
|
0 |
1 |
unless defined $memsize |
431
|
0 |
1 |
$self->_encoding < 2 ? : |
461
|
0 |
0 |
unless defined $mode |
464
|
0 |
0 |
unless print $fh $self->serialize |
465
|
0 |
0 |
unless close $fh |
466
|
0 |
0 |
unless chmod $mode, $tmpname |
467
|
0 |
0 |
unless rename $tmpname, $filename |
487
|
0 |
0 |
unless defined $type |
492
|
0 |
0 |
if ($type == 0) { } |
|
0 |
0 |
elsif ($type == 8) { } |
494
|
0 |
0 |
unless defined $size |
495
|
0 |
0 |
unless defined $offset |
496
|
0 |
0 |
if $offset or $size |
501
|
0 |
0 |
unless defined $size |
502
|
0 |
0 |
if $size |
508
|
0 |
0 |
if (not defined $size) |
509
|
0 |
0 |
unless defined $sec->data |
520
|
0 |
1 |
unless defined $type |
525
|
0 |
1 |
if ($type == 0) { } |
527
|
0 |
0 |
unless defined $filesize |
528
|
0 |
0 |
unless defined $offset |
529
|
0 |
0 |
if $offset or $filesize |
534
|
1 |
0 |
unless (defined $filesize) |
535
|
0 |
1 |
unless defined $seg->data |
539
|
1 |
0 |
unless defined $seg->memsize |