Returns the callees of the function with name 'fn_name'. Returns NULL if the function is not found in the call graph.
| 38 | /// Returns the callees of the function with name 'fn_name'. |
| 39 | /// Returns NULL if the function is not found in the call graph. |
| 40 | const boost::unordered_set<std::string>* GetCallees(const std::string& fn_name) const { |
| 41 | DCHECK(inited_); |
| 42 | CallGraph::const_iterator iter = call_graph_.find(fn_name); |
| 43 | return LIKELY(iter != call_graph_.end()) ? &iter->second : nullptr; |
| 44 | } |
| 45 | |
| 46 | /// Returns the set of functions referenced by global variables in 'module' |
| 47 | const boost::unordered_set<std::string>& fns_referenced_by_gv() const { |
no test coverage detected