Files
codeql/csharp/ql/test/library-tests/cil/consistency/consistency.ql
Tom Hvitved 481bf77d5f CIL: Speedup consistency tests
- Make `InstructionViolation` abstract to avoid computing `getInstructionsUpTo()`
  for all instructions in the database.
- Enable `consistency.ql`, which reports all consistency violations, and remove
  all other specialized tests.
2019-06-27 13:40:07 +02:00

6 lines
106 B
Plaintext

import cil
import semmle.code.cil.ConsistencyChecks
from ConsistencyViolation v
select v, v.getMessage()