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