summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-01 05:50:42 -0500
committermidipix <writeonce@midipix.org>2016-12-01 08:00:29 -0500
commit9273055ccc18c5815e6f74c7adbac0bff1c2f7ae (patch)
tree470c486391ef82aa67daa5170eb3f16ded84be67 /src
parent18eec172fb24cbeb9afa6b8e24ebbf40cf66fdce (diff)
downloadpemagine-9273055ccc18c5815e6f74c7adbac0bff1c2f7ae.tar.bz2
pemagine-9273055ccc18c5815e6f74c7adbac0bff1c2f7ae.tar.xz
struct pe_raw_data_dirs: member name normalization.
Diffstat (limited to 'src')
-rw-r--r--src/headers/pe_get_image_special_hdr_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headers/pe_get_image_special_hdr_addr.c b/src/headers/pe_get_image_special_hdr_addr.c
index 4995fc6..8d1d9c6 100644
--- a/src/headers/pe_get_image_special_hdr_addr.c
+++ b/src/headers/pe_get_image_special_hdr_addr.c
@@ -20,12 +20,12 @@ void * pe_get_image_special_hdr_addr(const void * base, uint32_t ordinal, uint32
if (!(dirs = pe_get_image_data_dirs_addr(base)))
return 0;
- count = (uint32_t *)dirs->rva_and_sizes;
+ count = (uint32_t *)dirs->coh_rva_and_sizes;
if (*count < (ordinal+1))
return 0;
- dir = (struct pe_block *)dirs->export_tbl;
+ dir = (struct pe_block *)dirs->coh_export_tbl;
dir += ordinal;
if (sec_size)