def seg_start(ea): """Returns the start of the segment that ea belongs in.""" return idc.SegStart(ea)