Add method to find a section
This commit is contained in:
parent
3a9422f798
commit
d755780e7c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user