diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 12:34:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 12:34:42 -0500 |
commit | 3161deb4b53f4683624ebd93d3d0945f4ed92576 (patch) | |
tree | 9bae55fafc099c040c4298cc34f76986a6bdb9ba /src/logic | |
parent | 8dd726502b05e31022104aac81ae901617827773 (diff) | |
download | perk-3161deb4b53f4683624ebd93d3d0945f4ed92576.tar.bz2 perk-3161deb4b53f4683624ebd93d3d0945f4ed92576.tar.xz |
PE format: union pe_import_lookup_item [and co.] --> union pe_import_lookup.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index a722550..0a8de47 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -243,7 +243,7 @@ int pe_get_image_meta( /* .idata */ struct pe_import_hdr * pidata; - union pe_import_lookup_item * pitem; + union pe_import_lookup * pitem; i = pe_get_named_section_index(m,".idata"); s = pe_get_block_section_index(m,&m->opt.dirs.import_tbl); @@ -278,7 +278,7 @@ int pe_get_image_meta( + m->idata[i].name_rva - m->hidata->virtual_addr; if (m->idata[i].import_lookup_tbl_rva) - m->idata[i].aitems = (union pe_import_lookup_item *)(base + m->hidata->ptr_to_raw_data + m->idata[i].aitems = (union pe_import_lookup *)(base + m->hidata->ptr_to_raw_data + m->idata[i].import_lookup_tbl_rva - m->hidata->virtual_addr); /* items */ |