Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Go: Convert models for variadic functions to use models-as-data #16592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 21 commits into
base: main
Choose a base branch
Loading
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve formatting
  • Loading branch information
owen-mc committed Jun 4, 2024
commit accb39373bcccde7b27bd35b5e153e3b5f5095d5
5 changes: 1 addition & 4 deletions 5 go/ql/lib/semmle/go/frameworks/stdlib/TextTabwriter.qll
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ module TextTabwriter {
MethodModels() {
// signature: func (*Writer) Init(output io.Writer, minwidth int, tabwidth int, padding int, padchar byte, flags uint) *Writer
this.hasQualifiedName("text/tabwriter", "Writer", "Init") and
(
inp.isResult() and
outp.isParameter(0)
)
(inp.isResult() and outp.isParameter(0))
}

override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.