let get_both_dpds pdg n =
  filter_nodes (Pdg.get_all_direct_codpds pdg n @ Pdg.get_all_direct_dpds pdg n)