message: Fix implementation of call_sites
diff: @@ -1078,24 +1078,10 @@ impl RadecoFunction {
  }
  pub fn call_sites(&self, call_graph: &CallGraph) -> Vec<CallContextInfo> {
  - let indices = self.call_refs(call_graph);
  - indices.into_iter().map(|idx| {
  - let context_opt = call_graph.edges_directed(idx, Direction::Outgoing)
  + call_graph.edges_directed(self.cgid, Direction::Outgoing)
  .into_iter()
  .map(|e| e.weight().clone())
  - .next();
  - match context_opt {
  - Some(context) => context,
  - None => {
  - radeco_warn!("No CallContextInfo found @ {:}", idx);
  - CallContextInfo {
  - map: Vec::new(),
  - csite_node: idx,
  - csite: *call_graph.node_weight(idx).unwrap_or(&0),
  - }
  - },
  - }
  - }).collect::<Vec<_>>()
  + .collect()
  }
  pub fn call_refs(&self, call_graph: &CallGraph) -> Vec<NodeIndex> {
  