ELF::Extract::Sections::Meta::Scanner - Interface Contract for Scanners
my $file = $scanner->open_file( file => FILE )
Must take a file name and assume a state reset.
my $boolean = $scanner->next_section
Must return true if a section was discovered. Must return false otherwise. This method is called before getting data out.
my $offset = $scanner->section_offset;
Returns the offset as an Integer
my $size = $scanner->section_size;
Returns the sections computed size ( if possible ) If you can't compute the size, please call $self->log->logcroak()
my $name = $scanner->section_name;
Returns the sections name
my $boolean = $scanner->can_compute_size;
This returns whether or not this code is capable of discerning section sizes on its own. return 1 if true, return
This will make us try guessing how big sections are by sorting them.
Kent Fredric <email@example.com>
This software is copyright (c) 2015 by Kent Fredric <firstname.lastname@example.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.