Exploit databaseDownload repository ZIP
GH-f0a9bb99064fc5c640a8aca726a5dee3
actions-marketplace-validations/securego_gosec
Sources for CVE-2022-23772
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files4
actions-marketplace-validations/securego_gosecRevision a3d5223361a5
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
goanalysis/analyzer_test.go
Go · 840 bytes// (c) Copyright gosec's authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package goanalysis_test
import (
"testing"
"golang.org/x/tools/go/analysis/analysistest"
"github.com/securego/gosec/v2/goanalysis"
)
func TestAnalyzer(t *testing.T) {
analysistest.Run(t, analysistest.TestData(), goanalysis.Analyzer, "a")
}