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); }
public RVA ToRVA(FOA foa) => (RVA)foa;
public RVA ToRVA(FOA foa) { return((RVA)foa); }