MCPcopy Create free account
hub / github.com/bloomberg/pystack / buildIdPtrToString

Function buildIdPtrToString

src/pystack/_pystack/elf_common.cpp:536–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536std::string
537buildIdPtrToString(const uint8_t* id, ssize_t size)
538{
539 std::stringstream result;
540 do {
541 result << std::setfill('0') << std::setw(2) << std::hex << static_cast<int>(*id++);
542 } while (--size > 0);
543 return result.str();
544}
545
546std::string
547getBuildId(const std::string& filename)

Callers 2

getBuildIdFunction · 0.85
module_callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected