bluesadi / Pluto

Obfuscator based on LLVM 14.0.6
809 stars 181 forks source link

是时候升级到 New Pass Manager 了 #42

Open TheDivisibly opened 1 year ago

TheDivisibly commented 1 year ago

首先当然是插件形式更加方便使用,其次是 Legacy Pass 目前已经废弃的事实 而且New Pass Manager并不难适配 这个Issue( https://github.com/bluesadi/Pluto-Obfuscator/issues/6 )里面也有提到过相关教程 我自己也尝试移植了一份(https://github.com/TheDivisibly/Pluto-Obfuscator/tree/NewPassManager_port) 经过测试除了Bogus 和 Trap 会出问题之外 别的 功能基本上都能正常在我的测试用例下面正常工作 除了参数配置需要额外考虑之外好像没有需要特别考虑的了

M0n7y5 commented 1 year ago

Unfortunately your new past port causes crashes and huge memory leaks ... at least when compiled with latest LLVM version. As for plugin itself. It doesn't accept arguments for passes for unknown reasons.