and it can't optimize malloc too much, or the undump magic fails. (thanks to kettenis@ for the second part)