示例#1
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));
        }