Skip to content

Commit

Permalink
remove non-used flag
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscator-llvm committed Dec 4, 2014
1 parent ef08f09 commit d358ac5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Transforms/Obfuscation/BogusControlFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ ObfProbRate("boguscf-prob", cl::desc("Choose the probability [%] each basic bloc
static cl::opt<int>
ObfTimes("boguscf-loop", cl::desc("Choose how many time the -bcf pass loop on a function"), cl::value_desc("number of times"), cl::init(defaultObfTime), cl::Optional);

static cl::opt<string>
FunctionName("funcBCF",cl::init(""),cl::desc("Bogus Control Flow only certain functions: -mllvm -func=\"func1,func2\""));

namespace {
struct BogusControlFlow : public FunctionPass {
static char ID; // Pass identification
Expand All @@ -129,8 +126,6 @@ namespace {
* to the function. See header for more details.
*/
virtual bool runOnFunction(Function &F){
std::string func = FunctionName;

// Check if the percentage is correct
if (ObfTimes <= 0) {
LLVMContext &ctx = llvm::getGlobalContext();
Expand Down

0 comments on commit d358ac5

Please sign in to comment.