Example #1
0
        public ITypeDeobfuscator GetTypeDeobfuscator(ClrType type)
        {
            if (m_deobfuscator == null)
            {
                return(DummyTypeDeobfuscator.GetDeobfuscator(type.Name));
            }

            return(m_deobfuscator.GetTypeDeobfuscator(type));
        }
Example #2
0
        public ITypeDeobfuscator GetTypeDeobfuscator(string typeName)
        {
            if (m_deobfuscator == null)
            {
                return(DummyTypeDeobfuscator.GetDeobfuscator(typeName));
            }

            return(m_deobfuscator.GetTypeDeobfuscator(typeName));
        }
Example #3
0
        public ClrDynamic(ulong address, ClrType type, bool isInterior = false)
        {
            Address    = address;
            Type       = type;
            IsInterior = isInterior;

            if (ClrMDSession.Current == null)
            {
                m_deobfuscator = DummyTypeDeobfuscator.GetDeobfuscator(type.Name);
            }
            else
            {
                m_deobfuscator = ClrMDSession.Current.GetTypeDeobfuscator(type);
            }
        }
        public ClrObject(ulong address, ClrType type, bool isInterior = false)
        {
            Address    = address;
            Type       = type;
            IsInterior = isInterior;

            if (ClrMDSession.Current == null)
            {
                m_deobfuscator = DummyTypeDeobfuscator.GetDeobfuscator(type.Name);
            }
            else
            {
                m_deobfuscator = ClrMDSession.Current.GetTypeDeobfuscator(type);
            }

            m_lazyVisualizer = new Lazy <TypeVisualizer>(() => TypeVisualizer.TryGetVisualizer(this));
        }