Steps to reproduce:
-
Install dependencies.
In the directory where the repository is cloned, run:
mkdir gopath env GOPATH=$PWD/gopath GO111MODULE=off go get github.com/docker/docker \ golang.org/x/tools/go/{pointer,packages}
-
Run the program that calls the pointer analysis.
env GOPATH=$PWD/gopath GO111MODULE=off go run main.go