From 68f5d95a7ae35f7284769db992069eab119793ba Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 24 Oct 2016 21:24:36 -0400 Subject: output: added pe_output_error_record(), pe_output_error_vector(). --- include/perk/perk.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/perk/perk.h') diff --git a/include/perk/perk.h b/include/perk/perk.h index 5951fa6..6f0ee27 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -39,6 +39,10 @@ extern "C" { #define PERK_DRIVER_VERSION 0x0010 #define PERK_DRIVER_DRY_RUN 0x0020 +#define PERK_DRIVER_ANNOTATE_ALWAYS 0x1000 +#define PERK_DRIVER_ANNOTATE_NEVER 0x2000 +#define PERK_DRIVER_ANNOTATE_FULL 0x4000 + /* unit action flags */ #define PERK_ACTION_MAP_READWRITE 0x0001 @@ -197,6 +201,8 @@ perk_api void pe_free_unit_ctx (struct pe_unit_ctx *); perk_api int pe_main (int, char **, char **); 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 *); +perk_api int pe_output_error_record (const struct pe_driver_ctx *, const struct pe_error_info *); +perk_api int pe_output_error_vector (const struct pe_driver_ctx *); /* high-level api */ perk_api int pe_map_raw_image (const struct pe_driver_ctx *, int fd, const char * path, int prot, struct pe_raw_image *); -- cgit v1.2.3