@Test public void testIgnoredManagedStrings_ShouldNotBeIgnored() throws Exception { String mangled = "??0_LocaleUpdate@@QAE@PAUlocaleinfo_struct@@@Z"; MicrosoftDemangler demangler = new MicrosoftDemangler(); DemangledObject demangledObj = demangler.demangle(mangled, true); assertNotNull(demangledObj); }
@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);  }