summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-13 00:50:48 -0500
committermidipix <writeonce@midipix.org>2017-02-13 01:52:14 -0500
commit63cd760776dd9cfc14525acfe7f1af02e9aa2fb8 (patch)
tree17b060b7daf4995583708c761e2733879e0a0296 /include
parent1c23fb505d3a0a8e76e95e4198cb1d25cd13356e (diff)
downloadmdso-63cd760776dd9cfc14525acfe7f1af02e9aa2fb8.tar.bz2
mdso-63cd760776dd9cfc14525acfe7f1af02e9aa2fb8.tar.xz
unit context: added symbol characteristics and DATA support.
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h5
1 files changed, 5 insertions, 0 deletions
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;
};