def find_segment(self, ea):
        """ do a linear search for the given address in the segment list """
        for seg in self.seglist:
            if seg.startea <= ea < seg.endea:
                return seg
def find_segment ( self , ea ) : for seg in self . seglist : if seg . startea <= ea < seg . endea : return seg
do a linear search for the given address in the segment list