-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit 0f77e83
authored
Rollup merge of #142983 - compiler-errors:taint-invalid-call-abi, r=workingjubilee
Taint body on invalid call ABI
Fixes #142969
I'm not certain if there are any other paths that should be tainted, but they would operate similarly. Perhaps pointer coercion.
Introduces `extern "rust-invalid"` for testing purposes.
r? ```@workingjubilee``` or ```@oli-obk``` (or anyone)File tree
13 files changed
+70
-3
lines changed- compiler
- rustc_abi/src
- rustc_ast_lowering/src
- rustc_hir_typeck/src
- rustc_middle/src/ty
- rustc_smir/src
- rustc_internal
- rustc_smir/convert
- stable_mir
- rustc_target/src/spec
- tests/ui
- abi
13 files changed
+70
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
39 | 43 |
| |
40 | 44 |
| |
41 | 45 |
| |
| |||
157 | 161 |
| |
158 | 162 |
| |
159 | 163 |
| |
164 | + | ||
160 | 165 |
| |
161 | 166 |
| |
162 | 167 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
99 | + | ||
100 | + | ||
101 | + | ||
99 | 102 |
| |
100 | 103 |
| |
101 | 104 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 | - | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
167 | + | ||
168 | + | ||
160 | 169 |
| |
161 | 170 |
| |
162 | 171 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1253 | 1253 |
| |
1254 | 1254 |
| |
1255 | 1255 |
| |
1256 | - | ||
1256 | + | ||
1257 | + | ||
1257 | 1258 |
| |
1258 | 1259 |
| |
1259 | 1260 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
| |
497 | + | ||
497 | 498 |
| |
498 | 499 |
| |
499 | 500 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
877 | 877 |
| |
878 | 878 |
| |
879 | 879 |
| |
880 | + | ||
880 | 881 |
| |
881 | 882 |
| |
882 | 883 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1126 | 1126 |
| |
1127 | 1127 |
| |
1128 | 1128 |
| |
1129 | + | ||
1129 | 1130 |
| |
1130 | 1131 |
| |
1131 | 1132 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 | - | ||
159 | + | ||
160 | + | ||
160 | 161 |
| |
161 | 162 |
| |
162 | 163 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + |
0 commit comments