Open tmat opened 8 years ago
See skipped test PEReaderTests.SubStream.
Be warned: This is rather tricky. You have to be careful about allocation lifetime, memory mapping, etc.
@tmat I bulk edited disabled tests to 2.0. Does this one actually need fixing in 2.0? It sounds like an enhancement. Can you change milestone if appropraite?
As a by-product reading PE headers from non-zero position in the stream would just work. Currently it's broken.
When would the position be non-zero?
This is a minor refactoring task that appears valid but low priority.
PEHeaders are currently decoded using (customized) BinaryReader while the rest of the PE file is read using blob readers. We should use blob readers everywhere to avoid doing things in two different ways. As a by-product reading PE headers from non-zero position in the stream would just work. Currently it's broken.