MCPcopy Index your code
hub / github.com/rabbitstack/fibratus / ContainsUnbacked

Method ContainsUnbacked

pkg/callstack/callstack.go:342–349  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

340// unbacked memory section. This method only checks
341// user space frames for such a condition.
342func (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.
352func (s Callstack) ContainsSymbol(sym string) bool {

Callers 4

TestCallstackFunction · 0.95
GetMethod · 0.80
ScanMethod · 0.80

Calls 2

InSystemRangeMethod · 0.80
IsUnbackedMethod · 0.80

Tested by 2

TestCallstackFunction · 0.76