@Test public void testIgnoredMangledStrings_Dash() throws Exception { String mangled = "?BobsStuffIO@344GPAUHINSTANCE__@@U_COMMPROP@@-W"; MicrosoftDemangler demangler = new MicrosoftDemangler(); DemangledObject demangledObj = null; try { demangledObj = demangler.demangle(mangled, true); } catch (DemangledException e) { return; } fail(); }
@Override public DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns) throws DemangledException { try { DemangledObject demangled = demangleMS(mangled, demangleOnlyKnownPatterns); return demangled; } catch (GenericDemangledException e) { throw new DemangledException(true); } }
MicrosoftDemangler implements Demangler { @Override public DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns) throws DemangledException { try { DemangledObject demangled = demangleMS(mangled, demangleOnlyKnownPatterns); return demangled; } catch (GenericDemangledException e) { throw new DemangledException(true); } } }
MicrosoftDemangler implements Demangler { @Override public DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns) throws DemangledException { try { DemangledObject demangled = demangleMS(mangled, demangleOnlyKnownPatterns); return demangled; } catch (GenericDemangledException e) { throw new DemangledException(true); } } MicrosoftDemangler(); }
MicrosoftDemangler implements Demangler { @Override public DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns) throws DemangledException { try { DemangledObject demangled = demangleMS(mangled, demangleOnlyKnownPatterns); return demangled; } catch (GenericDemangledException e) { throw new DemangledException(true); } } MicrosoftDemangler(); @Override boolean canDemangle(Program program); @Override DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns); }
MicrosoftDemangler implements Demangler { @Override public DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns) throws DemangledException { try { DemangledObject demangled = demangleMS(mangled, demangleOnlyKnownPatterns); return demangled; } catch (GenericDemangledException e) { throw new DemangledException(true); } } MicrosoftDemangler(); @Override boolean canDemangle(Program program); @Override DemangledObject demangle(String mangled, boolean demangleOnlyKnownPatterns);  }