summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/pe_get_image_meta.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c
index 14e54c7..f099ecb 100644
--- a/src/logic/pe_get_image_meta.c
+++ b/src/logic/pe_get_image_meta.c
@@ -236,8 +236,10 @@ int pe_get_image_meta(
m->aedata = (struct pe_export_hdr *)(base + m->sectbl[i].ptr_to_raw_data);
}
- if (m->aedata)
+ if (m->aedata) {
pe_read_export_header(m->aedata,&m->edata);
+ m->summary.nexpsyms = m->edata.num_of_name_ptrs;
+ }
/* .idata */
struct pe_import_hdr * pidata;