Home
last modified time | relevance | path

Searched refs:note_sec (Results 1 – 5 of 5) sorted by relevance

/third_party/elfio/tests/
DELFIOTest.cpp725 section* note_sec = writer.sections.add( ".note" ); in TEST() local
726 note_sec->set_type( SHT_NOTE ); in TEST()
727 note_sec->set_flags( SHF_ALLOC ); in TEST()
728 note_sec->set_addr_align( 4 ); in TEST()
729 note_section_accessor note_writer( writer, note_sec ); in TEST()
732 EXPECT_EQ( note_sec->get_index(), 2 ); in TEST()
778 section* note_sec = writer.sections.add( ".note" ); in TEST() local
779 note_sec->set_type( SHT_NOTE ); in TEST()
780 note_sec->set_flags( SHF_ALLOC ); in TEST()
781 note_sec->set_addr_align( 4 ); in TEST()
[all …]
DELFIOTest1.cpp119 section* note_sec = writer.sections.add( ".note" ); in write_obj_i386() local
120 note_sec->set_type( SHT_NOTE ); in write_obj_i386()
121 note_sec->set_addr_align( 1 ); in write_obj_i386()
124 note_section_accessor note_writer( writer, note_sec ); in write_obj_i386()
197 section* note_sec = writer.sections.add( ".note" ); in write_exe_i386() local
198 note_sec->set_type( SHT_NOTE ); in write_exe_i386()
199 note_sec->set_addr_align( 1 ); in write_exe_i386()
200 note_section_accessor note_writer( writer, note_sec ); in write_exe_i386()
/third_party/elfio/examples/add_section/
Dadd_section.cpp45 section* note_sec = reader.sections.add( ".note.ELFIO" ); in main() local
46 note_sec->set_type( SHT_NOTE ); in main()
47 note_section_accessor note_writer( reader, note_sec ); in main()
/third_party/elfio/examples/writer/
Dwriter.cpp112 section* note_sec = writer.sections.add( ".note" ); in main() local
113 note_sec->set_type( SHT_NOTE ); in main()
114 note_sec->set_addr_align( 1 ); in main()
116 note_section_accessor note_writer( writer, note_sec ); in main()
/third_party/elfio/examples/write_obj/
Dwrite_obj.cpp121 section* note_sec = writer.sections.add( ".note" ); in main() local
122 note_sec->set_type( SHT_NOTE ); in main()
124 note_section_accessor note_writer( writer, note_sec ); in main()