mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Revert "Simplify MissingCallTarget for calli"
This reverts commit 3b82abd7c7.
This commit is contained in:
@@ -83,7 +83,7 @@ class MissingCallTarget extends InstructionViolation {
|
||||
exists(Call c | c = instruction |
|
||||
count(c.getTarget()) != 1 and not c instanceof Opcodes::Calli
|
||||
or
|
||||
count(c.(Opcodes::Calli).getTargetType()) != 1
|
||||
count(c.(Opcodes::Calli).getTargetType()) != 1 and c instanceof Opcodes::Calli
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user