You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All switch statements should be instrumented with calls to the control flow logger. Imminently before the switch statement a call to instrumenter.setFalse() should be made, setting all interior case and default statements to false. Inside of each case and default statement a call to instrumenter.setTrue() should be made indicating the path that was taken.
#Example
The following example takes place in a file source.go in package main
#Overview
All switch statements should be instrumented with calls to the control flow logger. Imminently before the switch statement a call to
instrumenter.setFalse()
should be made, setting all interior case and default statements to false. Inside of eachcase
anddefault
statement a call toinstrumenter.setTrue()
should be made indicating the path that was taken.#Example
The following example takes place in a file
source.go
in packagemain
##Pre instrumentation
##Post Instrumentation
[Issue created by wantonsolutions: 2015-08-21]
The text was updated successfully, but these errors were encountered: