summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-26 11:46:46 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:27 -0500
commit9c5807c7cadf7219a32f3b2c081a8d21aceb4837 (patch)
tree05b106b7f8119bd7bd0e1ab6116ef2ee2b4285b8 /src/logic
parent949bb3ba304be9bd80cda27c37c2d0d0da6a67dd (diff)
downloadperk-9c5807c7cadf7219a32f3b2c081a8d21aceb4837.tar.bz2
perk-9c5807c7cadf7219a32f3b2c081a8d21aceb4837.tar.xz
output import libraries and dependency symbols: initial implementation.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/pe_get_image_meta.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c
index ea76a92..b5bca34 100644
--- a/src/logic/pe_get_image_meta.c
+++ b/src/logic/pe_get_image_meta.c
@@ -138,10 +138,6 @@ 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;
if (m->idata[i].import_lookup_tbl_rva) {
@@ -175,9 +171,6 @@ int pe_get_image_meta(const struct pe_raw_image * image, struct pe_image_meta **
+ m->idata[i].items[j].u.hint_name_tbl_rva - m->hidata->virtual_addr);
m->idata[i].items[j].name = (char *)pentry->name;
- #ifdef PERK_DEVEL
- printf("%s\n",m->idata[i].items[j].name);
- #endif
}
}
}