I use SVF to construct ICFG and try to analyze the basic blocks of each ICFGNode.
SVF-2.4 provides methods such as getBB(), getLLVMFun() to return llvm::BasicBlock and llvm::Function.
However, these methods are removed from SVF-2.7. (getBB() is not removed, but it returns SVFBasicBlock) In this case, how to get an llvm::Value (e.g., llvm::BasicBlock, llvm::Function, llvm::Instruction) from a SVFValue?
Hi,
I use SVF to construct ICFG and try to analyze the basic blocks of each ICFGNode.
SVF-2.4 provides methods such as getBB(), getLLVMFun() to return llvm::BasicBlock and llvm::Function.
However, these methods are removed from SVF-2.7. (getBB() is not removed, but it returns SVFBasicBlock) In this case, how to get an llvm::Value (e.g., llvm::BasicBlock, llvm::Function, llvm::Instruction) from a SVFValue?