/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/PEReader.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/PEReader.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/06/10 07:25:26	376
+++ trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/06/10 07:55:18	377
@@ -651,12 +651,14 @@
         public string Name { get; private set; }
         private uint _Address;
         public string Address { get { return string.Format("0x{0:x8}", _Address); } }
+        public string AddressEnd { get { return string.Format("0x{0:x8}", _Address + Data.Count()); } }
         private int _PointerToData;
         public string PointerToData { get { return string.Format("0x{0:x8}", _PointerToData); } }
         public byte[] Data { get; set; }
+        public string DataSize { get { return string.Format("0x{0:x8}",Data.Count()); } }
         public override string ToString()
         {
-            return string.Format("{0} ({1}) ({2}) {3}", Name, Address, PointerToData, Data.Count());
+            return string.Format("{0} ({1}) ({2}) {3}", Name, Address, AddressEnd, DataSize);
         }
     }
     #endregion

 

  ViewVC Help
Powered by ViewVC 1.1.22