The only used variant (hasFunction) is used by the disassembler to
determine whether to fall back to unsafe heuristics for finding the
entry. It is not really obvious why such a thing would ever come up for
one of the other types.
std::map<uint64_t, Function*>::const_iterator endFunctions();
BasicBlock* getBasicBlock(uint64_t address);
std::map<uint64_t, Function*>::const_iterator endFunctions();
BasicBlock* getBasicBlock(uint64_t address);
- bool hasBasicBlocks() const {return blocks.size() != 0;}
std::map<uint64_t, BasicBlock*>::const_iterator beginBasicBlocks();
std::map<uint64_t, BasicBlock*>::const_iterator endBasicBlocks();
std::map<uint64_t, BasicBlock*>::const_iterator beginBasicBlocks();
std::map<uint64_t, BasicBlock*>::const_iterator endBasicBlocks();
std::multimap<uint64_t, Comment*>::const_iterator,
std::multimap<uint64_t, Comment*>::const_iterator>
getComments(uint64_t address);
std::multimap<uint64_t, Comment*>::const_iterator,
std::multimap<uint64_t, Comment*>::const_iterator>
getComments(uint64_t address);
- bool hasComments() const {return ! comments.empty();}
std::multimap<uint64_t,Comment*>::const_iterator beginComments();
std::multimap<uint64_t,Comment*>::const_iterator endComments();
std::multimap<uint64_t,Comment*>::const_iterator beginComments();
std::multimap<uint64_t,Comment*>::const_iterator endComments();