ice cream cookie dough tends to contain no leavening (it's unnecessary if you're eating the dough straight), the flour is given a heat treatment to make it safe to eat straight, and the eggs are, of course, pasteurized.