Don't ignore mixed mode assemblies
This commit is contained in:
parent
212a89c341
commit
4d8eb601f2
|
@ -134,18 +134,9 @@ namespace de4dot.cui {
|
||||||
CreateDestinationDir = !onlyScan,
|
CreateDestinationDir = !onlyScan,
|
||||||
});
|
});
|
||||||
|
|
||||||
bool ignoreNativeCodeFiles = !onlyScan;
|
foreach (var file in loader.load())
|
||||||
foreach (var file in loader.load()) {
|
|
||||||
if (ignoreNativeCodeFiles) {
|
|
||||||
if ((file.ModuleDefinition.Attributes & ModuleAttributes.ILOnly) == 0) {
|
|
||||||
Log.w("Ignoring assembly with native code {0}", file.Filename);
|
|
||||||
removeModule(file.ModuleDefinition);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yield return file;
|
yield return file;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
class DotNetFileLoader {
|
class DotNetFileLoader {
|
||||||
Options options;
|
Options options;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user