ContainsUnbacked returns true if there is a frame pertaining to the function call initiated from the unbacked memory section. This method only checks user space frames for such a condition.
()
| 340 | // unbacked memory section. This method only checks |
| 341 | // user space frames for such a condition. |
| 342 | func (s Callstack) ContainsUnbacked() bool { |
| 343 | for _, frame := range s { |
| 344 | if !frame.Addr.InSystemRange() && frame.IsUnbacked() { |
| 345 | return true |
| 346 | } |
| 347 | } |
| 348 | return false |
| 349 | } |
| 350 | |
| 351 | // ContainsSymbol checks if the supplied symbol name is present in the callstack. |
| 352 | func (s Callstack) ContainsSymbol(sym string) bool { |