github.com/Rookout/GoSDK@v0.1.48/pkg/services/instrumentation/hooker/breakpoint_flow_runner_amd64.go (about)

     1  package hooker
     2  
     3  func (c *breakpointFlowRunner) ApplyBreakpointsState() (err error) {
     4  	
     5  	if !c.IsUnhookedState() {
     6  		c.jumpDestination, err = c.nativeAPI.GetStateEntryAddr(c.function.Entry, c.function.End, c.stateID)
     7  		if err != nil {
     8  			return err
     9  		}
    10  	}
    11  	return c.installHook()
    12  }