Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jbevain@gmail.com>2017-02-21 19:34:51 +0300
committerGitHub <noreply@github.com>2017-02-21 19:34:51 +0300
commitbda6b506c84afc23ebf13687f1adbf1464e27499 (patch)
treed3208639708ca0366ae2e965873126335b83a6cb /Mono.Cecil.PE/ImageReader.cs
parent7f2ea29930f3d7ea771411eff4a23c9f7c18c272 (diff)
parent2c43e7d803d818b9d3824755b62d8891a1126f39 (diff)
Merge pull request #333 from rolfbjarne/preserve-pe-timestamps
Preserve PE timestamps.
Diffstat (limited to 'Mono.Cecil.PE/ImageReader.cs')
-rw-r--r--Mono.Cecil.PE/ImageReader.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mono.Cecil.PE/ImageReader.cs b/Mono.Cecil.PE/ImageReader.cs
index fc6b4fc..6115f37 100644
--- a/Mono.Cecil.PE/ImageReader.cs
+++ b/Mono.Cecil.PE/ImageReader.cs
@@ -70,10 +70,11 @@ namespace Mono.Cecil.PE {
ushort sections = ReadUInt16 ();
// TimeDateStamp 4
+ image.TimeStamp = ReadUInt32 ();
// PointerToSymbolTable 4
// NumberOfSymbols 4
// OptionalHeaderSize 2
- Advance (14);
+ Advance (10);
// Characteristics 2
ushort characteristics = ReadUInt16 ();