From 63cd760776dd9cfc14525acfe7f1af02e9aa2fb8 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 13 Feb 2017 00:50:48 -0500 Subject: unit context: added symbol characteristics and DATA support. --- include/mdso/mdso.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h index 62ec354..8c76720 100644 --- a/include/mdso/mdso.h +++ b/include/mdso/mdso.h @@ -40,6 +40,10 @@ extern "C" { #define MDSO_DRIVER_ANNOTATE_NEVER 0x2000 #define MDSO_DRIVER_ANNOTATE_FULL 0x4000 +/* symbol characteristics */ +#define MDSO_SYMBOL_TYPE_CODE 0x0001 +#define MDSO_SYMBOL_TYPE_DATA 0x0002 + /* error flags */ #define MDSO_ERROR_TOP_LEVEL 0x0001 #define MDSO_ERROR_NESTED 0x0002 @@ -120,6 +124,7 @@ struct mdso_unit_ctx { const struct mdso_input * map; const struct mdso_common_ctx * cctx; const char * const * syms; + const int const * stype; void * any; }; -- cgit v1.2.3