commit | 8dddf5d87bd801dc1ab27b8c139421a548982696 | [log] [tgz] |
---|---|---|
author | Hana <hyangah@gmail.com> | Sat Mar 12 16:18:53 2022 -0500 |
committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | Fri Mar 18 15:49:14 2022 +0000 |
tree | fd0ee028bb21d774dc84b0c3c3b47be487e7f0f6 | |
parent | 48e79f11773a3b8c224e7fb3f7149ef3f013f5fa [diff] |
vulncheck: fix buildSSA's FileSet handling The FileSet used when building a new ssa program should be the same FileSet used when building the Package input because later Position computation is done using the SSA program's FileSet. Moreover, enforce this from the Source API level. If Packages passed to Source were built with different FileSets, that is an error. Change-Id: I5336fcc12b6fe951e625ec1c2223439efbeccf2b Reviewed-on: https://go-review.googlesource.com/c/exp/+/392374 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.