MCPcopy Index your code
hub / github.com/Binject/debug / Val

Method Val

dwarf/entry.go:342–347  ·  view source on GitHub ↗

Val returns the value associated with attribute Attr in Entry, or nil if there is no such attribute. A common idiom is to merge the check for nil return with the check that the value has the expected dynamic type, as in: v, ok := e.Val(AttrSibling).(int64)

(a Attr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

RangesMethod · 0.95
TestReaderRangesFunction · 0.80
LineReaderMethod · 0.80
NextMethod · 0.80
readTypeMethod · 0.80
testDWARFFunction · 0.80

Calls 1

AttrFieldMethod · 0.95

Tested by 2

TestReaderRangesFunction · 0.64
testDWARFFunction · 0.64