File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
lib/semmle/code/java/controlflow
test-kotlin1/library-tests/controlflow/basic
test-kotlin2/library-tests/controlflow/basic Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private module Input implements BB::InputSig<Location> {
57
57
* Holds if `node` represents an exit node to be used when calculating
58
58
* post dominance.
59
59
*/
60
- predicate nodeIsPostDominanceExit ( Node node ) { node instanceof ControlFlow:: ExitNode }
60
+ predicate nodeIsPostDominanceExit ( Node node ) { node instanceof ControlFlow:: NormalExitNode }
61
61
}
62
62
63
63
private module BbImpl = BB:: Make< Location , Input > ;
Original file line number Diff line number Diff line change 208
208
| Test.kt:101:5:103:5 | ... -> ... | Test.kt:101:5:103:5 | <Expr>; |
209
209
| Test.kt:101:5:103:5 | <Expr>; | Test.kt:100:25:110:1 | { ... } |
210
210
| Test.kt:102:9:102:25 | throw ... | Test.kt:101:33:103:5 | { ... } |
211
+ | Test.kt:105:5:109:5 | <Expr>; | Test.kt:100:25:110:1 | { ... } |
212
+ | Test.kt:105:5:109:5 | <Expr>; | Test.kt:101:5:103:5 | ... -> ... |
213
+ | Test.kt:105:5:109:5 | <Expr>; | Test.kt:101:5:103:5 | <Expr>; |
214
+ | Test.kt:105:9:107:5 | ... -> ... | Test.kt:100:25:110:1 | { ... } |
215
+ | Test.kt:105:9:107:5 | ... -> ... | Test.kt:101:5:103:5 | ... -> ... |
216
+ | Test.kt:105:9:107:5 | ... -> ... | Test.kt:101:5:103:5 | <Expr>; |
211
217
| Test.kt:105:9:107:5 | ... -> ... | Test.kt:105:5:109:5 | <Expr>; |
212
218
| Test.kt:106:9:106:29 | <Expr>; | Test.kt:105:20:107:5 | { ... } |
213
219
| Test.kt:108:9:108:29 | <Expr>; | Test.kt:107:27:109:5 | { ... } |
Original file line number Diff line number Diff line change 208
208
| Test.kt:101:9:103:5 | ... -> ... | Test.kt:100:25:110:1 | { ... } |
209
209
| Test.kt:101:9:103:5 | ... -> ... | Test.kt:101:5:103:5 | <Expr>; |
210
210
| Test.kt:102:9:102:25 | throw ... | Test.kt:101:33:103:5 | { ... } |
211
+ | Test.kt:105:5:109:5 | <Expr>; | Test.kt:100:25:110:1 | { ... } |
212
+ | Test.kt:105:5:109:5 | <Expr>; | Test.kt:101:5:103:5 | <Expr>; |
213
+ | Test.kt:105:5:109:5 | <Expr>; | Test.kt:101:9:103:5 | ... -> ... |
214
+ | Test.kt:105:9:107:5 | ... -> ... | Test.kt:100:25:110:1 | { ... } |
215
+ | Test.kt:105:9:107:5 | ... -> ... | Test.kt:101:5:103:5 | <Expr>; |
216
+ | Test.kt:105:9:107:5 | ... -> ... | Test.kt:101:9:103:5 | ... -> ... |
211
217
| Test.kt:105:9:107:5 | ... -> ... | Test.kt:105:5:109:5 | <Expr>; |
212
218
| Test.kt:106:9:106:29 | <Expr>; | Test.kt:105:20:107:5 | { ... } |
213
219
| Test.kt:108:9:108:29 | <Expr>; | Test.kt:107:27:109:5 | { ... } |
You can’t perform that action at this time.
0 commit comments