++ed by:

1 PAUSE user

Kent Fredric │‫3﹪🔋


ELF::Extract::Sections::Meta::Scanner - Interface Contract for Scanners


version 0.03000101

Required Methods for Applying Roles

-> open_file file => FILE

Must take a file name and assume a state reset.

-> next_section

Must return true if a section was discovered. Must return false otherwise. This method is called before getting data out.

-> section_offset

Returns the offset as an Integer

-> section_size

Returns the sections computed size ( if possible ) If you can't compute the size, please call $self->log->logcroak()

-> section_name

Returns the sections name

-> can_compute_size

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) 2013 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.