dotfuscator并行优化? [英] dotfuscator parallel optimization?

查看:153
本文介绍了dotfuscator并行优化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司采用Dotfuscator我们的.NET应用程序混淆。它的伟大工程,但我注意到这是在我们的构建过程单线程操作。 Dotfuscator.exe始终是我们的8个核心构建机器的单核运行,这让我哭了一点进去。

My company uses Dotfuscator for our .NET application obfuscation. It works great, however I noticed it's a single threaded operation during our build process. Dotfuscator.exe is always running on a single core of our 8 core build machine and it makes me cry a little inside.

有一些魔法使之运行多一点平行?魔术/ MPgogogo标志? Bueller?

Is there some magic to make it run a little more paralleled? Magic /MPgogogo flag? Bueller?

推荐答案

这是可悲的,但它的几乎所有单线程(我在这一个开发者)。这还不算支持并行运行Dotfuscator的多个实例..居多。

It's sad, but it's almost all single threaded (I'm a developer on it). It also isn't supported to run multiple instances of Dotfuscator in parallel.. mostly.

如果您有需要模糊处理多个独立的组件/可执行文件,您可以运行Dotfuscator的多个实例(使用单独的命令行或课程的配置文件),但通过使用一个有点无证伎俩。

If you have multiple separate assemblies/executables that need obfuscated, you can run multiple instances of Dotfuscator(using separate command lines or configuration files of course) though by using a bit of an undocumented trick.

如果你去 C:\ Program Files文件(x86)的\ preEmptive解决方案你会看到你的Dotfuscator目录。 (我的是 Dotfuscator专业版4.9 )可以使该目录拷贝到其他目录。因此,举例来说,如果您做了2份该目录为 C:\ Dotfuscator1 C:\ Dotfuscator2 ,那么您可以在并行,没有他们踩着对方的脚每个目录中运行的每一个这两个 dotfuscator.exe 可执行文件。我不会说这是支持,但它的应该的工作完美无缺。

If you go to C:\Program Files(x86)\PreEmptive Solutions you'll see your Dotfuscator directory. (Mine is Dotfuscator Professional 4.9) You can make a copy of that directory to some other directory. So, for example, if you made 2 copies of that directory into C:\Dotfuscator1 and C:\Dotfuscator2, then you can run each of those two dotfuscator.exe executables in each directory in parallel without them stepping on each other's feet. I won't say it's "supported", but it should work flawlessly.

此外,你需要两个文件复制到你的程序文件复制的两个文件夹。第一个文件位于围绕 C:\ Users \用户提供yourname \应用程序数据\本地\ preEmptive解决方案\ Dotfuscator专业版\ 4.0 。该文件被命名为 dfusrprf.xml 。只要复制它在同一文件夹中的每个 dotfuscator.exe 。下一个文件是 C:\ ProgramData \ preEmptive解决方案\ Dotfuscator专业版\ 4.0 应该叫做 dotfuscator.dat。这应该被复制到相同的位置 dfusrprf.xml`

Also, you'll need to copy two files into the two folders you copied from Program Files. The first file is located around C:\Users\YourName\AppData\Local\PreEmptive Solutions\Dotfuscator Professional Edition\4.0. The file is named dfusrprf.xml. Just copy it to be in the same folder as each dotfuscator.exe. The next file is in C:\ProgramData\PreEmptive Solutions\Dotfuscator Professional Edition\4.0 and should be called dotfuscator.dat. This should be copied to the same location asdfusrprf.xml`

有了这一切到位,Dotfuscator的两个实例应该运行正常并行。请注意,有超过少数情况下这样做会导致你需要大量的内存。在大项目Dotfuscator可以采取(如在一个多演出)大量的内存

With all of this in place, the two instances of Dotfuscator should run fine in parallel. Note that doing this with more than a few instances will cause you to need a lot of memory. On big programs Dotfuscator can take a large amount of memory(as in more than a gig)

这篇关于dotfuscator并行优化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆