Skip to content

Make sure to check all Label references.

Eric Bruneton requested to merge check-all-labels into master

Update referencedLabel in checkLabel to make sure we don't forget to add referenced labels to this list. For instance, the dflt label in visitTableSwitchInsn was not added to the list. As a consequence, this class could not detect error cases where this default label is not visited with visitLabel before visitMaxs. visitLineNumber had the same issue.

Merge request reports