MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / DescriptorToName

Function DescriptorToName

Bcore/src/main/cpp/dex/descriptors_names.cc:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156std::string DescriptorToName(const char* descriptor) {
157 size_t length = strlen(descriptor);
158 if (descriptor[0] == 'L' && descriptor[length - 1] == ';') {
159 std::string result(descriptor + 1, length - 2);
160 return result;
161 }
162 return descriptor;
163}
164
165// Helper for IsValidPartOfMemberNameUtf8(), a bit vector indicating valid low ascii.
166static uint32_t DEX_MEMBER_VALID_LOW_ASCII[4] = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected