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


ELF-Extract-Sections documentation  | view source Contained in the ELF-Extract-Sections distribution.

Index


NAME

Top

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

VERSION

Top

version 0.02071411

Required Methods for Applying Roles

Top

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

AUTHOR

Top

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

Top


ELF-Extract-Sections documentation  | view source Contained in the ELF-Extract-Sections distribution.