[2022]ollvm13.x vs2022 安装教程 huoji ollvm,llvm 2022-11-04 1783 次浏览 0 次点赞 ollvm这个编译器在2022拉闸了,这个教程教你咋装回去 原作者: @DrinkPositive 1. 给vs2022安装clang ![](https://key08.com/usr/uploads/2022/11/1802164555.png) 2.下载 下载老外编译好的ollvm 13.x !!!!注意这是老外编译的,不放心自己查毒!!!!!!!我不保证它一定没问题!!!!!!! https://mega.nz/file/NJMk2SgB#bBEZTFZFyxiBc1otOel1_SV57kcDaJ_758bYJlEAtqE 覆盖到这个地方: ```cpp C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin 不一定是C盘,安装到其他盘就是其他目录 ``` ![](https://key08.com/usr/uploads/2022/11/2387877644.png) 3.安装完后,给你的项目设置为llvm编译: ![](https://key08.com/usr/uploads/2022/11/1330367196.png) 然后设置对应的混淆命令行 ![](https://key08.com/usr/uploads/2022/11/1226771803.png) 最简单的: ```cpp -Xclang -flegacy-pass-manager -mllvm -sub -mllvm -split -mllvm -fla -mllvm -bcf ``` 这是所有选项: ```cpp -mllvm -sub: activate instructions substitution -mllvm -sub_loop=3: if the pass is activated, applies it 3 times on a function. Default: 1 -mllvm -bcf: activates the bogus control flow pass -mllvm -bcf_loop=3: if the pass is activated, applies it 3 times on a function. Default: 1 -mllvm -bcf_prob=40: if the pass is activated, a basic bloc will be obfuscated with a probability of 40%. Default: 30 -mllvm -fla: activates control flow flattening -mllvm -split: activates basic block splitting. Improve the flattening when applied together -mllvm -split_num=3: if the pass is activated, applies it 3 times on each basic block. Default: 1 ``` 这是效果图: ![](https://key08.com/usr/uploads/2022/11/923568534.png) IDA拉闸: ![](https://key08.com/usr/uploads/2022/11/465131637.png) 本文由 huoji 创作,采用 知识共享署名 3.0,可自由转载、引用,但需署名作者且注明文章出处。 点赞 0
还不快抢沙发