Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 473 of file pe_module.c.
Referenced by pe_load_debug_info().
{ struct image_file_map* fmap = &module->format_info[DFI_PE]->u.pe_info->fmap; struct image_section_map sect_stabs, sect_stabstr; BOOL ret = FALSE; if (pe_find_section(fmap, ".stab", §_stabs) && pe_find_section(fmap, ".stabstr", §_stabstr)) { const char* stab; const char* stabstr; stab = image_map_section(§_stabs); stabstr = image_map_section(§_stabstr); if (stab != IMAGE_NO_MAP && stabstr != IMAGE_NO_MAP) { ret = stabs_parse(module, module->module.BaseOfImage - fmap->u.pe.ntheader.OptionalHeader.ImageBase, stab, image_get_map_size(§_stabs), stabstr, image_get_map_size(§_stabstr), NULL, NULL); } image_unmap_section(§_stabs); image_unmap_section(§_stabstr); if (ret) pe_locate_with_coff_symbol_table(module); } TRACE("%s the STABS debug info\n", ret ? "successfully loaded" : "failed to load"); return ret; }