Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRewrites ¶
ApplyRewrites applies a series of rewrite steps to the packages and all its dependencies. The rewrites are meant to preserve soundness of the analysis, under the condition that the focus points of the analysis are not the entrypoint or endpoints of analyses. The rewrites are:
All the rewrites from the base rewrites used in capslock package: - calls to sort.Slice and sort.SliceStable are removed and replaced by calls to the functions used in sorting. - calls to (sync.Once).Do are replaced by a call to the method in the sync.Once object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.