MCPcopy Create free account
hub / github.com/Binject/debug / offsetToUnit

Method offsetToUnit

dwarf/unit.go:97–110  ·  view source on GitHub ↗

offsetToUnit returns the index of the unit containing offset off. It returns -1 if no unit contains this offset.

(off Offset)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

LineReaderMethod · 0.95
RangesMethod · 0.95
SeekMethod · 0.80

Calls 1

OffsetTypeAlias · 0.85

Tested by

no test coverage detected