def get_search_keywords(testcase):
  """Get search keywords for a testcase."""
  crash_state_lines = testcase.crash_state.splitlines()
  # Use top 2 frames for searching.
  return crash_state_lines[:2]