| 40 | } |
| 41 | |
| 42 | std::string |
| 43 | parse_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 | |
| 58 | CoreFileAnalyzer::CoreFileAnalyzer( |
| 59 | std::string corefile, |
no outgoing calls
no test coverage detected