code: def generate_ep_signature(self, pe, name, sig_length=512):
          
  
          offset = pe.get_offset_from_rva(pe.OPTIONAL_HEADER.AddressOfEntryPoint)
  
          return self.__generate_signature(
              pe, offset, name, ep_only=True, sig_length=sig_length)
docs: Generate signatures for the entry point of a PE file.
  
          Creates a signature whose name will be the parameter 'name'
          and the section number and its name.