diff --git a/blocks/PE/PeImage.cs b/blocks/PE/PeImage.cs index bcffc64c..7da82744 100644 --- a/blocks/PE/PeImage.cs +++ b/blocks/PE/PeImage.cs @@ -67,6 +67,14 @@ namespace de4dot.PE { init(); } + public SectionHeader findSection(string displayName) { + foreach (var section in sectionHeaders) { + if (section.displayName == displayName) + return section; + } + return null; + } + void seek(uint position) { reader.BaseStream.Position = position; }