MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / BuildPlatformToString

Function BuildPlatformToString

view/macho/machoview.cpp:91–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91static string BuildPlatformToString(uint32_t platform)
92{
93 switch (platform)
94 {
95 case MACHO_PLATFORM_MACOS: return "macos";
96 case MACHO_PLATFORM_IOS: return "ios";
97 case MACHO_PLATFORM_TVOS: return "tvos";
98 case MACHO_PLATFORM_WATCHOS: return "watchos";
99 case MACHO_PLATFORM_BRIDGEOS: return "bridgeos";
100 default:
101 {
102 stringstream ss;
103 ss << "0x" << std::hex << platform;
104 return ss.str();
105 }
106 }
107}
108
109
110static string BuildToolToString(uint32_t tool)

Callers 1

HeaderForAddressMethod · 0.85

Calls 1

strMethod · 0.80

Tested by

no test coverage detected