Lines Matching refs:sec

738             const section* sec = reader.sections[i];
739 section_header( out, i, sec, reader.get_class() );
753 const section* sec,
761 << DUMP_STR_FORMAT( 17 ) << str_section_type( sec->get_type() )
762 << " " << DUMP_HEX0x_FORMAT( 8 ) << sec->get_address() << " "
763 << DUMP_HEX0x_FORMAT( 8 ) << sec->get_size() << " "
764 << DUMP_HEX0x_FORMAT( 2 ) << sec->get_entry_size() << " "
765 << DUMP_STR_FORMAT( 3 ) << section_flags( sec->get_flags() )
766 << " " << DUMP_HEX0x_FORMAT( 2 ) << sec->get_link() << " "
767 << DUMP_HEX0x_FORMAT( 3 ) << sec->get_info() << " "
768 << DUMP_HEX0x_FORMAT( 2 ) << sec->get_addr_align() << " "
769 << DUMP_STR_FORMAT( 17 ) << sec->get_name() << " " << std::endl;
773 << DUMP_STR_FORMAT( 17 ) << str_section_type( sec->get_type() ) << " "
774 << DUMP_HEX0x_FORMAT( 16 ) << sec->get_address() << " "
775 << DUMP_HEX0x_FORMAT( 16 ) << sec->get_size() << " "
776 << DUMP_HEX0x_FORMAT( 8 ) << sec->get_offset() << " "
777 << DUMP_STR_FORMAT( 3) << section_flags( sec->get_flags() )
780 << DUMP_HEX0x_FORMAT( 4 ) << sec->get_entry_size() << " "
781 << DUMP_HEX0x_FORMAT( 4 ) << sec->get_link() << " "
782 << DUMP_HEX0x_FORMAT( 4 ) << sec->get_info() << " "
783 << DUMP_HEX0x_FORMAT( 4 ) << sec->get_addr_align() << " "
784 << DUMP_STR_FORMAT( 17 ) << sec->get_name()
867 for ( const auto& sec : reader.sections ) { // For all sections
868 if ( SHT_SYMTAB == sec->get_type() ||
869 SHT_DYNSYM == sec->get_type() ) {
870 const_symbol_section_accessor symbols( reader, sec.get() );
877 out << "Symbol table (" << sec->get_name() << ")" << std::endl;
947 for ( const auto& sec : reader.sections ) { // For all sections
948 if ( SHT_NOTE == sec->get_type() ) { // Look at notes
949 note_section_accessor notes( reader, sec.get() );
955 out << "Note section (" << sec->get_name() << ")" << std::endl
1058 for ( const auto& sec : reader.sections ) { // For all sections
1059 if ( ".modinfo" == sec->get_name() ) { // Look for the section
1062 const_modinfo_section_accessor modinfo( sec.get() );
1081 for ( const auto& sec : reader.sections ) { // For all sections
1082 if ( SHT_DYNAMIC == sec->get_type() ) {
1083 dynamic_section_accessor dynamic( reader, sec.get() );
1089 out << "Dynamic section (" << sec->get_name() << ")"
1128 static void section_data( std::ostream& out, const section* sec )
1132 out << sec->get_name() << std::endl;
1133 const char* pdata = sec->get_data();
1136 for ( i = 0; i < std::min( sec->get_size(), MAX_DATA_ENTRIES );
1171 const section* sec = reader.sections[i];
1172 if ( sec->get_type() == SHT_NOBITS ) {
1175 section_data( out, sec );