Searched refs:dhinmem (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_object_detector.c | 324 struct dos_header dhinmem; in is_pe_object() local 335 res = _dwarf_object_read_random(fd,(char *)&dhinmem, in is_pe_object() 336 0,sizeof(dhinmem),filesize,errcode); in is_pe_object() 341 dos_sig = magic_copy((unsigned char *)dhinmem.dh_mz, in is_pe_object() 342 sizeof(dhinmem.dh_mz)); in is_pe_object() 367 ASNAR(word_swap,nt_address, dhinmem.dh_image_offset); in is_pe_object()
|
H A D | dwarf_peread.c | 523 struct dos_header_dw dhinmem; in dwarf_load_pe_sections() local 533 if ( (sizeof(ifh) + sizeof(dhinmem)) >= pep->pe_filesize) { in dwarf_load_pe_sections() 538 res = _dwarf_object_read_random(pep->pe_fd,(char *)&dhinmem, in dwarf_load_pe_sections() 539 0, sizeof(dhinmem),(off_t)pep->pe_filesize, errcode); in dwarf_load_pe_sections() 543 dos_sig = magic_copy((char *)dhinmem.dh_mz, in dwarf_load_pe_sections() 544 sizeof(dhinmem.dh_mz)); in dwarf_load_pe_sections() 576 ASNAR(word_swap,nt_address,dhinmem.dh_image_offset); in dwarf_load_pe_sections()
|