Fix: bytecode: Validate register type for instructions expecting unknown type
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 5 May 2020 14:21:41 +0000 (10:21 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 17:54:24 +0000 (12:54 -0500)
commitd644d1df290531d8c2be54d6cf4485cc5ebeefde
treeef6af0036c25b41a18eebdd4ed5910f62f2c87d3
parent183e8b3ade0b58852561b334b3455988c743ebc9
Fix: bytecode: Validate register type for instructions expecting unknown type

The bytecode validator allows unknown type as input for some
instructions which are not specialized. The interpreter therefore needs
to check the register type for their input.

Thie requires that every instruction in the interpreter sets the
register type of the output it populates (unless it is unchanged).

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I3339c36340645937b801f6bf6dbf517d06416a14
include/lttng/filter.h
src/lttng-filter-interpreter.c
This page took 0.029217 seconds and 4 git commands to generate.