Commit f33d51d
committed
[sanitizer] Intercept sem_open/sem_unlink
Without interceptor implementation may call strlen on internal
buffers causing false msan errors.
Differential Revision: https://reviews.llvm.org/D1076151 parent bb2a92e commit f33d51d
File tree
2 files changed
+52
-1
lines changed- compiler-rt
- lib/sanitizer_common
- test/sanitizer_common/TestCases/Posix
2 files changed
+52
-1
lines changedLines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6538 | 6538 | | |
6539 | 6539 | | |
6540 | 6540 | | |
| 6541 | + | |
| 6542 | + | |
| 6543 | + | |
| 6544 | + | |
| 6545 | + | |
| 6546 | + | |
| 6547 | + | |
| 6548 | + | |
| 6549 | + | |
| 6550 | + | |
| 6551 | + | |
| 6552 | + | |
| 6553 | + | |
| 6554 | + | |
| 6555 | + | |
| 6556 | + | |
| 6557 | + | |
| 6558 | + | |
| 6559 | + | |
| 6560 | + | |
| 6561 | + | |
| 6562 | + | |
| 6563 | + | |
6541 | 6564 | | |
6542 | 6565 | | |
6543 | 6566 | | |
6544 | 6567 | | |
6545 | 6568 | | |
6546 | 6569 | | |
6547 | 6570 | | |
6548 | | - | |
| 6571 | + | |
| 6572 | + | |
| 6573 | + | |
6549 | 6574 | | |
6550 | 6575 | | |
6551 | 6576 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments