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

Function GetOperator

demangler/gnu3/demangle_gnu3.cpp:897–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895}
896
897static string GetOperator(char elm1, char elm2)
898{
899 switch (hash(elm1, elm2))
900 {
901 case hash('d','c'): return "dynamic_cast";
902 case hash('s','c'): return "static_cast";
903 case hash('c','c'): return "const_cast";
904 case hash('r','c'): return "reinterpret_cast";
905 case hash('t','i'): return "typeid";
906 case hash('t','e'): return "typeid";
907 case hash('s','t'): return "sizeof";
908 case hash('s','z'): return "sizeof";
909 case hash('a','t'): return "alignof";
910 case hash('a','z'): return "alignof";
911 case hash('n','x'): return "noexcept";
912 case hash('s','Z'): return "sizeof...";
913 case hash('s','P'): return "sizeof...";
914 case hash('s','p'): return "";
915 case hash('t','w'): return "throw";
916 case hash('t','r'): return "throw";
917 case hash('l','s'): return "<<"; // <<
918 case hash('r','s'): return ">>"; // >>
919 case hash('a','S'): return "="; // =
920 case hash('n','t'): return "!"; // !
921 case hash('e','q'): return "=="; // ==
922 case hash('n','e'): return "!="; // !=
923 case hash('i','x'): return "[]"; // []
924 case hash('d','t'): return "."; // .
925 case hash('p','t'): return "->"; // ->
926 case hash('m','l'): return "*"; // *
927 case hash('p','p'): return "++"; // ++ (postfix in <expression> context)
928 case hash('m','m'): return "--"; // -- (postfix in <expression> context)
929 case hash('n','g'): return "-"; // - (unary)
930 case hash('m','i'): return "-"; // -
931 case hash('p','s'): return "+"; // + (unary)
932 case hash('p','l'): return "+"; // +
933 case hash('a','d'): return "&"; // & (unary)
934 case hash('a','n'): return "&"; // &
935 case hash('p','m'): return "->*"; // ->*
936 case hash('d','v'): return "/"; // /
937 case hash('r','m'): return "%"; // %
938 case hash('l','t'): return "<"; // <
939 case hash('l','e'): return "<="; // <=
940 case hash('g','t'): return ">"; // >
941 case hash('g','e'): return ">="; // >=
942 case hash('c','m'): return ","; // ,
943 case hash('c','l'): return "()"; // ()
944 case hash('c','o'): return "~"; // ~
945 case hash('e','o'): return "^"; // ^
946 case hash('o','r'): return "|"; // |
947 case hash('a','a'): return "&&"; // &&
948 case hash('o','o'): return "||"; // ||
949 case hash('d','e'): return "*"; // * (unary)
950 case hash('m','L'): return "*="; // *=
951 case hash('p','L'): return "+="; // +=
952 case hash('m','I'): return "-="; // -=
953 case hash('d','V'): return "/="; // /=
954 case hash('r','M'): return "%="; // %=

Callers 3

DemangleExpressionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected