Skip to content

Commit

Permalink
Lib: increase v27 module count sanity limit
Browse files Browse the repository at this point in the history
  • Loading branch information
SamboyCoding committed Feb 16, 2023
1 parent 9e22967 commit f87ccd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibCpp2IL/BinarySearcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ internal ulong FindCodeRegistrationPost2019()
else
{
//but in v27 it's close to the LAST codegen module (winrt.dll is an exception), so we need to work back until we find an xref.
var sanityCheckNumberOfModules = 250;
var sanityCheckNumberOfModules = 400;
var pSomewhereInCodegenModules = pMscorlibCodegenEntryInCodegenModulesList.AsEnumerable();
var numModuleDefs = LibCpp2IlMain.TheMetadata!.imageDefinitions.Length;
var initialBacktrack = numModuleDefs - 10;
Expand Down

0 comments on commit f87ccd1

Please sign in to comment.