Skip to content

Commit

Permalink
Update ExternalFlow.qll docs on subtypes column
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-mc committed Oct 16, 2024
1 parent 5efb88e commit 38d85a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions go/ql/lib/semmle/go/dataflow/ExternalFlow.qll
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
* packages in the group `<groupname>` according to the `packageGrouping`
* predicate.
* 2. The `type` column selects a type within that package.
* 3. The `subtypes` is a boolean that indicates whether to jump to an
* arbitrary subtype of that type.
* 3. The `subtypes` column is a boolean that controls what restrictions we
* place on the receiver of a method. When it is false, we only consider
* methods where the receiver base type has the exact type specified by this
* row. When it is true receiver types which embed the specified type are
* allowed, and for interface methods, receiver types which implement the
* interface are allowed.
* 4. The `name` column optionally selects a specific named member of the type.
* 5. The `signature` column is always empty.
* 6. The `ext` column is always empty.
Expand Down

0 comments on commit 38d85a3

Please sign in to comment.