Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit a784a25

Browse files
committed
Remove (net.IP).UnmarshalText
1 parent 1578a66 commit a784a25

File tree

2 files changed

+197
-213
lines changed
  • ql
    • src/semmle/go/frameworks/stdlib
    • test/library-tests/semmle/go/frameworks/StdlibTaintFlow

2 files changed

+197
-213
lines changed

ql/src/semmle/go/frameworks/stdlib/Net.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ module Net {
7474
this.hasQualifiedName("net", "IP", "To4") and
7575
(inp.isReceiver() and outp.isResult())
7676
or
77-
// signature: func (*IP).UnmarshalText(text []byte) error
78-
this.hasQualifiedName("net", "IP", "UnmarshalText") and
79-
(inp.isParameter(0) and outp.isReceiver())
80-
or
8177
// signature: func (*IPConn).ReadFrom(b []byte) (int, Addr, error)
8278
this.hasQualifiedName("net", "IPConn", "ReadFrom") and
8379
(inp.isReceiver() and outp.isParameter(0))

0 commit comments

Comments
 (0)