X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttng-filter-validator.c;fp=lttng-filter-validator.c;h=e785799a13b40827837b76269631a941786c2c99;hb=f127e61ee231d002fb9a7803643a157e06f6d2e2;hp=71e9a7409167d87684bb11049040f7f0a459d14c;hpb=07dfc1d0e4b093ad02682499a702dc11e54e8302;p=lttng-modules.git diff --git a/lttng-filter-validator.c b/lttng-filter-validator.c index 71e9a740..e785799a 100644 --- a/lttng-filter-validator.c +++ b/lttng-filter-validator.c @@ -299,6 +299,8 @@ int bytecode_validate_overflow(struct bytecode_runtime *bytecode, } case FILTER_OP_LOAD_FIELD_REF_STRING: case FILTER_OP_LOAD_FIELD_REF_SEQUENCE: + case FILTER_OP_LOAD_FIELD_REF_USER_STRING: + case FILTER_OP_LOAD_FIELD_REF_USER_SEQUENCE: case FILTER_OP_LOAD_FIELD_REF_S64: case FILTER_OP_GET_CONTEXT_REF_STRING: case FILTER_OP_GET_CONTEXT_REF_S64: @@ -612,6 +614,8 @@ int validate_instruction_context(struct bytecode_runtime *bytecode, } case FILTER_OP_LOAD_FIELD_REF_STRING: case FILTER_OP_LOAD_FIELD_REF_SEQUENCE: + case FILTER_OP_LOAD_FIELD_REF_USER_STRING: + case FILTER_OP_LOAD_FIELD_REF_USER_SEQUENCE: { struct load_op *insn = (struct load_op *) pc; struct field_ref *ref = (struct field_ref *) insn->data; @@ -932,6 +936,8 @@ int exec_insn(struct bytecode_runtime *bytecode, case FILTER_OP_LOAD_FIELD_REF_STRING: case FILTER_OP_LOAD_FIELD_REF_SEQUENCE: case FILTER_OP_GET_CONTEXT_REF_STRING: + case FILTER_OP_LOAD_FIELD_REF_USER_STRING: + case FILTER_OP_LOAD_FIELD_REF_USER_SEQUENCE: { if (vstack_push(stack)) { ret = -EINVAL;