line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::Inventory::SMBios::Bios; |
6
|
|
|
|
|
|
|
|
7
|
38
|
|
|
38
|
|
577
|
use v5.12.5; |
|
38
|
|
|
|
|
135
|
|
8
|
38
|
|
|
38
|
|
195
|
use warnings; |
|
38
|
|
|
|
|
81
|
|
|
38
|
|
|
|
|
1917
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.3'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
38
|
|
|
38
|
|
335
|
use Rex::Inventory::SMBios::Section; |
|
38
|
|
|
|
|
106
|
|
|
38
|
|
|
|
|
1930
|
|
13
|
38
|
|
|
38
|
|
238
|
use base qw(Rex::Inventory::SMBios::Section); |
|
38
|
|
|
|
|
99
|
|
|
38
|
|
|
|
|
6939
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->section("BIOS information"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->has( |
18
|
|
|
|
|
|
|
[ 'Vendor', { from => 'Version String', key => 'Version' }, 'Release Date', ], |
19
|
|
|
|
|
|
|
1 |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub new { |
23
|
0
|
|
|
0
|
0
|
|
my $that = shift; |
24
|
0
|
|
0
|
|
|
|
my $proto = ref($that) || $that; |
25
|
0
|
|
|
|
|
|
my $self = $that->SUPER::new(@_); |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
|
bless( $self, $proto ); |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
return $self; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |