Displaying 1 result from an estimated 1 matches for "dismainbb".
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...ue index for
each.
BBindexBBMap indexBBMap;
unsigned firstBBIndex = IndexSourceBasicBlocks( currFunction, indexBBMap
);
// Create basic blocks for initialization and dispatching.
BasicBlock* disInitBB = CreateNewEntryBlock( "dispatcher_init",
oldEntryBB );
BasicBlock* disMainBB = new BasicBlock( "dispatcher_main",
&currFunction, oldEntryBB );
// Add instructions that allocate and initialize the dispatcher's state
variable
// to the initialization block.
AllocaInst* statePtr = new AllocaInst( Type::UIntTy, 0, "state",
disInitBB )...