Cook the spaghetti al dente, sauté the garlic in olive oil, add the chilli flakes, tomatoes (sun-drenched) and olives and fry a little. Stir in tomatoes and simmer for 7 minutes. Mix in the herbs, add the spaghetti to the sauce, let it steep for 1 minute and season to taste. Sprinkle with pecorino cheese before serving.