summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-24 21:24:36 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:53 -0500
commit68f5d95a7ae35f7284769db992069eab119793ba (patch)
tree8cbce61bca1c6c85a145b96780ca4c74ded29d5b /include
parentff121de13267c16601e7a71e6b8240406a37fb1b (diff)
downloadperk-68f5d95a7ae35f7284769db992069eab119793ba.tar.bz2
perk-68f5d95a7ae35f7284769db992069eab119793ba.tar.xz
output: added pe_output_error_record(), pe_output_error_vector().
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h6
1 files changed, 6 insertions, 0 deletions
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 *);