diff options
author | midipix <writeonce@midipix.org> | 2015-11-26 11:46:46 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:27 -0500 |
commit | 9c5807c7cadf7219a32f3b2c081a8d21aceb4837 (patch) | |
tree | 05b106b7f8119bd7bd0e1ab6116ef2ee2b4285b8 /include | |
parent | 949bb3ba304be9bd80cda27c37c2d0d0da6a67dd (diff) | |
download | perk-9c5807c7cadf7219a32f3b2c081a8d21aceb4837.tar.bz2 perk-9c5807c7cadf7219a32f3b2c081a8d21aceb4837.tar.xz |
output import libraries and dependency symbols: initial implementation.
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk.h | 1 | ||||
-rw-r--r-- | include/perk/perk_output.h | 2 |
2 files changed, 3 insertions, 0 deletions
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 */ |