------------------------------------------------------------------- Wed Oct 16 14:47:39 UTC 2024 - Jeff Kowalczyk - Packaging improvements: * Add ExcludeArch: s390 to build with SLE-12. Go is supported on s390x but not available on s390. * Fix License: BSD-3-Clause, drop incorrect AND Apache-2.0 ------------------------------------------------------------------- Wed Jul 17 03:29:15 UTC 2024 - Jeff Kowalczyk - Update to version 1.1.3: * internal/openvex: update handler test * LICENSE: update per Google Legal * internal/vulncheck: add warning message for ancient binaries * all: remove build restrictions requiring go1.18 * cmd/govulncheck: clarify unsafe/reflection limitations * cmd/govulncheck: update docs for old Go binaries * internal/openvex: omit vulns with no findings * cmd/govulncheck/integration: adjust k8s expectations * all: remove skipIfShort * all: remove unnecessary test lines for staticcheck * internal/vulncheck: avoid recomputing if module is known * go.mod: update golang.org/x dependencies * internal/buildinfo: add support for ancient Go binaries * internal/goversion: comment out a printing line * internal/goversion: add package as copy of rsc.io/goversion/version * cmd/govulncheck: remove line about go version requirements * internal/vulncheck: improve documentation * internal/vulncheck: use module info when looking for symbols * internal/vulncheck: handle symbols ending with . * cmd/govulncheck/integration: make expectation check more robust * all: require go1.21 - Packaging improvements: * Build PIE with pattern that may become recommended procedure: %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build A go toolchain buildmode default config would be preferable but none exist at this time. * Update to BuildRequires: golang(API) >= 1.21 matching go.mod * Use name macro where applicable to normalize common lines across Go app packages. Also makes renaming binary easier when required to handle package name conflict. ------------------------------------------------------------------- Thu Jun 06 20:41:57 UTC 2024 - Jeff Kowalczyk - Update to version 1.1.2: * internal/osv: add review status * vulncheck: update documentation for vex * cmd/govulncheck/integration/stackrox-scanner: update expectations * cmd/govulncheck/integration/k8s: update expectations * internal/govulncheck: add more comments for emitted OSVs * go.mod: update golang.org/x dependencies * internal/scan: increase telemetry counter for show flag * internal/scan: add format and scan level telemetry * internal/cmd/govulncheck: remove unnecessary binary dependency * cmd/govulncheck/integration: update go in integration tests * internal/openvex: add hash for doc ID * internal/openvex: add statements to handler * internal/openvex: add handler * all: remove test that runs govulncheck on govulncheck * internal/sarif: fix a typo * internal/scan: limit number of binary traces shown * cmd/govulncheck: record scan mode telemetry ------------------------------------------------------------------- Thu May 23 14:12:18 UTC 2024 - Jeff Kowalczyk - Update to version 1.1.1: * all: remove unit tests for staticcheck, unparam, and spellcheck * internal/sarif,cmd/govulncheck: publicize sarif * internal/vulncheck: load source code for scan symbol mode only * all: update golang.org/x/tools * internal/vulncheck: emit progress message instead of warning * internal/scan: improve textual output for binary traces * internal/buildinfo: avoid panic on nil symbol for elf * internal/sarif: improve GOMODCACHE relative paths * internal/sarif: add version to module info for locations * internal/sarif: remove originalURIBaseIds * go.mod: update golang.org/x dependencies * internal/gosym: preallocate inlined call slice * internal/vulncheck: improve progress message for binaries * internal/vulncheck: emit fetch db and vuln checking progress messages * internal/scan: print progress messages only in verbose mode * internal/scan: refactor flag usage in text handler * Revert "internal/scan: disallow multiple patterns in source mode" * internal/sarif: add missing required Message field * internal/scan: disallow multiple patterns in source mode * internal/vulncheck: use new improved DeleteSyntheticNodes ------------------------------------------------------------------- Tue Apr 16 20:29:47 UTC 2024 - Jeff Kowalczyk - Update to version 1.1.0: * internal/openvex: add vex types * internal/sarif: compute relative paths for findings * internal/sarif: remove unused field * go.mod: update golang.org/x dependencies * internal/sarif,internal/scan,internal/traces: clean up tests * internal/sarif: add region part of the physical location * internal/sarif: add code flows * cmd/govulncheck: clean up test * cmd/govulncheck: make test case config data * cmd/govulncheck: add comment capability to fixups * cmd/govulncheck: remove unnecessary fixups * cmd/govulncheck: make fixup part of a test case * cmd/govulncheck: extract stdlib into special test case * cmd/govulncheck: restore parallelism for tests * cmd/govulncheck: add nogomod test case * cmd/govulncheck: restructure testdata tests * cmd/govulncheck: add sarif test for binaries * internal/sarif: add stacks * internal/sarif: add result message * internal/vulncheck: get correctly package for instantiated functions * internal/sarif: add result stubs to run object * internal/govulncheck: add scan mode to config * internal/vulncheck: delete only synthetic nodes not related to generics * internal/scan: add more info to validation errors * internal/sarif: add rules * internal/scan: fix name of the error variable * internal/sarif: add handler * internal/scan: add sarif flag * internal/scan: add types for format, show, mode, and scan flags * go.mod: update golang.org/x dependencies * internal/vulncheck: use proper stdlib check when loading packages * internal/vulncheck,internal/scan: sort messages where needed * internal/scan: introduce format flag * internal/vulncheck: manipulate packages from PackageGraph * internal/vulncheck: do not have stdlibModule as global * cmd/govulncheck: make sure filepath are cross-platform * internal/govulncheck: fix up some comments * internal/vulncheck: add relative paths for vendored paths * internal/vulncheck: emit relative paths for call findings * internal/vulncheck, internal/scan: improve stdlib reporting * go.mod: update golang.org/x dependencies * all: remove bash checks * all: do go mod tidy test inside unit tests ------------------------------------------------------------------- Wed Mar 06 20:44:38 UTC 2024 - Jeff Kowalczyk - Update to version 1.0.4: * cmd/govulncheck: mask line numbers and columns * internal/scan: remove redundant new lines * internal/vulncheck: add position for sinks in findings' trace * internal/scan: put -show