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

Method string

dwarf/cursor.cc:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void
84cursor::string(std::string &out)
85{
86 size_t size;
87 const char *p = this->cstr(&size);
88 out.resize(size);
89 memmove(&out.front(), p, size);
90}
91
92const char *
93cursor::cstr(size_t *size_out)

Callers 3

line_tableMethod · 0.80
read_file_entryMethod · 0.80
readMethod · 0.80

Calls 1

cstrMethod · 0.95

Tested by

no test coverage detected