Commit df88ae3
committed
Software Bill of Mitigations Tests
- Add tests for verifying metadata added correctly
- Added new parameter to only add mitigation metadata for functions when MitigationAnalysis CGO is enabled1 parent a4b4ee1 commit df88ae3
File tree
5 files changed
+439
-11
lines changed- clang
- lib/CodeGen
- unittests/CodeGen
5 files changed
+439
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2492 | 2492 | | |
2493 | 2493 | | |
2494 | 2494 | | |
2495 | | - | |
| 2495 | + | |
| 2496 | + | |
2496 | 2497 | | |
2497 | 2498 | | |
2498 | 2499 | | |
| |||
2521 | 2522 | | |
2522 | 2523 | | |
2523 | 2524 | | |
2524 | | - | |
| 2525 | + | |
| 2526 | + | |
2525 | 2527 | | |
2526 | 2528 | | |
2527 | 2529 | | |
2528 | 2530 | | |
2529 | 2531 | | |
2530 | | - | |
| 2532 | + | |
| 2533 | + | |
2531 | 2534 | | |
2532 | 2535 | | |
2533 | 2536 | | |
2534 | 2537 | | |
2535 | | - | |
| 2538 | + | |
| 2539 | + | |
2536 | 2540 | | |
2537 | 2541 | | |
2538 | 2542 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
71 | | - | |
| 80 | + | |
| 81 | + | |
72 | 82 | | |
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
76 | 86 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments