Currently, the control flow graph of a function traverses only between the blocks of the function using ssa.Function.Blocks. The special recover block isn't reachable in that way since it's a special case (abnormal edge).
Therefore, traversing this block should be added using ssa.Function.Recover
Proposal
Currently, the control flow graph of a function traverses only between the blocks of the function using
ssa.Function.Blocks
. The special recover block isn't reachable in that way since it's a special case (abnormal edge).Therefore, traversing this block should be added using
ssa.Function.Recover
For more details: https://pkg.go.dev/golang.org/x/tools/go/ssa#Function