From 61eff4008220fb535c6bfdcc07c2674e3c7976bd Mon Sep 17 00:00:00 2001 From: de4dot Date: Mon, 10 Dec 2012 21:42:37 +0100 Subject: [PATCH] Add props to access the locals / values --- de4dot.code/deobfuscators/ConstantsReader.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/de4dot.code/deobfuscators/ConstantsReader.cs b/de4dot.code/deobfuscators/ConstantsReader.cs index ffd1cb52..8326677f 100644 --- a/de4dot.code/deobfuscators/ConstantsReader.cs +++ b/de4dot.code/deobfuscators/ConstantsReader.cs @@ -31,6 +31,18 @@ namespace de4dot.code.deobfuscators { protected Dictionary localsValuesDouble = new Dictionary(); bool emulateConvInstrs; + public IEnumerable> Locals32 { + get { return localsValuesInt32; } + } + + public IEnumerable> Locals64 { + get { return localsValuesInt64; } + } + + public IEnumerable> LocalsDouble { + get { return localsValuesDouble; } + } + public interface IInstructions { int Count { get; } Instruction this[int index] { get; }