jbevain/cecil — Issue #86: ImageWriter ctor inits pe64 field too late
Author: 0xd4d
Created: 2012-01-10 06:26:30+00:00
State: open

Code: https://github.com/jbevain/cecil/blob/master/Mono.Cecil.PE/ImageWriter.cs#L78

BuildTextMap() depends on pe64 being initialized but pe64 is initialized after BuildTextMap() returns.

https://github.com/jbevain/cecil/blob/master/Mono.Cecil.PE/ImageWriter.cs#L673
and
https://github.com/jbevain/cecil/blob/master/Mono.Cecil.PE/ImageWriter.cs#L698