search for: hidestring

Displaying 1 result from an estimated 1 matches for "hidestring".

Did you mean: widestring
2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
...er()<<endl; for(Module::giterator gI = M->gbegin(),gE=M->gend();gI!=gE;++gI){ unsigned i=0; if(ConstantArray *Cstr = dyn_cast<ConstantArray>(gI->getInitializer())){ if(Cstr->getType()->getElementType()->isInteger()) { std::vector<Constant*> HideString; Constant *Key=ConstantInt::get(Cstr->getType()->getElementType(),randKey); for(unsigned i=0;i<Cstr->getNumOperands();++i){ HideString.push_back(ConstantExpr::getXor(Cstr->getOperand(i),randKey)); } gI->setInitializer(ConstantArray::get(Cstr->getType(),HideString));...