public:
typedef std::vector<std::pair<BlockEdge, const ExplodedNode*> >
- BlocksAborted;
+ BlocksExhausted;
private:
SubEngine& SubEng;
/// The locations where we stopped doing work because we visited a location
/// too many times.
- BlocksAborted blocksAborted;
+ BlocksExhausted blocksExhausted;
void generateNode(const ProgramPoint& Loc, const GRState* State,
ExplodedNode* Pred);
ExplodedNodeSet &Dst);
// Functions for external checking of whether we have unfinished work
- bool wasBlockAborted() const { return !blocksAborted.empty(); }
+ bool wasBlockAborted() const { return !blocksExhausted.empty(); }
bool hasWorkRemaining() const { return wasBlockAborted() || WList->hasWork(); }
WorkList *getWorkList() const { return WList; }
- BlocksAborted::const_iterator blocks_aborted_begin() const {
- return blocksAborted.begin();
+ BlocksExhausted::const_iterator blocks_aborted_begin() const {
+ return blocksExhausted.begin();
}
- BlocksAborted::const_iterator blocks_aborted_end() const {
- return blocksAborted.end();
+ BlocksExhausted::const_iterator blocks_aborted_end() const {
+ return blocksExhausted.end();
}
};
D->getLocation());
// Emit warning for each block we bailed out on
- typedef CoreEngine::BlocksAborted::const_iterator AbortedIterator;
+ typedef CoreEngine::BlocksExhausted::const_iterator AbortedIterator;
const CoreEngine &CE = Eng.getCoreEngine();
for (AbortedIterator I = CE.blocks_aborted_begin(),
E = CE.blocks_aborted_end(); I != E; ++I) {
CFGReverseBlockReachabilityAnalysis *CRA = AC->getCFGReachablityAnalysis();
// Test for reachability from any aborted blocks to this block
- typedef CoreEngine::BlocksAborted::const_iterator AbortedIterator;
+ typedef CoreEngine::BlocksExhausted::const_iterator AbortedIterator;
for (AbortedIterator I = CE.blocks_aborted_begin(),
E = CE.blocks_aborted_end(); I != E; ++I) {
const BlockEdge &BE = I->first;
for (llvm::SmallVectorImpl<ExplodedNode*>::const_iterator
I = nodeBuilder.sinks().begin(), E = nodeBuilder.sinks().end();
I != E; ++I) {
- blocksAborted.push_back(std::make_pair(L, *I));
+ blocksExhausted.push_back(std::make_pair(L, *I));
}
}