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

Method DemangleNameItanium

plugins/rtti/rtti.cpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60std::optional<std::string> RTTI::DemangleNameItanium(BinaryView* view, bool allowMangled, const std::string &mangledName)
61{
62 // NOTE: Passing false to allowMangled to fallthrough to GNU3 demangler.
63 if (auto demangledName = DemangleNameLLVM(false, mangledName))
64 return RemoveItaniumPrefix(demangledName.value());
65 if (auto demangledName = DemangleNameGNU3(view, allowMangled, mangledName))
66 return RemoveItaniumPrefix(demangledName.value());
67 return std::nullopt;
68}
69
70
71std::optional<std::string> RTTI::DemangleNameLLVM(bool allowMangled, const std::string &mangledName)

Callers

nothing calls this directly

Calls 2

RemoveItaniumPrefixFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected