Home | History | Annotate | Download | only in coregrind

Lines Matching defs:Spec

118    spec].
123 for spec in Specs {
124 sopatt = spec.soname pattern
125 fnpatt = spec.fnname pattern
126 redir = spec.redir addr
137 not part of the spec].
145 That completes the spec, apart from one difficult issue: duplicates.
212 spec can match an arbitrary number of times.
233 Bool mark; /* set if spec requires further processing */
234 Bool done; /* set if spec was successfully matched */
236 Spec;
247 Spec* specs; /* specs pulled out of seginfo */
271 TopSpec* parent_spec; /* the TopSpec which supplied the Spec */
310 /* spec list and the owning TopSpec */
311 Spec* specs,
329 Spec* specList;
330 Spec* spec;
356 specList = NULL; /* the spec list we're building up */
380 spec = dinfo_zalloc("redir.rnnD.1", sizeof(Spec));
381 vg_assert(spec);
382 spec->from_sopatt = dinfo_strdup("redir.rnnD.2", demangled_sopatt);
383 spec->from_fnpatt = dinfo_strdup("redir.rnnD.3", demangled_fnpatt);
384 vg_assert(spec->from_sopatt);
385 vg_assert(spec->from_fnpatt);
386 spec->to_addr = sym_addr;
387 spec->isWrap = isWrap;
390 spec->next = specList;
391 spec->mark = False; /* not significant */
392 spec->done = False; /* not significant */
393 specList = spec;
411 for (spec = specList; spec; spec = spec->next)
412 if (0 == VG_(strcmp)(spec->from_sopatt, demangled_sopatt)
413 && 0 == VG_(strcmp)(spec->from_fnpatt, demangled_fnpatt))
415 if (spec)
517 /* spec list and the owning TopSpec */
518 Spec* specs,
525 Spec* sp;
712 Spec* sp;
713 Spec* sp_next;
849 /* Add a never-delete-me Spec. This is a bit of a kludge. On the
860 Spec* spec = dinfo_zalloc("redir.ahs.1", sizeof(Spec));
861 vg_assert(spec);
873 spec->from_sopatt = sopatt;
874 spec->from_fnpatt = fnpatt;
875 spec->to_addr = to_addr;
876 spec->isWrap = False;
877 spec->mandatory = mandatory;
879 spec->mark = False; /* not significant */
880 spec->done = False; /* not significant */
882 spec->next = topSpecs->specs;
883 topSpecs->specs = spec;
903 /* Initialise the redir system, and create the initial Spec list and
1225 HChar* spec = VG_(clo_req_tsyms)[i];
1226 vg_assert(spec && VG_(strlen)(spec) >= 4);
1227 // clone the spec, so we can stick a zero at the end of the sopatt
1228 spec = VG_(strdup)("m_redir.hrts.1", spec);
1229 HChar sep = spec[0];
1230 HChar* sopatt = &spec[1];
1240 VG_(free)(spec);
1244 return; /* no applicable spec strings */
1256 /* For each spec, look through the syms to find one that matches.
1310 static void show_spec ( HChar* left, Spec* spec )
1315 spec->from_sopatt, spec->from_fnpatt,
1316 spec->isWrap ? "W" : "R",
1317 (ULong)spec->to_addr );
1341 Spec* sp;