summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-09 07:09:17 +0000
committermidipix <writeonce@midipix.org>2021-04-09 07:11:47 +0000
commit7dfe4b62e6fe6d4576756e6c92573fba45ce0b6d (patch)
tree515aa4bf7d57c1dcc0b50c498951c0354ef9ebc6
parenta9d23f9a72373e0bd8ce580d043aa19140855ec3 (diff)
downloadperk-7dfe4b62e6fe6d4576756e6c92573fba45ce0b6d.tar.bz2
perk-7dfe4b62e6fe6d4576756e6c92573fba45ce0b6d.tar.xz
library interfaces: renamed pe_hdrdump_opt_hdr() ==> pe_hdrdump_coff_opt_hdr().
-rw-r--r--include/perk/perk.h2
-rw-r--r--project/common.mk2
-rw-r--r--src/driver/pe_amain.c2
-rw-r--r--src/hdrdump/pe_hdrdump_coff_opt_hdr.c (renamed from src/hdrdump/pe_hdrdump_opt_hdr.c)2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 712526b..17e0332 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -217,7 +217,7 @@ perk_api int pe_output_mdso_libraries (const struct pe_driver_ctx *, const str
perk_api int pe_hdrdump_image_dos_hdr (const struct pe_driver_ctx *, const struct pe_image_meta *);
perk_api int pe_hdrdump_coff_image_hdr (const struct pe_driver_ctx *, const struct pe_image_meta *);
perk_api int pe_hdrdump_coff_object_hdr(const struct pe_driver_ctx *, const struct pe_image_meta *);
-perk_api int pe_hdrdump_opt_hdr (const struct pe_driver_ctx *, const struct pe_image_meta *);
+perk_api int pe_hdrdump_coff_opt_hdr (const struct pe_driver_ctx *, const struct pe_image_meta *);
perk_api int pe_hdrdump_sec_tbl (const struct pe_driver_ctx *, const struct pe_image_meta *);
perk_api int pe_hdrdump_export_hdr (const struct pe_driver_ctx *, const struct pe_image_meta *);
perk_api int pe_hdrdump_import_tbl (const struct pe_driver_ctx *, const struct pe_image_meta *);
diff --git a/project/common.mk b/project/common.mk
index befd77d..002b147 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -7,7 +7,7 @@ API_SRCS = \
src/hdrdump/pe_hdrdump_import_tbl.c \
src/hdrdump/pe_hdrdump_coff_image_hdr.c \
src/hdrdump/pe_hdrdump_coff_object_hdr.c \
- src/hdrdump/pe_hdrdump_opt_hdr.c \
+ src/hdrdump/pe_hdrdump_coff_opt_hdr.c \
src/hdrdump/pe_hdrdump_sec_tbl.c \
src/info/pe_get_image_abi.c \
src/info/pe_get_image_framework.c \
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index 00f5ed3..9fa868a 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -62,7 +62,7 @@ static void pe_perform_hdrdump_actions(
pe_hdrdump_coff_object_hdr(dctx,uctx->meta);
if (dctx->cctx->hdrdump & PERK_HDRDUMP_COFF_OPT_HEADER)
- pe_hdrdump_opt_hdr(dctx,uctx->meta);
+ pe_hdrdump_coff_opt_hdr(dctx,uctx->meta);
if (dctx->cctx->hdrdump & PERK_HDRDUMP_SECTION_TABLE)
pe_hdrdump_sec_tbl(dctx,uctx->meta);
diff --git a/src/hdrdump/pe_hdrdump_opt_hdr.c b/src/hdrdump/pe_hdrdump_coff_opt_hdr.c
index 566fd0f..fc51738 100644
--- a/src/hdrdump/pe_hdrdump_opt_hdr.c
+++ b/src/hdrdump/pe_hdrdump_coff_opt_hdr.c
@@ -182,7 +182,7 @@ static int pe_hdrdump_opt_hdr_64(
return 0;
}
-int pe_hdrdump_opt_hdr(
+int pe_hdrdump_coff_opt_hdr(
const struct pe_driver_ctx * dctx,
const struct pe_image_meta * meta)
{