Cached restored files and their logs after the force shutdown (crash). Where are they? Where can I find the cached files or logs from which Mac OS X restores to its current position after the force shutdown (hard freeze problem)?

Moreover, same question with Google Chrome: from where does it restore previous tabs after the crash?

Thank you in advance.
Some of the files used in restoring applications are located at ~/Library/Saved Application State. These files are updated while an application is running, and if it crashes they are used by the system to restore it (if the application crashes during the restore process, OS X offers to discard the saved state when relaunching a second time).

But some applications such as Chrome store more information elsewhere. Chrome stores your open tabs and other data in
~/Library/Application Support/Google/Chrome/Default. There I see files such as Last Session and Last Tabs. (For comparison, Safari uses ~/Library/Safari/LastSession.plist.)