Further improvements for R2RDump robustness in the presence of bugs (dotnet/coreclr...
authorTomáš Rylek <trylek@microsoft.com>
Tue, 14 May 2019 16:40:46 +0000 (09:40 -0700)
committerGitHub <noreply@github.com>
Tue, 14 May 2019 16:40:46 +0000 (09:40 -0700)
commit2d3d8b03c82f7e9971c2690ba4d446f835996039
tree069c323bf2443d4173ebf7bc1daffd21984e8f9b
parent5f54808f15e3b3b5259b3309d508b1e492e01ab7
Further improvements for R2RDump robustness in the presence of bugs (dotnet/coreclr#24429)

Based on JanV's suggestion I have added checks for token ranges
to MetadataNameFormatter to make it resilient towards invalid
tokens.

Thanks

Tomas

Commit migrated from https://github.com/dotnet/coreclr/commit/e3227026f99b149f6f02afef5896306b7cd38270
src/coreclr/src/tools/r2rdump/DisassemblingTypeProvider.cs
src/coreclr/src/tools/r2rdump/R2RSignature.cs