| ELF-Extract-Sections documentation | Contained in the ELF-Extract-Sections distribution. |
ELF::Extract::Sections::Meta::Scanner - Interface Contract for Scanners
version 0.02071411
Must take a file name and assume a state reset.
Must return true if a section was discovered. Must return false otherwise. This method is called before getting data out.
Returns the offset as an Integer
Returns the sections computed size ( if possible ) If you can't compute the size, please call $self->log->logcroak()
Returns the sections name
This returns whether or not this code is capable of discerning section sizes on its own.
return 1 if true, return undef otherwise.
This will make us try guessing how big sections are by sorting them.
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2011 by Kent Fredric.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| ELF-Extract-Sections documentation | Contained in the ELF-Extract-Sections distribution. |
use strict; use warnings; package ELF::Extract::Sections::Meta::Scanner; BEGIN { $ELF::Extract::Sections::Meta::Scanner::VERSION = '0.02071411'; } # ABSTRACT: Interface Contract for Scanners # $Id:$ use MooseX::Declare; role ELF::Extract::Sections::Meta::Scanner with MooseX::Log::Log4perl { requires( 'open_file', 'next_section', 'section_offset', 'section_size', 'section_name', 'can_compute_size' ); }; 1;
__END__