line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
1176
|
use 5.006; |
|
4
|
|
|
|
|
16
|
|
2
|
4
|
|
|
4
|
|
19
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
98
|
|
3
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
350
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package ELF::Extract::Sections::Meta::Types; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Generic Type Constraints for E:E:S |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '1.001002'; # TRIAL |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
12
|
|
|
|
|
|
|
|
13
|
4
|
|
|
4
|
|
634
|
use MooseX::Types::Moose (qw( Object )); |
|
4
|
|
|
|
|
489294
|
|
|
4
|
|
|
|
|
31
|
|
14
|
4
|
|
|
4
|
|
18601
|
use MooseX::Types -declare => [ 'FilterField', 'ElfSection' ]; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
26
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
## no critic (ProhibitCallsToUndeclaredSubs) |
17
|
|
|
|
|
|
|
subtype FilterField, as enum( [ 'name', 'offset', 'size', ] ); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
subtype ElfSection, as Object, where { $_->isa('ELF::Extract::Sections::Section') }; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding UTF-8 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
ELF::Extract::Sections::Meta::Types - Generic Type Constraints for E:E:S |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 VERSION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
version 1.001002 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 Types |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 C<FilterField> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
ENUM: name, offset, size |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 C<ElfSection> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
An object that is a ELF::Extract::Sections::Section |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Kent Fredric <kentnl@cpan.org> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Kent Fredric <kentfredric@gmail.com>. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
56
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |