Home | History | Annotate | Download | only in coregrind

Lines Matching refs:Spec

125    spec].
130 for spec in Specs {
131 sopatt = spec.soname pattern
132 fnpatt = spec.fnname pattern
133 redir = spec.redir addr
144 not part of the spec].
152 That completes the spec, apart from one difficult issue: duplicates.
219 spec can match an arbitrary number of times.
246 Bool mark; /* set if spec requires further processing */
247 Bool done; /* set if spec was successfully matched */
249 Spec;
260 Spec* specs; /* specs pulled out of seginfo */
284 TopSpec* parent_spec; /* the TopSpec which supplied the Spec */
324 /* spec list and the owning TopSpec */
325 Spec* specs,
393 Spec* specList;
394 Spec* spec;
506 specList = NULL; /* the spec list we're building up */
580 Otherwise, just ignore this redirection spec. */
619 spec = dinfo_zalloc("redir.rnnD.1", sizeof(Spec));
620 spec->from_sopatt = dinfo_strdup("redir.rnnD.2", demangled_sopatt);
621 spec->from_fnpatt = dinfo_strdup("redir.rnnD.3", demangled_fnpatt);
622 spec->to_addr = sym_avmas.main;
623 spec->isWrap = isWrap;
624 spec->becTag = becTag;
625 spec->becPrio = becPrio;
628 spec->next = specList;
629 spec->mark = False; /* not significant */
630 spec->done = False; /* not significant */
631 specList = spec;
673 for (spec = specList; spec; spec = spec->next)
674 if (0 == VG_(strcmp)(spec->from_sopatt, demangled_sopatt)
675 && 0 == VG_(strcmp)(spec->from_fnpatt, demangled_fnpatt))
677 if (spec)
779 /* spec list and the owning TopSpec */
780 Spec* specs,
787 Spec* sp;
1054 Spec* sp;
1055 Spec* sp_next;
1193 /* Add a never-delete-me Spec. This is a bit of a kludge. On the
1204 Spec* spec = dinfo_zalloc("redir.ahs.1", sizeof(Spec));
1219 spec->from_sopatt = CONST_CAST(HChar *,sopatt);
1220 spec->from_fnpatt = CONST_CAST(HChar *,fnpatt);
1221 spec->to_addr = to_addr;
1222 spec->isWrap = False;
1223 spec->mandatory = mandatory;
1225 spec->mark = False; /* not significant */
1226 spec->done = False; /* not significant */
1228 spec->next = topSpecs->specs;
1229 topSpecs->specs = spec;
1249 /* Initialise the redir system, and create the initial Spec list and
1676 // clone the spec, so we can stick a zero at the end of the sopatt
1677 HChar *spec = VG_(strdup)("m_redir.hrts.1", clo_spec);
1678 HChar sep = spec[0];
1679 HChar* sopatt = &spec[1];
1690 VG_(free)(spec);
1695 return; /* no applicable spec strings */
1709 /* For each spec, look through the syms to find one that matches.
1773 static void show_spec ( const HChar* left, const Spec* spec )
1778 spec->from_sopatt, spec->from_fnpatt,
1779 spec->isWrap ? "W" : "R",
1780 spec->becTag, spec->becPrio,
1781 spec->to_addr );
1810 Spec* sp;