mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 05:37:06 +00:00
Valgrind's dependency on the dynamic linker for getting started, and instead takes things into its own hands. This checkin doesn't add much in the way of new functionality, but it is the basis for all future work on Valgrind. It allows us much more flexibility in implementation, and well as increasing the reliability of Valgrind by protecting it more from its clients. This patch requires some changes to tools to update them to the changes in the tool API, but they are straightforward. See the posting "Heads up: Full Virtualization" on valgrind-developers for a more complete description of this change and its effects on you. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2118
81 lines
2.9 KiB
Makefile
81 lines
2.9 KiB
Makefile
##---------------------------------------------------------------------------
|
|
## These test core error checking, eg. "silly values" for malloc/calloc,
|
|
## pthread errors (and suppressions), signal handling errors, invalid fds for
|
|
## blocking syscalls, etc.
|
|
##---------------------------------------------------------------------------
|
|
|
|
noinst_SCRIPTS = filter_stderr filter_fdleak
|
|
|
|
EXTRA_DIST = $(noinst_SCRIPTS) \
|
|
erringfds.stderr.exp erringfds.stdout.exp erringfds.vgtest \
|
|
fdleak_cmsg.stderr.exp fdleak_cmsg.vgtest \
|
|
fdleak_creat.stderr.exp fdleak_creat.vgtest \
|
|
fdleak_dup.stderr.exp fdleak_dup.vgtest \
|
|
fdleak_dup2.stderr.exp fdleak_dup2.vgtest \
|
|
fdleak_fcntl.stderr.exp fdleak_fcntl.vgtest \
|
|
fdleak_ipv4.stderr.exp fdleak_ipv4.stdout.exp fdleak_ipv4.vgtest \
|
|
fdleak_open.stderr.exp fdleak_open.vgtest \
|
|
fdleak_pipe.stderr.exp fdleak_pipe.vgtest \
|
|
fdleak_socketpair.stderr.exp fdleak_socketpair.vgtest \
|
|
pth_atfork1.stderr.exp pth_atfork1.stdout.exp pth_atfork1.vgtest \
|
|
pth_cancel2.stderr.exp pth_cancel2.vgtest \
|
|
pth_cvsimple.stderr.exp pth_cvsimple.stdout.exp pth_cvsimple.vgtest \
|
|
pth_empty.stderr.exp pth_empty.vgtest \
|
|
pth_exit.stderr.exp pth_exit.vgtest \
|
|
pth_mutexspeed.stderr.exp \
|
|
pth_mutexspeed.stdout.exp pth_mutexspeed.vgtest \
|
|
pth_once.stderr.exp pth_once.stdout.exp pth_once.vgtest \
|
|
sigkill.stderr.exp sigkill.vgtest \
|
|
res_search.stderr.exp res_search.stdout.exp res_search.vgtest \
|
|
vgprintf.stderr.exp vgprintf.stdout.exp vgprintf.vgtest
|
|
|
|
check_PROGRAMS = \
|
|
erringfds fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 \
|
|
fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe \
|
|
fdleak_socketpair sigkill res_search \
|
|
pth_atfork1 pth_cancel2 pth_cvsimple pth_empty \
|
|
pth_exit pth_mutexspeed pth_once \
|
|
as_mmap as_shm \
|
|
vgprintf
|
|
|
|
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O0 -I$(top_srcdir)/include
|
|
AM_CXXFLAGS = $(AM_CFLAGS)
|
|
|
|
vgprintf_SOURCES = vgprintf.c
|
|
|
|
# Client address space checks
|
|
as_mmap_SOURCES = as_mmap.c
|
|
as_shm_SOURCES = as_shm.c
|
|
|
|
# Leak tests
|
|
fdleak_cmsg_SOURCES = fdleak_cmsg.c
|
|
fdleak_creat_SOURCES = fdleak_creat.c
|
|
fdleak_dup_SOURCES = fdleak_dup.c
|
|
fdleak_dup2_SOURCES = fdleak_dup2.c
|
|
fdleak_fcntl_SOURCES = fdleak_fcntl.c
|
|
fdleak_ipv4_SOURCES = fdleak_ipv4.c
|
|
fdleak_open_SOURCES = fdleak_open.c
|
|
fdleak_pipe_SOURCES = fdleak_pipe.c
|
|
fdleak_socketpair_SOURCES = fdleak_socketpair.c
|
|
sigkill_SOURCES = sigkill.c
|
|
|
|
# Pthread ones
|
|
pth_atfork1_SOURCES = pth_atfork1.c
|
|
pth_atfork1_LDADD = -lpthread
|
|
pth_cancel2_SOURCES = pth_cancel2.c
|
|
pth_cancel2_LDADD = -lpthread
|
|
pth_cvsimple_SOURCES = pth_cvsimple.c
|
|
pth_cvsimple_LDADD = -lpthread
|
|
pth_empty_SOURCES = pth_empty.c
|
|
pth_empty_LDADD = -lpthread
|
|
pth_exit_SOURCES = pth_exit.c
|
|
pth_exit_LDADD = -lpthread
|
|
pth_mutexspeed_SOURCES = pth_mutexspeed.c
|
|
pth_mutexspeed_LDADD = -lpthread
|
|
pth_once_SOURCES = pth_once.c
|
|
pth_once_LDADD = -lpthread
|
|
res_search_SOURCES = res_search.c
|
|
res_search_LDADD = -lresolv -lpthread
|
|
|
|
|