Searched refs:data_seg (Results 1 – 2 of 2) sorted by relevance
101 segment* data_seg = writer.segments.add(); in main() local102 data_seg->set_type( PT_LOAD ); in main()103 data_seg->set_virtual_address( DATA_ADDR ); in main()104 data_seg->set_physical_address( DATA_ADDR ); in main()105 data_seg->set_flags( PF_W | PF_R ); in main()106 data_seg->set_align( PAGE_SIZE ); in main()109 data_seg->add_section( data_sec, data_sec->get_addr_align() ); in main()
188 segment* data_seg = writer.segments.add(); in write_exe_i386() local189 data_seg->set_type( PT_LOAD ); in write_exe_i386()190 data_seg->set_virtual_address( 0x08048020 ); in write_exe_i386()191 data_seg->set_physical_address( 0x08048020 ); in write_exe_i386()192 data_seg->set_flags( PF_W | PF_R ); in write_exe_i386()193 data_seg->set_align( 0x10 ); in write_exe_i386()194 data_seg->add_section_index( data_sec->get_index(), in write_exe_i386()