Skip to content

Commit d189a15

Browse files
committed
Exclude poly1305.mac.Write from TaintSteps
Not available on arm64
1 parent a623733 commit d189a15

File tree

1 file changed

+3
-0
lines changed
  • go/ql/test/library-tests/semmle/go/frameworks/TaintSteps

1 file changed

+3
-0
lines changed

go/ql/test/library-tests/semmle/go/frameworks/TaintSteps/TaintStep.ql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ where
3131
name = "Read"
3232
or
3333
pkg = ["os.dirEntry", "os.unixDirent"] and name = ["Info", "Name"]
34+
or
35+
// Not available on arm64
36+
pkg = "vendor/golang.org/x/crypto/internal/poly1305.mac" and name = "Write"
3437
) and
3538
getLocation(pred, predLoc)
3639
select predLoc, pred, succ

0 commit comments

Comments
 (0)