Lines Matching refs:o_hdr
49 struct optional_hdr o_hdr;
90 c_hdr.optional_hdr_sz = sizeof(o_hdr) + sizeof(e_hdr);
92 memset(&o_hdr, 0, sizeof(o_hdr));
93 o_hdr.format = PE32_FORMAT;
94 o_hdr.major_linker_version = 0x02;
95 o_hdr.minor_linker_version = 0x14;
96 o_hdr.code_sz = data_size;
97 o_hdr.entry_point = entry;
98 o_hdr.initialized_data_sz = data_size;
99 fwrite(&o_hdr, sizeof(o_hdr), 1, f);
121 o_hdr.initialized_data_sz = data_size;