summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/pe_get_image_meta.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/pe_get_image_meta.c b/src/main/pe_get_image_meta.c
index f7a4139..0ee8e8e 100644
--- a/src/main/pe_get_image_meta.c
+++ b/src/main/pe_get_image_meta.c
@@ -140,7 +140,9 @@ int pe_get_image_meta (const struct pe_raw_image * image, struct pe_image_meta *
m->idata[i].aitems = (struct pe_import_lookup_item *)(base + m->hidata->ptr_to_raw_data
+ m->idata[i].import_lookup_tbl_rva - m->hidata->virtual_addr);
+ #ifdef PERK_DEVEL
printf("%s\n",m->idata[i].name);
+ #endif
/* items */
m->idata[i].count = 0;
@@ -174,7 +176,9 @@ int pe_get_image_meta (const struct pe_raw_image * image, struct pe_image_meta *
m->idata[i].items[j].hint = pe_read_short(pentry->hint);
else {
m->idata[i].items[j].name = (char *)pentry->name;
+ #ifdef PERK_DEVEL
printf("%s\n",m->idata[i].items[j].name);
+ #endif
}
}
}