Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Update FunctionWrapper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Naville authored Mar 16, 2019
1 parent d96c4d1 commit 70c5a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/Obfuscation/FunctionWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct FunctionWrapper : public ModulePass {
// FIXME: Correctly Steal Function Attributes
//func->addFnAttr(Attribute::AttrKind::OptimizeNone);
//func->addFnAttr(Attribute::AttrKind::NoInline);
func->copyAttributesFrom(cast<Function>(calledFunction));
//func->copyAttributesFrom(cast<Function>(calledFunction));
func->setDSOLocal(true);
BasicBlock *BB = BasicBlock::Create(func->getContext(), "", func);
IRBuilder<> IRB(BB);
Expand Down

0 comments on commit 70c5a82

Please sign in to comment.