ctf: better enum and variant verification
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 4 Dec 2013 14:01:34 +0000 (09:01 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 6 Dec 2013 21:56:44 +0000 (16:56 -0500)
commit816fde81fdbf4482bd53456404e90692c6b76d70
tree8f1be70865ef8330fd933de85f372e4405db8652
parente087d147dea7255eaf4f8d8ddc16b47d953db0a1
ctf: better enum and variant verification

Check if enums are valid integers
Check if variants are not using unspecified tags
Check for variant tags recursively
Check for out of range variants
Check for non-intersection between variant and tag

Change-Id: Idd6a98673d8bb3b0a7a1649893a2e21f230a1bcc
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/19410
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/EnumDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/VariantDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInputPacketReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/internal/ctf/core/event/metadata/IOStructGen.java
This page took 0.025411 seconds and 5 git commands to generate.