Example #1
0
 public RVA ToRVA(FOA foa)
 {
     foreach (SectionHeader sectionHeader in _sectionHeaders)
     {
         if (foa >= sectionHeader.RawAddress && foa < sectionHeader.RawAddress + sectionHeader.RawSize)
         {
             return(foa - sectionHeader.RawAddress + sectionHeader.VirtualAddress);
         }
     }
     return((RVA)foa);
 }
Example #2
0
 public RVA ToRVA(FOA foa) => (RVA)foa;
Example #3
0
 public RVA ToRVA(FOA foa)
 {
     return((RVA)foa);
 }