From 6f925abab7b3f3e67f9cfbbf0db8c3b72aaa10d2 Mon Sep 17 00:00:00 2001 From: de4dot Date: Sun, 20 Oct 2013 10:25:51 +0200 Subject: [PATCH] Make FindSection() public --- de4dot.code/deobfuscators/MyPEImage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de4dot.code/deobfuscators/MyPEImage.cs b/de4dot.code/deobfuscators/MyPEImage.cs index f933887e..a3661cea 100644 --- a/de4dot.code/deobfuscators/MyPEImage.cs +++ b/de4dot.code/deobfuscators/MyPEImage.cs @@ -73,7 +73,7 @@ namespace de4dot.code.deobfuscators { this.peStream = peImage.CreateFullStream(); } - ImageSectionHeader FindSection(RVA rva) { + public ImageSectionHeader FindSection(RVA rva) { foreach (var section in peImage.ImageSectionHeaders) { if (section.VirtualAddress <= rva && rva < section.VirtualAddress + Math.Max(section.VirtualSize, section.SizeOfRawData)) return section;