Skip to content

Commit 42f742c

Browse files
committed
adjsut unsafe checks
1 parent 7f45f7d commit 42f742c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

BepInEx.Core/Bootstrap/BaseChainloader.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,12 @@ private static bool IsAssemblySafe(string assemblyPath)
486486
return false;
487487
}
488488

489+
// TODO: find a better way to detect malicious unsafe
490+
/*
489491
if (module.Attributes.Has(ModuleAttributes.ILOnly) == false)
490492
{
491493
return false;
492-
}
494+
}*/
493495

494496
if (!method.HasBody) continue;
495497

0 commit comments

Comments
 (0)