Skip to content

Commit 1bd536d

Browse files
committed
Rename getLocation to hasLocation
1 parent c981fd7 commit 1bd536d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import go
22

3-
predicate getLocation(DataFlow::Node node, string loc) {
3+
predicate hasLocation(DataFlow::Node node, string loc) {
44
node.hasLocationInfo(loc, _, _, _, _) and loc != ""
55
or
66
exists(string pkg, string name |
@@ -35,5 +35,5 @@ where
3535
// Not available on arm64
3636
pkg = "vendor/golang.org/x/crypto/internal/poly1305.mac" and name = "Write"
3737
) and
38-
getLocation(pred, predLoc)
38+
hasLocation(pred, predLoc)
3939
select predLoc, pred, succ

0 commit comments

Comments
 (0)