Skip to content

Commit ebd6529

Browse files
committed
WIP: add tests
1 parent 3ea1af3 commit ebd6529

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public class LogInjectionTest {
2+
3+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import java
2+
import semmle.code.java.security.LogInjectionQuery
3+
import TestUtilities.InlineFlowTest
4+
5+
private class LogInjectionTest extends InlineFlowTest {
6+
override DataFlow::Configuration getValueFlowConfig() { none() }
7+
8+
override TaintTracking::Configuration getTaintFlowConfig() {
9+
result instanceof LogInjectionConfiguration
10+
}
11+
}

0 commit comments

Comments
 (0)