mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-05 19:13:46 +00:00
matching, in the function VG_(generic_match). Patterns to be matched against may contain only '*'-style wildcards (matches any number of elements, we don't care what they are), '?' wildcards (matches exactly one element, we don't care what it is) and literal elements. It is totally abstractified, in the sense that the pattern and input arrays may be arrays of anything. The caller provides enough information so that VG_(generic_match) can step along both arrays, and can ask the questions "is this pattern element a '*' ?", "is this pattern element a '?' ?", and "does this pattern element match an input element ?". The existing function VG_(string_match) is reimplemented using VG_(generic_match), although the ability to escape metacharacters in the pattern string is removed -- I don't think it was ever used. In m_errormgr, matching of suppression stacks (including wildcard "..." lines) against error stacks is re-implemented using VG_(generic_match). Further detailed comments are in m_seqmatch.h and pub_tool_seqmatch.h. A negative side effect is that VG_(string_match) will be much slower than before, due to the abstractification. It may be necessary to reimplement a specialised version later. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8816
40 lines
875 B
Makefile
40 lines
875 B
Makefile
|
|
SUBDIRS = vki
|
|
|
|
incincdir = $(includedir)/valgrind
|
|
|
|
incinc_HEADERS = \
|
|
pub_tool_basics.h \
|
|
pub_tool_basics_asm.h \
|
|
pub_tool_aspacemgr.h \
|
|
pub_tool_clientstate.h \
|
|
pub_tool_clreq.h \
|
|
pub_tool_cpuid.h \
|
|
pub_tool_debuginfo.h \
|
|
pub_tool_errormgr.h \
|
|
pub_tool_execontext.h \
|
|
pub_tool_hashtable.h \
|
|
pub_tool_libcbase.h \
|
|
pub_tool_libcassert.h \
|
|
pub_tool_libcfile.h \
|
|
pub_tool_libcprint.h \
|
|
pub_tool_libcproc.h \
|
|
pub_tool_libcsignal.h \
|
|
pub_tool_machine.h \
|
|
pub_tool_mallocfree.h \
|
|
pub_tool_options.h \
|
|
pub_tool_oset.h \
|
|
pub_tool_redir.h \
|
|
pub_tool_replacemalloc.h \
|
|
pub_tool_seqmatch.h \
|
|
pub_tool_signals.h \
|
|
pub_tool_sparsewa.h \
|
|
pub_tool_stacktrace.h \
|
|
pub_tool_threadstate.h \
|
|
pub_tool_tooliface.h \
|
|
pub_tool_vki.h \
|
|
pub_tool_vkiscnums.h \
|
|
pub_tool_wordfm.h \
|
|
pub_tool_xarray.h \
|
|
valgrind.h
|