@Beta
    public boolean containsEntryPoint(SectionHeader header) {
        long ep = data.getOptionalHeader().get(
                StandardFieldEntryKey.ADDR_OF_ENTRY_POINT);
        long vStart = header.getAlignedVirtualAddress();
        long vSize = header.getAlignedVirtualSize();
        if (vSize == 0) {
            vSize = header.getAlignedSizeOfRaw();
        }
        long vEnd = vSize + vStart;
        return ep >= vStart && ep < vEnd;
    }
@ Beta public boolean containsEntryPoint ( SectionHeader header ) { long ep = data . getOptionalHeader ( ) . get ( StandardFieldEntryKey . ADDR_OF_ENTRY_POINT ) ; long vStart = header . getAlignedVirtualAddress ( ) ; long vSize = header . getAlignedVirtualSize ( ) ; if ( vSize == 0 ) { vSize = header . getAlignedSizeOfRaw ( ) ; } long vEnd = vSize + vStart ; return ep >= vStart && ep < vEnd ; }
Returns whether the section contains the entry point of the file.

@param header
the header of the section that may contain the entry point.
@return true if entry point is within the section, false otherwise