MCPcopy Create free account
hub / github.com/aclements/libelfin / offset

Method offset

dwarf/cursor.cc:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70section_offset
71cursor::offset()
72{
73 switch (sec->fmt) {
74 case format::dwarf32:
75 return fixed<uint32_t>();
76 case format::dwarf64:
77 return fixed<uint64_t>();
78 default:
79 throw logic_error("cannot read offset with unknown format");
80 }
81}
82
83void
84cursor::string(std::string &out)

Callers 8

as_referenceMethod · 0.80
as_cstrMethod · 0.80
as_sec_offsetMethod · 0.80
compilation_unitMethod · 0.80
type_unitMethod · 0.80
line_tableMethod · 0.80
readMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected