Searched refs:text_seg (Results 1 – 2 of 2) sorted by relevance
78 segment* text_seg = writer.segments.add(); in main() local79 text_seg->set_type( PT_LOAD ); in main()80 text_seg->set_virtual_address( CODE_ADDR ); in main()81 text_seg->set_physical_address( CODE_ADDR ); in main()82 text_seg->set_flags( PF_X | PF_R ); in main()83 text_seg->set_align( PAGE_SIZE ); in main()86 text_seg->add_section_index( text_sec->get_index(), in main()
171 segment* text_seg = writer.segments.add(); in write_exe_i386() local172 text_seg->set_type( PT_LOAD ); in write_exe_i386()173 text_seg->set_virtual_address( 0x08048000 ); in write_exe_i386()174 text_seg->set_physical_address( 0x08048000 ); in write_exe_i386()175 text_seg->set_flags( PF_X | PF_R ); in write_exe_i386()176 text_seg->set_align( 0x1000 ); in write_exe_i386()177 text_seg->add_section_index( text_sec->get_index(), in write_exe_i386()552 segment* text_seg = writer.segments.add(); in BOOST_AUTO_TEST_CASE() local553 text_seg->set_type( PT_LOAD ); in BOOST_AUTO_TEST_CASE()554 text_seg->set_virtual_address( 0x08048000 ); in BOOST_AUTO_TEST_CASE()[all …]