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

Function parse_permissions

src/pystack/_pystack/elf_common.cpp:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42std::string
43parse_permissions(long flags)
44{
45 std::string perms;
46 if (flags & PF_R) {
47 perms += "r";
48 }
49 if (flags & PF_W) {
50 perms += "w";
51 }
52 if (flags & PF_X) {
53 perms += "x";
54 }
55 return perms;
56}
57
58CoreFileAnalyzer::CoreFileAnalyzer(
59 std::string corefile,

Callers 2

getSectionInfoFunction · 0.85
populateMapsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected