We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
对比了一下别处的源码 发现有个小错误 导致不能使用 fla 选项
PreservedAnalyses FlatteningPass::run(Function& F, FunctionAnalysisManager& AM) { Function *tmp = &F; // 传入的Function // 判断是否需要开启控制流平坦化 if (toObfuscate(flag, tmp, "fla")) { // Lower switch LowerSwitchPass lower; lower.run(F, AM); #这里没有返回值导致的错误 if (flatten(F)) { ++Flattened; } return PreservedAnalyses::none(); } return PreservedAnalyses::all(); } bool FlatteningPass::flatten(Function &F){ ... fixStack(F); return true; #这里添加返回值 就可以使用fla了 }
Sorry, something went wrong.
感谢
Update Flattening.cpp
a7daada
#10 (comment)
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: