@wtfsck Is this PR(#428) right?
public ImageSectionHeader ToImageSectionHeader(RVA rva) {
uint alignment = imageNTHeaders.OptionalHeader.SectionAlignment;
foreach (var section in imageSectionHeaders) {
if (rva >= section.VirtualAddress && rva < section.VirtualAddress + DotNet.Utils.AlignUp(section.VirtualSize, alignment))
return section;
}
return null;
}
As you can see, if VirtualSize = 0, this PR by @wwh1004 can't find anything, but the previous code work fine.

@wtfsck Is this PR(#428) right?
As you can see, if VirtualSize = 0, this PR by @wwh1004 can't find anything, but the previous code work fine.
