-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unknown type/methods in core dumps. (#2442)
Fixes some of the issues in #2375 The problem is that the image mapping memory service didn't convert the rva from a loaded layout calculated from the in-memory module to the file layout (the PEReader with the downloaded image). On Windows, images (native or managed) are always loaded layout so return false in IModule.IsFileLayout without calling GetPEInfo() to avoid the recursion that broken getting the info about coreclr.dll. It turns out that the heap dumps generated on Windows don't have the image in-memory. Don't get module version in GetPEInfo() to determine the layout. Cleanup. Skip relocations that span cache blocks. This happens very rarely and should not affect anything unless we get really really unlucky.
- Loading branch information
Showing
6 changed files
with
135 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.