Go to file
Alan Donovan a9651d6ad7 cmd/callgraph: add -algo=static and -algo=cha options.
"static" ignores dynamic calls altogether.

"cha" uses Class Hierarchy Analysis, which assumes that a
dynamic call may dispatch to any func or method that satisfies
the type.

Both these algorithms can work on partial programs,
e.g. libraries without a main function or tests.

(This feature was requested after my talk last night.)

+ Tests.

LGTM=sameer
R=sameer, minux
CC=golang-codereviews, gri
https://golang.org/cl/176780043
2014-11-21 11:07:56 -05:00
astutil go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
blog go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
cmd cmd/callgraph: add -algo=static and -algo=cha options. 2014-11-21 11:07:56 -05:00
container/intsets tools: minor comment fixes. 2014-11-13 12:34:25 -05:00
cover go.tools/cover: split parsing code out from cmd/cover 2013-12-03 20:55:21 -08:00
dashboard x/tools/dashboard/env: bump known good builder revision 2014-11-17 13:08:44 +11:00
go cmd/callgraph: add -algo=static and -algo=cha options. 2014-11-21 11:07:56 -05:00
godoc x/tools/godoc/redirect: add redirect for Gerrit reviews at /review/ 2014-11-19 08:51:39 +11:00
imports go.tools/imports: use same logic as 'go' tool for pruning package search. 2014-11-12 12:45:17 -08:00
oracle cmd/oracle: minor fixes. 2014-11-17 13:50:23 -05:00
playground go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
present go.tools/present: add support for figure captions 2014-07-15 08:23:16 -07:00
refactor x/tools/*: print program name, not "Error", when reporting command error messages. 2014-11-17 12:58:28 -05:00
.hgignore dashboard: add Cloud Storage upload support to create.go 2014-09-03 21:41:16 -07:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README go.tools/README: minor correction. 2013-10-29 13:20:58 -04:00
codereview.cfg codereview: switch defaultcc to golang-codereviews 2013-12-20 10:54:33 -05:00

README

This subrepository holds the source for various packages and tools that support
the Go programming language.

Some of the tools, godoc and vet for example, are included in binary Go distributions.
Others, including the Go oracle and the test coverage tool, can be fetched with "go get".

Packages include a type-checker for Go and an implementation of the
Static Single Assignment form (SSA) representation for Go programs.

To submit changes to this repository, see http://golang.org/doc/contribute.html.