From 9c5807c7cadf7219a32f3b2c081a8d21aceb4837 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 26 Nov 2015 11:46:46 -0500 Subject: output import libraries and dependency symbols: initial implementation. --- include/perk/perk.h | 1 + include/perk/perk_output.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/perk/perk.h b/include/perk/perk.h index f34f7c1..3f9f890 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -154,6 +154,7 @@ perk_api void pe_free_unit_ctx (struct pe_unit_ctx *); /* utility api */ perk_api int pe_output_export_symbols (const struct pe_image_meta *, const struct pe_common_ctx *, FILE *); +perk_api int pe_output_import_libraries(const struct pe_image_meta *, const struct pe_common_ctx *, FILE *); /* high-level api */ perk_api int pe_map_raw_image (int fd, const char * path, int prot, struct pe_raw_image *); diff --git a/include/perk/perk_output.h b/include/perk/perk_output.h index 18ec373..d7e3b9a 100644 --- a/include/perk/perk_output.h +++ b/include/perk/perk_output.h @@ -7,6 +7,8 @@ /* output actions */ #define PERK_OUTPUT_EXPORT_SYMS 0x00000001 +#define PERK_OUTPUT_IMPORT_LIBS 0x00000002 +#define PERK_OUTPUT_IMPORT_SYMS 0x00000004 /* pretty-printer flags */ -- cgit v1.2.3