Displaying 1 result from an estimated 1 matches for "idxbbpair".
Did you mean:
idxmbbpair
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...// between the basic blocks depending on the state variable's value.
LoadInst* loadState = new LoadInst( statePtr, "next", disMainBB );
SwitchInst* switchInst = new SwitchInst( loadState, oldEntryBB,
unsigned( indexBBMap.size() ), disMainBB );
for( BBindexBBMap::iterator idxBBPair = indexBBMap.begin(); idxBBPair !=
indexBBMap.end(); idxBBPair++ )
{
switchInst->addCase( ConstantUInt::get( Type::UIntTy,
idxBBPair->second ), idxBBPair->first );
}
// Unlink all source basic blocks and relink them to the dispatcher's
main block.
for( BBindexB...