code: def dump(self):
          
          for seg in self.seglist:
              print("==== %08x-%08x" % (seg.startea, seg.endea))
              if seg.endea - seg.startea < 30:
                  for ea in range(seg.startea, seg.endea):
                      print("    %08x: %08x" % (ea, self.getFlags(ea)))
              else:
                  for ea in range(seg.startea, seg.startea + 10):
                      print("    %08x: %08x" % (ea, self.getFlags(ea)))
                  print("...")
                  for ea in range(seg.endea - 10, seg.endea):
                      print("    %08x: %08x" % (ea, self.getFlags(ea)))
docs: print first and last bits for each segment