Fix: bytecode validator: reject specialized load field/context ref instructions
[lttng-ust.git] / src / lib / lttng-ust / lttng-bytecode.h
index d8f2413c2c335955f3bd1eaaf8ee8aaf95f6cb00..16e79eb30fc65f35db94d54f2976f165f02a0442 100644 (file)
@@ -58,7 +58,7 @@ do {                                                          \
 } while (0)
 #endif
 
-/* Linked bytecode. Child of struct lttng_bytecode_runtime. */
+/* Linked bytecode. Child of struct lttng_ust_bytecode_runtime. */
 struct bytecode_runtime {
        struct lttng_ust_bytecode_runtime p;
        size_t data_len;
@@ -324,6 +324,9 @@ void lttng_bytecode_sync_state(struct lttng_ust_bytecode_runtime *runtime)
 int lttng_bytecode_validate(struct bytecode_runtime *bytecode)
        __attribute__((visibility("hidden")));
 
+int lttng_bytecode_validate_load(struct bytecode_runtime *bytecode)
+       __attribute__((visibility("hidden")));
+
 int lttng_bytecode_specialize(const struct lttng_ust_event_desc *event_desc,
                struct bytecode_runtime *bytecode)
        __attribute__((visibility("hidden")));
This page took 0.023889 seconds and 4 git commands to generate.