':class:`list`: List of all segments which are executable.
See:
:attr:`.ELF.segments`'

@property
def executable_segments(self):

    if (not self.nx):
        return list(self.segments)
    return [s for s in self.segments if (s.header.p_flags & P_FLAGS.PF_X)]
