Skip to content

Commit 05984ff

Browse files
authored
DAOS-19084 test: Suppress Cgo syscall false positives (#18448)
The syscall function signature changed, so suppressions needed to be updated. Also added a suppression related to an internal runtime context.Context implementation. Signed-off-by: Kris Jacque <kris.jacque@hpe.com>
1 parent 1e28381 commit 05984ff

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

src/cart/utils/memcheck-cart.supp

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,21 @@
552552
...
553553
}
554554
{
555-
Go syscall.
555+
Go syscall write
556556
Memcheck:Param
557557
write(buf)
558-
fun:syscall.Syscall.abi0
558+
fun:internal/runtime/*Syscall6
559+
}
560+
{
561+
Go syscall read
562+
Memcheck:Param
563+
read(buf)
564+
fun:internal/runtime/*Syscall6
565+
}
566+
{
567+
context Err()
568+
Memcheck:Addr8
569+
fun:context.(*valueCtx).Err
559570
}
560571
{
561572
Racecall cgo malloc
@@ -582,12 +593,6 @@
582593
Memcheck:Value8
583594
fun:aeshashbody
584595
}
585-
{
586-
DAOS-15159
587-
Memcheck:Param
588-
write(buf)
589-
fun:internal/runtime/syscall.Syscall6
590-
}
591596
{
592597
DAOS-15548
593598
Memcheck:Addr1
@@ -696,12 +701,6 @@
696701
Memcheck:Addr8
697702
fun:racecalladdr
698703
}
699-
{
700-
Syscall6 param
701-
Memcheck:Param
702-
read(buf)
703-
fun:internal/runtime/syscall.Syscall6
704-
}
705704
{
706705
__tsan_go_atomic32_load
707706
Memcheck:Addr4

0 commit comments

Comments
 (0)