create a SVFBasicBlock according to LLVM BasicBlock, then add it to SVFFunction's BasicBlockGraph
| 230 | |
| 231 | // create a SVFBasicBlock according to LLVM BasicBlock, then add it to SVFFunction's BasicBlockGraph |
| 232 | inline void addBasicBlock(FunObjVar* fun, const BasicBlock* bb) |
| 233 | { |
| 234 | SVFBasicBlock* svfBB = fun->getBasicBlockGraph()->addBasicBlock(bb->getName().str()); |
| 235 | LLVMBB2SVFBB[bb] = svfBB; |
| 236 | SVFBaseNode2LLVMValue[svfBB] = bb; |
| 237 | } |
| 238 | |
| 239 | inline void addInstructionMap(const Instruction* inst, CallICFGNode* svfInst) |
| 240 | { |
no test coverage detected