Nor so sure that a dog, even if starving, would eat the dead body, but cats would.
If the rats don’t get there first.
The first parts of you to go are the moist and apparently delectable lips and eyelids, and they move on from there. I definitely recommend keeping dry food containers loosely covered on a counter where Fluffy can push them to the floor where they spill their contents and provide a few days of margin before your eyelids and lips become lunch.