24#define IMAGE_NO_MAP ((void*)-1)
127 struct macho_file_map
213 if (fmap->
ops->find_section(fmap,
name, ism))
return TRUE;
225 fmap->
ops->unmap_file(fmap);
232 return ism->
fmap ? ism->
fmap->ops->map_section(ism) :
NULL;
237 if (ism->
fmap) ism->
fmap->ops->unmap_section(ism);
242 return ism->
fmap ? ism->
fmap->ops->get_map_rva(ism) : 0;
247 return ism->
fmap ? ism->
fmap->ops->get_map_size(ism) : 0;
unsigned long long UINT64
BOOL pe_map_file(HANDLE file, struct image_file_map *fmap, enum module_type mt) DECLSPEC_HIDDEN
BOOL elf_map_handle(HANDLE handle, struct image_file_map *fmap) DECLSPEC_HIDDEN
static void image_unmap_section(struct image_section_map *ism)
static BOOL image_find_section(struct image_file_map *fmap, const char *name, struct image_section_map *ism)
static const char * image_map_section(struct image_section_map *ism)
static DWORD_PTR image_get_map_rva(const struct image_section_map *ism)
BOOL image_check_alternate(struct image_file_map *fmap, const struct module *module) DECLSPEC_HIDDEN
static void image_unmap_file(struct image_file_map *fmap)
static unsigned image_get_map_size(const struct image_section_map *ism)
static unsigned(__cdecl *hash_bstr)(bstr_t s)
unsigned(* get_map_size)(const struct image_section_map *ism)
void(* unmap_file)(struct image_file_map *fmap)
DWORD_PTR(* get_map_rva)(const struct image_section_map *ism)
BOOL(* find_section)(struct image_file_map *fmap, const char *name, struct image_section_map *ism)
void(* unmap_section)(struct image_section_map *ism)
union image_file_map::@384 u
struct image_file_map::@384::elf_file_map elf
const struct macho_load_command * load_commands
const struct macho_uuid_command * uuid
struct image_file_map::@384::pe_file_map pe
struct image_file_map::@384::macho_file_map macho
IMAGE_NT_HEADERS ntheader
struct image_file_map * alternate
IMAGE_SECTION_HEADER shdr
unsigned int commands_count
struct image_file_map * dsym
const struct image_file_map_ops * ops
struct image_file_map * fmap