| 90 | cbm_impact_walk_hit(w,previously_reached)==NULL && !cbm_impact_walk_reached(w,previously_reached); |
| 91 | } |
| 92 | static bool ss_hit(const cbm_impact_hit_t *h,int64_t id,int hop,int64_t via,const char *edge,const char *qn) { |
| 93 | return h && h->id==id && h->hop==hop && h->via_id==via && |
| 94 | (edge ? ss_eq(h->via_edge,edge) : h->via_edge==NULL) && ss_eq(h->qualified_name,qn) && ss_eq(h->label,"Function"); |
| 95 | } |
| 96 | static bool ss_golden(cbm_impact_walk_t *w,const ss_ids_t *id,bool lifted) { |
| 97 | int count=cbm_impact_walk_count(w); const cbm_impact_hit_t *h=cbm_impact_walk_hits(w); |
| 98 | bool ok=count==(lifted?6:4) && h && |