update valgrind

This commit is contained in:
2022-12-11 04:08:49 +02:00
parent bedfb10e1f
commit a342722185
12 changed files with 234 additions and 804 deletions

View File

@@ -2,47 +2,53 @@
# $FreeBSD: head/devel/valgrind/Makefile 493761 2019-02-24 13:56:44Z novel $
PORTNAME= valgrind
PORTVERSION= 3.10.1.20160113
DISTVERSIONPREFIX= freebsd-
PORTVERSION= 3.20.0
#DISTVERSIONPREFIX= freebsd-
CATEGORIES= devel
MASTER_SITES+= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MASTER_SITES+= http://mirror.shatow.net/freebsd/${PORTNAME}/
#MASTER_SITES+= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
#MASTER_SITES+= http://mirror.shatow.net/freebsd/${PORTNAME}/
MASTER_SITES= SOURCEWARE/valgrind
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Memory debugging and profiling tool
BB_COMMIT= ce1acb28953f
BB_ACCOUNT= stass
BB_PROJECT= valgrind-freebsd
ONLY_FOR_ARCHS= amd64 i386
#BB_COMMIT= ce1acb28953f
#BB_ACCOUNT= stass
#BB_PROJECT= valgrind-freebsd
ONLY_FOR_ARCHS= i386 amd64
BUILD_DEPENDS= docbook-xsl>=0:text/docbook-xsl xsltproc:text/libxslt
USES= pathfix pkgconfig gmake perl5 shebangfix autoreconf
USES= pathfix pkgconfig gmake perl5 shebangfix autoreconf tar:bz2
USE_PERL5= build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
SHEBANG_FILES= callgrind/callgrind_annotate.in callgrind/callgrind_control.in
EXTRA_PATCHES+= ${FILESDIR}/accept4_syscall.patch:-p1
EXTRA_PATCHES+= ${FILESDIR}/jail_syscalls.patch:-p1
EXTRA_PATCHES+= ${FILESDIR}/kldload_syscalls.patch:-p1
EXTRA_PATCHES+= ${FILESDIR}/missing_fcntls.patch:-p1
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
CONFIGURE_ENV+= ac_cv_path_PERL=${PERL}
SSP_UNSAFE= yes
LIB32_PATH?= /usr/lib32/libc.so
#EXTRA_PATCHES+= ${FILESDIR}/accept4_syscall.patch:-p1
#EXTRA_PATCHES+= ${FILESDIR}/jail_syscalls.patch:-p1
#EXTRA_PATCHES+= ${FILESDIR}/kldload_syscalls.patch:-p1
#EXTRA_PATCHES+= ${FILESDIR}/missing_fcntls.patch:-p1
#WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
PLIST= ${PKGDIR}/pkg-plist.${ARCH}
.include <bsd.port.options.mk>
.if ${OSVERSION} > 1200030
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ino64:-p1
.endif
#.if ${OSVERSION} > 1200030
#EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ino64:-p1
#.endif
.if ${ARCH} == "amd64"
CONFIGURE_ARGS+= --enable-only64bit

View File

@@ -1,2 +1,3 @@
SHA256 (valgrind-freebsd-3.10.1.20160113.tar.gz) = b580fcacf06befce33a4ba4badaa346b5e57c25774f62af38488dec6ad01eb8c
SIZE (valgrind-freebsd-3.10.1.20160113.tar.gz) = 12084614
TIMESTAMP = 1670723927
SHA256 (valgrind-3.20.0.tar.bz2) = 8536c031dbe078d342f121fa881a9ecd205cb5a78e639005ad570011bdb9f3c6
SIZE (valgrind-3.20.0.tar.bz2) = 16469274

View File

@@ -1,56 +0,0 @@
# HG changeset patch
# User Bitbucket <noreply@bitbucket.org>
# Date 0 0
# Node ID af5523fe25247f537884116bd37e8ce171ba837e
# Parent ce1acb28953fd6928ccb8f9511e374eab66e8625
# Parent 22cf2727f838e9f5efaeba377341c3807d74dbdb
Merge preview of source (22cf2727f838e9f5efaeba377341c3807d74dbdb) to destination (ce1acb28953fd6928ccb8f9511e374eab66e8625).
diff -r ce1acb28953fd6928ccb8f9511e374eab66e8625 -r af5523fe25247f537884116bd37e8ce171ba837e coregrind/m_syswrap/syswrap-freebsd.c
--- a/coregrind/m_syswrap/syswrap-freebsd.c
+++ b/coregrind/m_syswrap/syswrap-freebsd.c
@@ -480,6 +480,23 @@
SET_STATUS_from_SysRes(r);
}
+PRE(sys_accept4)
+{
+ *flags |= SfMayBlock;
+ PRINT("sys_accept4 ( %ld, %#lx, %ld, %ld)",ARG1,ARG2,ARG3,ARG4);
+ PRE_REG_READ4(long, "accept4",
+ int, s, struct sockaddr *, addr, int, *addrlen, int, flags);
+ ML_(generic_PRE_sys_accept)(tid, ARG1,ARG2,ARG3);
+}
+POST(sys_accept4)
+{
+ SysRes r;
+ vg_assert(SUCCESS);
+ r = ML_(generic_POST_sys_accept)(tid, VG_(mk_SysRes_Success)(RES),
+ ARG1,ARG2,ARG3);
+ SET_STATUS_from_SysRes(r);
+}
+
PRE(sys_sendto)
{
*flags |= SfMayBlock;
@@ -4307,7 +4324,8 @@
BSDXY(__NR___semctl, sys___semctl), // 510
BSDXY(__NR_shmctl, sys_shmctl), // 512
-
+
+ BSDXY(__NR_accept4, sys_accept4), //541
BSDXY(__NR_pipe2, sys_pipe2), // 542
BSDX_(__NR_fake_sigreturn, sys_fake_sigreturn), // 1000, fake sigreturn
diff -r ce1acb28953fd6928ccb8f9511e374eab66e8625 -r af5523fe25247f537884116bd37e8ce171ba837e include/vki/vki-scnums-freebsd.h
--- a/include/vki/vki-scnums-freebsd.h
+++ b/include/vki/vki-scnums-freebsd.h
@@ -407,6 +407,7 @@
#define __NR_posix_openpt 504
#define __NR___semctl 510
#define __NR_shmctl 512
+#define __NR_accept4 541
#define __NR_pipe2 542
#define __NR_fake_sigreturn 1000

View File

@@ -1,239 +0,0 @@
From 6aaeefab2490d56743ec49d0e20d3fd6ff45fb55 Mon Sep 17 00:00:00 2001
From: Roman Bogorodskiy <bogorodskiy@gmail.com>
Date: Sat, 9 Sep 2017 18:27:15 +0400
Subject: [PATCH v2] ino64 support
---
coregrind/m_syswrap/priv_syswrap-freebsd.h | 4 ++
coregrind/m_syswrap/syswrap-freebsd.c | 65 ++++++++++++++++++++++
include/vki/vki-freebsd.h | 54 ++++++++++++++++++
include/vki/vki-scnums-freebsd.h | 4 ++
4 files changed, 127 insertions(+)
diff --git a/coregrind/m_syswrap/priv_syswrap-freebsd.h b/coregrind/m_syswrap/priv_syswrap-freebsd.h
index 63d122f..715ad48 100644
--- a/coregrind/m_syswrap/priv_syswrap-freebsd.h
+++ b/coregrind/m_syswrap/priv_syswrap-freebsd.h
@@ -97,10 +97,12 @@ DECL_TEMPLATE(freebsd, sys_setegid);
DECL_TEMPLATE(freebsd, sys_seteuid);
DECL_TEMPLATE(freebsd, sys_stat);
DECL_TEMPLATE(freebsd, sys_fstat);
+DECL_TEMPLATE(freebsd, sys_fstat64);
DECL_TEMPLATE(freebsd, sys_lstat);
DECL_TEMPLATE(freebsd, sys_pathconf);
DECL_TEMPLATE(freebsd, sys_fpathconf);
DECL_TEMPLATE(freebsd, sys_getdirentries);
+DECL_TEMPLATE(freebsd, sys_getdirentries64);
DECL_TEMPLATE(freebsd, sys_mmap);
DECL_TEMPLATE(freebsd, sys___syscall);
DECL_TEMPLATE(freebsd, sys_lseek);
@@ -208,6 +210,7 @@ DECL_TEMPLATE(freebsd, sys_kevent);
DECL_TEMPLATE(freebsd, sys_sendfile);
DECL_TEMPLATE(freebsd, sys_statfs6);
DECL_TEMPLATE(freebsd, sys_fstatfs6);
+DECL_TEMPLATE(freebsd, sys_fstatfs64);
DECL_TEMPLATE(freebsd, sys_fhstatfs6);
DECL_TEMPLATE(freebsd, sys_thr_exit);
DECL_TEMPLATE(freebsd, sys_thr_self);
@@ -251,6 +254,7 @@ DECL_TEMPLATE(freebsd, sys_fchmodat);
DECL_TEMPLATE(freebsd, sys_fchownat);
DECL_TEMPLATE(freebsd, sys_fexecve);
DECL_TEMPLATE(freebsd, sys_fstatat);
+DECL_TEMPLATE(freebsd, sys_fstatat64);
DECL_TEMPLATE(freebsd, sys_futimesat);
DECL_TEMPLATE(freebsd, sys_linkat);
DECL_TEMPLATE(freebsd, sys_mkdirat);
diff --git a/coregrind/m_syswrap/syswrap-freebsd.c b/coregrind/m_syswrap/syswrap-freebsd.c
index bf6b1f1..978e98e 100644
--- a/coregrind/m_syswrap/syswrap-freebsd.c
+++ b/coregrind/m_syswrap/syswrap-freebsd.c
@@ -885,6 +885,18 @@ POST(sys_fstat)
POST_MEM_WRITE( ARG2, sizeof(struct vki_stat) );
}
+PRE(sys_fstat64)
+{
+ PRINT("sys_fstat64 ( %ld, %#lx )", ARG1, ARG2);
+ PRE_REG_READ2(long, "fstat", unsigned long, fd, struct stat64 *, buf);
+ PRE_MEM_WRITE( "fstat(buf)", ARG2, sizeof(struct vki_stat64) );
+}
+
+POST(sys_fstat64)
+{
+ POST_MEM_WRITE( ARG2, sizeof(struct vki_stat64) );
+}
+
PRE(sys_pathconf)
{
PRINT("sys_pathconf ( %#lx(%s), %ld )",ARG1,(char *)ARG1,ARG2);
@@ -1029,6 +1041,26 @@ POST(sys_getdirentries)
}
}
+PRE(sys_getdirentries64)
+{
+ *flags |= SfMayBlock;
+ PRINT("sys_getdents ( %ld, %#lx, %ld )", ARG1,ARG2,ARG3);
+ PRE_REG_READ3(vki_ssize_t, "getdirentries",
+ unsigned int, fd, struct dirent *, dirp,
+ vki_size_t, count);
+ PRE_MEM_WRITE( "getdirentries(dirp)", ARG2, ARG3 );
+}
+
+POST(sys_getdirentries64)
+{
+ vg_assert(SUCCESS);
+ if (RES > 0) {
+ POST_MEM_WRITE( ARG2, RES );
+ if ( ARG4 != 0 )
+ POST_MEM_WRITE( ARG4, sizeof (vki_off_t));
+ }
+}
+
PRE(sys_seteuid)
{
PRINT("sys_seteuid ( %ld )", ARG1);
@@ -1251,6 +1283,19 @@ POST(sys_fstatfs6)
POST_MEM_WRITE( ARG2, sizeof(struct vki_statfs6) );
}
+PRE(sys_fstatfs64)
+{
+ PRINT("sys_fstatfs64 ( %ld, %#lx )", ARG1, ARG2);
+ PRE_REG_READ2(long, "fstatfs6",
+ unsigned int, fd, struct statfs *, buf);
+ PRE_MEM_WRITE( "fstatfs6(buf)", ARG2, sizeof(struct vki_statfs64) );
+}
+
+POST(sys_fstatfs64)
+{
+ POST_MEM_WRITE( ARG2, sizeof(struct vki_statfs64) );
+}
+
PRE(sys_statfs6)
{
PRINT("sys_statfs6 ( %#lx(%s), %#lx )",ARG1,(char *)ARG1,ARG2);
@@ -3132,6 +3177,20 @@ POST(sys_fstatat)
POST_MEM_WRITE( ARG3, sizeof(struct vki_stat) );
}
+PRE(sys_fstatat64)
+{
+ PRINT("sys_fstatat ( %ld, %#lx(%s), %#lx )", ARG1,ARG2,(char*)ARG2,ARG3);
+ PRE_REG_READ3(long, "fstatat",
+ int, dfd, char *, file_name, struct stat *, buf);
+ PRE_MEM_RASCIIZ( "fstatat(file_name)", ARG2 );
+ PRE_MEM_WRITE( "fstatat(buf)", ARG3, sizeof(struct vki_stat) );
+}
+
+POST(sys_fstatat64)
+{
+ POST_MEM_WRITE( ARG3, sizeof(struct vki_stat) );
+}
+
PRE(sys_unlinkat)
{
*flags |= SfMayBlock;
@@ -4427,6 +4486,12 @@ const SyscallTableEntry ML_(syscall_table)[] = {
BSDXY(__NR_accept4, sys_accept4), //541
BSDXY(__NR_pipe2, sys_pipe2), // 542
+ // ino64
+ BSDXY(__NR_fstat64, sys_fstat64), // 551
+ BSDXY(__NR_fstatat64, sys_fstatat64), // 552
+ BSDXY(__NR_getdirentries64, sys_getdirentries64), // 554
+ GENXY(__NR_fstatfs64, sys_fstatfs), // 556
+
BSDX_(__NR_fake_sigreturn, sys_fake_sigreturn), // 1000, fake sigreturn
};
diff --git a/include/vki/vki-freebsd.h b/include/vki/vki-freebsd.h
index aee453e..318a207 100644
--- a/include/vki/vki-freebsd.h
+++ b/include/vki/vki-freebsd.h
@@ -367,6 +367,36 @@ struct vki_stat {
unsigned int :(8 / 2) * (16 - (int)sizeof(struct vki_timespec));
};
+struct vki_stat64 {
+ vki_uint64_t st_dev;
+ vki_uint64_t st_ino;
+ vki_uint64_t st_nlink;
+ vki_mode_t st_mode;
+ vki_int16_t st_padding0;
+ vki_uid_t st_uid;
+ vki_gid_t st_gid;
+ vki_int32_t st_padding1;
+ vki_uint64_t st_rdev;
+#if 0
+ struct vki_timespec st_atimespec;
+ struct vki_timespec st_mtimespec;
+ struct vki_timespec st_ctimespec;
+#else
+ vki_time_t st_atime;
+ long st_atime_nsec;
+ vki_time_t st_mtime;
+ long st_mtime_nsec;
+ vki_time_t st_ctime;
+ long st_ctime_nsec;
+#endif
+ struct vki_timespec st_birthtim;
+ vki_off_t st_size;
+ vki_blkcnt_t st_blocks;
+ vki_blksize_t st_blksize;
+ vki_fflags_t st_flags;
+ vki_uint64_t st_gen;
+ vki_int64_t st_spare[10];
+};
//----------------------------------------------------------------------
// From linux-2.6.8.1/include/linux/sched.h
@@ -941,6 +971,30 @@ struct vki_statfs {
char f_mntonname[VKI_MNAMELEN];
};
+struct vki_statfs64 {
+ vki_uint32_t f_version;
+ vki_uint32_t f_type;
+ vki_uint64_t f_flags;
+ vki_uint64_t f_bsize;
+ vki_uint64_t f_iosize;
+ vki_uint64_t f_blocks;
+ vki_uint64_t f_bfree;
+ vki_int64_t f_bavail;
+ vki_uint64_t f_files;
+ vki_int64_t f_ffree;
+ vki_uint64_t f_syncwrites;
+ vki_uint64_t f_asyncwrites;
+ vki_uint64_t f_syncreads;
+ vki_uint64_t f_asyncreads;
+ vki_uint64_t f_spare[10];
+ vki_uint32_t f_namemax;
+ vki_uid_t f_owner;
+ vki_fsid_t f_fsid;
+ char f_charspare[80];
+ char f_fstypename[VKI_MFSNAMELEN];
+ char f_mntfromnname[VKI_MNAMELEN];
+ char f_mntonname[VKI_MNAMELEN];
+};
#define MAXFIDSZ 16
struct vki_fid {
diff --git a/include/vki/vki-scnums-freebsd.h b/include/vki/vki-scnums-freebsd.h
index 605a42f..ffa241d 100644
--- a/include/vki/vki-scnums-freebsd.h
+++ b/include/vki/vki-scnums-freebsd.h
@@ -412,6 +412,10 @@
#define __NR_shmctl 512
#define __NR_accept4 541
#define __NR_pipe2 542
+#define __NR_fstat64 551
+#define __NR_fstatat64 552
+#define __NR_getdirentries64 554
+#define __NR_fstatfs64 556
#define __NR_fake_sigreturn 1000
--
2.14.1

View File

@@ -1,87 +0,0 @@
# HG changeset patch
# User Bitbucket <noreply@bitbucket.org>
# Date 0 0
# Node ID 90c6097540f35e312d34340b916296130003c851
# Parent ce1acb28953fd6928ccb8f9511e374eab66e8625
# Parent 5662e704b72c7ebb116f8478a4ff3847acc72fc6
Merge preview of source (5662e704b72c7ebb116f8478a4ff3847acc72fc6) to destination (ce1acb28953fd6928ccb8f9511e374eab66e8625).
diff -r ce1acb28953fd6928ccb8f9511e374eab66e8625 -r 90c6097540f35e312d34340b916296130003c851 coregrind/m_syswrap/syswrap-freebsd.c
--- a/coregrind/m_syswrap/syswrap-freebsd.c
+++ b/coregrind/m_syswrap/syswrap-freebsd.c
@@ -3670,6 +3670,42 @@
POST_MEM_WRITE( ARG5, ARG4 );
}
+PRE(sys_jail_get)
+{
+
+ PRINT("sys_jail_get ( %#lx, %lu, %ld )", ARG1, ARG2, ARG3);
+ PRE_REG_READ3(int, "jail_get", struct vki_iovec *, iov, unsigned int,
+ niov, int, flags);
+ PRE_MEM_WRITE("jail_get", ARG1, ARG2 * sizeof(struct vki_iovec));
+}
+
+POST(sys_jail_get)
+{
+ vg_assert(SUCCESS);
+ if (RES != -1)
+ POST_MEM_WRITE(ARG1, ARG2);
+}
+
+PRE(sys_jail_set)
+{
+ PRINT("sys_jail_set ( %#lx, %lu, %ld )", ARG1, ARG2, ARG3);
+ PRE_REG_READ3(int, "jail_set", struct vki_iovec *, iov, unsigned int,
+ niov, int, flags);
+ PRE_MEM_WRITE("jail_set", ARG1, ARG2 * sizeof(struct vki_iovec));
+}
+
+PRE(sys_jail_attach)
+{
+ PRINT("sys_jail_attach ( %ld )", ARG1);
+ PRE_REG_READ1(int, "jail_attach", int, jid);
+}
+
+PRE(sys_jail_remove)
+{
+ PRINT("sys_jail_remove ( %ld )", ARG1);
+ PRE_REG_READ1(int, "jail_remove", int, jid);
+}
+
#undef PRE
#undef POST
@@ -4219,7 +4255,7 @@
BSDXY(__NR__umtx_lock, sys__umtx_lock), // 434
BSDXY(__NR__umtx_unlock, sys__umtx_unlock), // 435
- // jail_attach 436
+ BSDX_(__NR_jail_attach, sys_jail_attach), // 436
// extattr_list_fd 437
// extattr_list_file 438
// extattr_list_link 439
@@ -4303,6 +4339,10 @@
BSDX_(__NR_symlinkat, sys_symlinkat), // 502
BSDX_(__NR_unlinkat, sys_unlinkat), // 503
+ BSDXY(__NR_jail_get, sys_jail_get), // 506
+ BSDX_(__NR_jail_set, sys_jail_set), // 507
+ BSDX_(__NR_jail_remove, sys_jail_remove), // 508
+
// posix_openpt 504
BSDXY(__NR___semctl, sys___semctl), // 510
diff -r ce1acb28953fd6928ccb8f9511e374eab66e8625 -r 90c6097540f35e312d34340b916296130003c851 include/vki/vki-scnums-freebsd.h
--- a/include/vki/vki-scnums-freebsd.h
+++ b/include/vki/vki-scnums-freebsd.h
@@ -405,6 +405,9 @@
#define __NR_symlinkat 502
#define __NR_unlinkat 503
#define __NR_posix_openpt 504
+#define __NR_jail_get 506
+#define __NR_jail_set 507
+#define __NR_jail_remove 508
#define __NR___semctl 510
#define __NR_shmctl 512
#define __NR_pipe2 542

View File

@@ -1,127 +0,0 @@
# HG changeset patch
# User Bitbucket <noreply@bitbucket.org>
# Date 0 0
# Node ID 7ecd33d57049211e1084fc5e8bf588da49088d75
# Parent ce1acb28953fd6928ccb8f9511e374eab66e8625
# Parent 79bf8f58bec842a1aa94f4fff2e4884a6bb5378b
Merge preview of source (79bf8f58bec842a1aa94f4fff2e4884a6bb5378b) to destination (ce1acb28953fd6928ccb8f9511e374eab66e8625).
diff -r ce1acb28953fd6928ccb8f9511e374eab66e8625 -r 7ecd33d57049211e1084fc5e8bf588da49088d75 coregrind/m_syswrap/syswrap-freebsd.c
--- a/coregrind/m_syswrap/syswrap-freebsd.c
+++ b/coregrind/m_syswrap/syswrap-freebsd.c
@@ -1246,6 +1246,52 @@
POST_MEM_WRITE( ARG2, sizeof(struct vki_statfs6) );
}
+/* ---------------------------------------------------------------------
+ kld* wrappers
+ ------------------------------------------------------------------ */
+
+PRE(sys_kldload)
+{
+ PRINT("sys_kldload ( %#lx(%s) )", ARG1, (char *)ARG1);
+ PRE_REG_READ1(int, "kldload", const char *, "file");
+
+ PRE_MEM_RASCIIZ( "kldload(file)", ARG1 );
+}
+
+PRE(sys_kldunload)
+{
+ PRINT("sys_kldunload ( %ld )", ARG1);
+ PRE_REG_READ1(int, "kldunload", int, "fileid");
+}
+
+PRE(sys_kldfind)
+{
+ PRINT("sys_kldfind ( %#lx(%s) )", ARG1, (char *)ARG1);
+ PRE_REG_READ1(int, "kldfind", const char *, "file");
+
+ PRE_MEM_RASCIIZ( "kldfind(file)", ARG1 );
+}
+
+PRE(sys_kldnext)
+{
+ PRINT("sys_kldnext ( %ld )", ARG1);
+ PRE_REG_READ1(int, "kldnext", int, "fileid");
+}
+
+PRE(sys_kldsym)
+{
+ PRINT("sys_kldsym ( %ld, %ld, %#lx )", ARG1,ARG2,ARG3 );
+ PRE_REG_READ3(int, "kldsym", int, "fileid", int, "command", void*, "data");
+ PRE_MEM_READ( "kldsym(data)", ARG3, sizeof(struct vki_kld_sym_lookup) );
+ struct vki_kld_sym_lookup *kslp = (struct vki_kld_sym_lookup *)ARG3;
+ PRE_MEM_RASCIIZ( "kldsym(data.symname)", (Addr)kslp->symname );
+}
+POST(sys_kldsym)
+{
+ struct vki_kld_sym_lookup *kslp = (struct vki_kld_sym_lookup *)ARG3;
+ POST_MEM_WRITE( (Addr)&kslp->symvalue, sizeof(kslp->symvalue) );
+ POST_MEM_WRITE( (Addr)&kslp->symsize, sizeof(kslp->symsize) );
+}
#if 0
/* ---------------------------------------------------------------------
@@ -3389,14 +3435,14 @@
moans--;
VG_(message)(Vg_UserMsg,
"Warning: noted but unhandled ioctl 0x%lx"
- " with no size/direction hints",
+ " with no size/direction hints\n",
ARG2);
VG_(message)(Vg_UserMsg,
" This could cause spurious value errors"
- " to appear.");
+ " to appear.\n");
VG_(message)(Vg_UserMsg,
" See README_MISSING_SYSCALL_OR_IOCTL for "
- "guidance on writing a proper wrapper." );
+ "guidance on writing a proper wrapper.\n" );
}
} else {
if ((dir & _VKI_IOC_WRITE) && size > 0)
@@ -4054,10 +4100,10 @@
// BSDX_(__NR_modfnext, sys_modfnext), // 302
BSDX_(__NR_modfind, sys_modfind), // 303
-// BSDX_(__NR_kldload, sys_kldload), // 304
-// BSDX_(__NR_kldunload, sys_kldunload), // 305
-// BSDX_(__NR_kldfind, sys_kldfind), // 306
-// BSDX_(__NR_kldnext, sys_kldnext), // 307
+ BSDX_(__NR_kldload, sys_kldload), // 304
+ BSDX_(__NR_kldunload, sys_kldunload), // 305
+ BSDX_(__NR_kldfind, sys_kldfind), // 306
+ BSDX_(__NR_kldnext, sys_kldnext), // 307
// BSDXY(__NR_kldstat, sys_kldstat), // 308
// BSDX_(__NR_kldfirstmod, sys_kldfirstmod), // 309
@@ -4095,7 +4141,7 @@
BSDX_(__NR_utrace, sys_utrace), // 335
// compat3 sendfile 336
-// BSDXY(__NR_kldsym, sys_kldsym), // 337
+ BSDXY(__NR_kldsym, sys_kldsym), // 337
// BSDX_(__NR_jail, sys_jail), // 338
// unimpl pioctl 339
diff -r ce1acb28953fd6928ccb8f9511e374eab66e8625 -r 7ecd33d57049211e1084fc5e8bf588da49088d75 include/vki/vki-freebsd.h
--- a/include/vki/vki-freebsd.h
+++ b/include/vki/vki-freebsd.h
@@ -2129,6 +2129,17 @@
void *spare[3];
};
+//----------------------------------------------------------------------
+// From sys/linker.h
+//----------------------------------------------------------------------
+
+struct vki_kld_sym_lookup {
+ int version; /* set to sizeof(struct kld_sym_lookup) */
+ char *symname; /* Symbol name we are looking up */
+ unsigned long symvalue;
+ vki_size_t symsize;
+};
+
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/

View File

@@ -1,54 +0,0 @@
diff --git a/coregrind/m_syswrap/syswrap-freebsd.c b/coregrind/m_syswrap/syswrap-freebsd.c
--- a/coregrind/m_syswrap/syswrap-freebsd.c
+++ b/coregrind/m_syswrap/syswrap-freebsd.c
@@ -3278,9 +3278,12 @@ PRE(sys_fcntl)
// These ones use ARG3 as "arg".
case VKI_F_DUPFD:
+ case VKI_F_DUPFD_CLOEXEC:
case VKI_F_SETFD:
case VKI_F_SETFL:
case VKI_F_SETOWN:
+ case VKI_F_READAHEAD:
+ case VKI_F_RDAHEAD:
PRINT("sys_fcntl[ARG3=='arg'] ( %ld, %ld, %ld )", ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "fcntl",
unsigned int, fd, unsigned int, cmd, unsigned long, arg);
@@ -3300,6 +3303,7 @@ PRE(sys_fcntl)
// This one uses ARG3 as "oldd" and ARG4 as "newd".
case VKI_F_DUP2FD:
+ case VKI_F_DUP2FD_CLOEXEC:
PRINT("sys_fcntl[ARG3=='oldd', ARG4=='newd'] ( %ld, %ld, %ld, %ld )",
ARG1,ARG2,ARG3,ARG4);
PRE_REG_READ4(long, "fcntl",
@@ -3339,6 +3343,15 @@ POST(sys_fcntl)
ML_(record_fd_open_named)(tid, RES);
}
}
+ else if (ARG2 == VKI_F_DUPFD_CLOEXEC) {
+ if (!ML_(fd_allowed)(RES, "fcntl(DUPFD_CLOEXEC)", tid, True)) {
+ VG_(close)(RES);
+ SET_STATUS_Failure( VKI_EMFILE );
+ } else {
+ if (VG_(clo_track_fds))
+ ML_(record_fd_open_named)(tid, RES);
+ }
+ }
}
PRE(sys_ioctl)
diff --git a/include/vki/vki-freebsd.h b/include/vki/vki-freebsd.h
--- a/include/vki/vki-freebsd.h
+++ b/include/vki/vki-freebsd.h
@@ -1554,6 +1554,10 @@ struct vki_dirent {
#define VKI_F_SETLK 12 /* set record locking information */
#define VKI_F_SETLKW 13 /* F_SETLK; wait if blocked */
#define VKI_F_SETLK_REMOTE 14 /* debugging support for remote locks */
+#define VKI_F_READAHEAD 15 /* read ahead */
+#define VKI_F_RDAHEAD 16 /* Darwin compatible read ahead */
+#define VKI_F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */
+#define VKI_F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */
/* for F_[GET|SET]FL */
#define VKI_FD_CLOEXEC 1 /* actually anything with low bit set goes */

View File

@@ -1,23 +0,0 @@
--- configure.ac.orig 2016-01-13 19:20:20 UTC
+++ configure.ac
@@ -145,7 +145,19 @@
notclang-5.*)
AC_MSG_RESULT([ok (${gcc_version})])
;;
- clang-2.9|clang-3.*|clang-4.*)
+ notclang-6.*)
+ AC_MSG_RESULT([ok (${gcc_version})])
+ ;;
+ notclang-7.*)
+ AC_MSG_RESULT([ok (${gcc_version})])
+ ;;
+ notclang-8.*)
+ AC_MSG_RESULT([ok (${gcc_version})])
+ ;;
+ notclang-9.*)
+ AC_MSG_RESULT([ok (${gcc_version})])
+ ;;
+ clang-2.9|clang-[[3-9]].*)
AC_MSG_RESULT([ok (clang-${gcc_version})])
;;
*)

View File

@@ -1,13 +0,0 @@
--- coregrind/m_debuglog.c.orig 2019-01-08 21:35:12.953178000 +0400
+++ coregrind/m_debuglog.c 2019-01-08 21:36:10.940827000 +0400
@@ -482,8 +482,8 @@
"popq %%r15\n" /* restore r15 */
"addq $256, %%rsp\n" /* restore stack ptr */
: /*wr*/
- : /*rd*/ "g" (block)
- : /*trash*/ "rax", "rdi", "rsi", "rdx", "memory", "cc"
+ : /*rd*/ "r" (block)
+ : /*trash*/ "rax", "rdi", "rsi", "rdx", "memory", "cc", "rcx", "r11"
);
if (block[0] < 0)
block[0] = -1;

View File

@@ -1,30 +0,0 @@
--- coregrind/m_syswrap/syswrap-amd64-freebsd.c.orig 2015-01-26 16:17:32.000000000 -0400
+++ coregrind/m_syswrap/syswrap-amd64-freebsd.c 2015-08-31 09:51:17.506396000 -0300
@@ -691,6 +691,27 @@
SET_STATUS_Success2( tst->arch.vex.guest_FS_ZERO, tst->arch.vex.guest_RDX );
POST_MEM_WRITE( ARG2, sizeof(void *) );
break;
+ case VKI_AMD64_GET_XFPUSTATE:
+ {
+ UChar fpuState[160];
+ struct vki_amd64_get_xfpustate *xfs = (struct vki_amd64_get_xfpustate *)ARG2;
+ int fpuSaveLen;
+
+ PRINT("sys_amd64_get_xfpustate ( %#lx, %d )", (long unsigned int)xfs->addr, xfs->len);
+ tst = VG_(get_ThreadState)(tid);
+
+ if (xfs->len <= sizeof(fpuState)) {
+ amd64g_dirtyhelper_FXSAVE_ALL_EXCEPT_XMM(
+ (VexGuestAMD64State *)&tst->arch.vex,
+ (HWord)fpuState);
+ VG_(memcpy)(xfs->addr, fpuState, xfs->len);
+ POST_MEM_WRITE( xfs->addr, xfs->len );
+ SET_STATUS_Success ( 0 );
+ } else {
+ SET_STATUS_Failure( VKI_EINVAL );
+ }
+ }
+ break;
default:
VG_(message) (Vg_UserMsg, "unhandled sysarch cmd %ld", ARG1);
VG_(unimplemented) ("unhandled sysarch cmd");

View File

@@ -1,34 +0,0 @@
--- include/vki/vki-freebsd.h.orig 2015-01-26 16:17:32.000000000 -0400
+++ include/vki/vki-freebsd.h 2015-08-31 04:55:29.139189000 -0300
@@ -684,6 +684,7 @@
#define VKI_SOCK_STREAM 1
+#include <sys/types.h>
#include <netinet/tcp.h>
#define VKI_TCP_NODELAY TCP_NODELAY
@@ -1888,11 +1889,23 @@
#define VKI_I386_SET_FSBASE 8
#define VKI_I386_GET_GSBASE 9
#define VKI_I386_SET_GSBASE 10
+#define VKI_I386_SET_XFPUSTATE 11
#define VKI_AMD64_GET_FSBASE 128
#define VKI_AMD64_SET_FSBASE 129
#define VKI_AMD64_GET_GSBASE 130
#define VKI_AMD64_SET_GSBASE 131
+#define VKI_AMD64_GET_XFPUSTATE 132
+
+typedef struct vki_i386_get_xfpustate {
+ unsigned int addr;
+ int len;
+};
+
+typedef struct vki_amd64_get_xfpustate {
+ void *addr;
+ int len;
+};
//----------------------------------------------------------------------
// From sys/module.h

View File

@@ -10,6 +10,7 @@ bin/valgrind-listener
bin/vgdb
include/valgrind/callgrind.h
include/valgrind/config.h
include/valgrind/dhat.h
include/valgrind/drd.h
include/valgrind/helgrind.h
include/valgrind/libvex_basictypes.h
@@ -24,6 +25,7 @@ include/valgrind/libvex_guest_ppc32.h
include/valgrind/libvex_guest_ppc64.h
include/valgrind/libvex_guest_s390x.h
include/valgrind/libvex_guest_x86.h
include/valgrind/libvex_inner.h
include/valgrind/libvex_ir.h
include/valgrind/libvex_s390x_common.h
include/valgrind/libvex_trc_values.h
@@ -41,6 +43,7 @@ include/valgrind/pub_tool_deduppoolalloc.h
include/valgrind/pub_tool_errormgr.h
include/valgrind/pub_tool_execontext.h
include/valgrind/pub_tool_gdbserver.h
include/valgrind/pub_tool_guest.h
include/valgrind/pub_tool_hashtable.h
include/valgrind/pub_tool_libcassert.h
include/valgrind/pub_tool_libcbase.h
@@ -63,11 +66,14 @@ include/valgrind/pub_tool_sparsewa.h
include/valgrind/pub_tool_stacktrace.h
include/valgrind/pub_tool_threadstate.h
include/valgrind/pub_tool_tooliface.h
include/valgrind/pub_tool_transtab.h
include/valgrind/pub_tool_vki.h
include/valgrind/pub_tool_vkiscnums_asm.h
include/valgrind/pub_tool_vkiscnums.h
include/valgrind/pub_tool_wordfm.h
include/valgrind/pub_tool_xarray.h
include/valgrind/pub_tool_xtmemory.h
include/valgrind/pub_tool_xtree.h
include/valgrind/valgrind.h
include/valgrind/vki/vki-amd64-freebsd.h
include/valgrind/vki/vki-amd64-linux.h
@@ -76,16 +82,19 @@ include/valgrind/vki/vki-arm64-linux.h
include/valgrind/vki/vki-darwin.h
include/valgrind/vki/vki-freebsd.h
include/valgrind/vki/vki-linux-drm.h
include/valgrind/vki/vki-linux-io_uring.h
include/valgrind/vki/vki-linux.h
include/valgrind/vki/vki-machine-types-amd64-freebsd.h
include/valgrind/vki/vki-machine-types-x86-freebsd.h
include/valgrind/vki/vki-mips32-linux.h
include/valgrind/vki/vki-mips64-linux.h
include/valgrind/vki/vki-nanomips-linux.h
include/valgrind/vki/vki-posixtypes-amd64-linux.h
include/valgrind/vki/vki-posixtypes-arm-linux.h
include/valgrind/vki/vki-posixtypes-arm64-linux.h
include/valgrind/vki/vki-posixtypes-mips32-linux.h
include/valgrind/vki/vki-posixtypes-mips64-linux.h
include/valgrind/vki/vki-posixtypes-nanomips-linux.h
include/valgrind/vki/vki-posixtypes-ppc32-linux.h
include/valgrind/vki/vki-posixtypes-ppc64-linux.h
include/valgrind/vki/vki-posixtypes-s390x-linux.h
@@ -93,6 +102,7 @@ include/valgrind/vki/vki-posixtypes-x86-linux.h
include/valgrind/vki/vki-ppc32-linux.h
include/valgrind/vki/vki-ppc64-linux.h
include/valgrind/vki/vki-s390x-linux.h
include/valgrind/vki/vki-scnums-32bit-linux.h
include/valgrind/vki/vki-scnums-amd64-linux.h
include/valgrind/vki/vki-scnums-arm-linux.h
include/valgrind/vki/vki-scnums-arm64-linux.h
@@ -100,10 +110,15 @@ include/valgrind/vki/vki-scnums-darwin.h
include/valgrind/vki/vki-scnums-freebsd.h
include/valgrind/vki/vki-scnums-mips32-linux.h
include/valgrind/vki/vki-scnums-mips64-linux.h
include/valgrind/vki/vki-scnums-nanomips-linux.h
include/valgrind/vki/vki-scnums-ppc32-linux.h
include/valgrind/vki/vki-scnums-ppc64-linux.h
include/valgrind/vki/vki-scnums-s390x-linux.h
include/valgrind/vki/vki-scnums-shared-linux.h
include/valgrind/vki/vki-scnums-solaris.h
include/valgrind/vki/vki-scnums-x86-linux.h
include/valgrind/vki/vki-solaris-repcache.h
include/valgrind/vki/vki-solaris.h
include/valgrind/vki/vki-x86-freebsd.h
include/valgrind/vki/vki-x86-linux.h
include/valgrind/vki/vki-xen-domctl.h
@@ -112,139 +127,210 @@ include/valgrind/vki/vki-xen-gnttab.h
include/valgrind/vki/vki-xen-hvm.h
include/valgrind/vki/vki-xen-memory.h
include/valgrind/vki/vki-xen-mmuext.h
include/valgrind/vki/vki-xen-physdev.h
include/valgrind/vki/vki-xen-schedop.h
include/valgrind/vki/vki-xen-sysctl.h
include/valgrind/vki/vki-xen-tmem.h
include/valgrind/vki/vki-xen-version.h
include/valgrind/vki/vki-xen-x86.h
include/valgrind/vki/vki-xen-xsm.h
include/valgrind/vki/vki-xen.h
lib/pkgconfig/valgrind.pc
lib/valgrind/32bit-core-valgrind-s1.xml
lib/valgrind/32bit-core-valgrind-s2.xml
lib/valgrind/32bit-core.xml
lib/valgrind/32bit-linux-valgrind-s1.xml
lib/valgrind/32bit-linux-valgrind-s2.xml
lib/valgrind/32bit-linux.xml
lib/valgrind/32bit-sse-valgrind-s1.xml
lib/valgrind/32bit-sse-valgrind-s2.xml
lib/valgrind/32bit-sse.xml
lib/valgrind/64bit-avx-valgrind-s1.xml
lib/valgrind/64bit-avx-valgrind-s2.xml
lib/valgrind/64bit-avx.xml
lib/valgrind/64bit-core-valgrind-s1.xml
lib/valgrind/64bit-core-valgrind-s2.xml
lib/valgrind/64bit-core.xml
lib/valgrind/64bit-linux-valgrind-s1.xml
lib/valgrind/64bit-linux-valgrind-s2.xml
lib/valgrind/64bit-linux.xml
lib/valgrind/64bit-sse-valgrind-s1.xml
lib/valgrind/64bit-sse-valgrind-s2.xml
lib/valgrind/64bit-sse.xml
lib/valgrind/amd64-avx-coresse-valgrind.xml
lib/valgrind/amd64-avx-coresse.xml
lib/valgrind/amd64-avx-linux-valgrind.xml
lib/valgrind/amd64-avx-linux.xml
lib/valgrind/amd64-coresse-valgrind.xml
lib/valgrind/amd64-linux-valgrind.xml
lib/valgrind/arm-core-valgrind-s1.xml
lib/valgrind/arm-core-valgrind-s2.xml
lib/valgrind/arm-core.xml
lib/valgrind/arm-vfpv3-valgrind-s1.xml
lib/valgrind/arm-vfpv3-valgrind-s2.xml
lib/valgrind/arm-vfpv3.xml
lib/valgrind/arm-with-vfpv3-valgrind.xml
lib/valgrind/arm-with-vfpv3.xml
lib/valgrind/cachegrind-amd64-freebsd
lib/valgrind/callgrind-amd64-freebsd
lib/valgrind/default.supp
lib/valgrind/drd-amd64-freebsd
lib/valgrind/exp-bbv-amd64-freebsd
lib/valgrind/exp-dhat-amd64-freebsd
lib/valgrind/exp-sgcheck-amd64-freebsd
lib/valgrind/getoff-amd64-freebsd
lib/valgrind/helgrind-amd64-freebsd
lib/valgrind/i386-coresse-valgrind.xml
lib/valgrind/i386-linux-valgrind.xml
lib/valgrind/lackey-amd64-freebsd
lib/valgrind/libcoregrind-amd64-freebsd.a
lib/valgrind/libgcc-sup-amd64-freebsd.a
lib/valgrind/libreplacemalloc_toolpreload-amd64-freebsd.a
lib/valgrind/libvex-amd64-freebsd.a
lib/valgrind/massif-amd64-freebsd
lib/valgrind/memcheck-amd64-freebsd
lib/valgrind/mips-cp0-valgrind-s1.xml
lib/valgrind/mips-cp0-valgrind-s2.xml
lib/valgrind/mips-cp0.xml
lib/valgrind/mips-cpu-valgrind-s1.xml
lib/valgrind/mips-cpu-valgrind-s2.xml
lib/valgrind/mips-cpu.xml
lib/valgrind/mips-fpu-valgrind-s1.xml
lib/valgrind/mips-fpu-valgrind-s2.xml
lib/valgrind/mips-fpu.xml
lib/valgrind/mips-linux-valgrind.xml
lib/valgrind/mips-linux.xml
lib/valgrind/mips64-cp0-valgrind-s1.xml
lib/valgrind/mips64-cp0-valgrind-s2.xml
lib/valgrind/mips64-cp0.xml
lib/valgrind/mips64-cpu-valgrind-s1.xml
lib/valgrind/mips64-cpu-valgrind-s2.xml
lib/valgrind/mips64-cpu.xml
lib/valgrind/mips64-fpu-valgrind-s1.xml
lib/valgrind/mips64-fpu-valgrind-s2.xml
lib/valgrind/mips64-fpu.xml
lib/valgrind/mips64-linux-valgrind.xml
lib/valgrind/mips64-linux.xml
lib/valgrind/none-amd64-freebsd
lib/valgrind/power-altivec-valgrind-s1.xml
lib/valgrind/power-altivec-valgrind-s2.xml
lib/valgrind/power-altivec.xml
lib/valgrind/power-core-valgrind-s1.xml
lib/valgrind/power-core-valgrind-s2.xml
lib/valgrind/power-core.xml
lib/valgrind/power-fpu-valgrind-s1.xml
lib/valgrind/power-fpu-valgrind-s2.xml
lib/valgrind/power-fpu.xml
lib/valgrind/power-linux-valgrind-s1.xml
lib/valgrind/power-linux-valgrind-s2.xml
lib/valgrind/power-linux.xml
lib/valgrind/power64-core-valgrind-s1.xml
lib/valgrind/power64-core-valgrind-s2.xml
lib/valgrind/power64-core.xml
lib/valgrind/power64-linux-valgrind-s1.xml
lib/valgrind/power64-linux-valgrind-s2.xml
lib/valgrind/power64-linux.xml
lib/valgrind/powerpc-altivec32l-valgrind.xml
lib/valgrind/powerpc-altivec32l.xml
lib/valgrind/powerpc-altivec64l-valgrind.xml
lib/valgrind/powerpc-altivec64l.xml
lib/valgrind/s390-acr-valgrind-s1.xml
lib/valgrind/s390-acr-valgrind-s2.xml
lib/valgrind/s390-acr.xml
lib/valgrind/s390-fpr-valgrind-s1.xml
lib/valgrind/s390-fpr-valgrind-s2.xml
lib/valgrind/s390-fpr.xml
lib/valgrind/s390x-core64-valgrind-s1.xml
lib/valgrind/s390x-core64-valgrind-s2.xml
lib/valgrind/s390x-core64.xml
lib/valgrind/s390x-generic-valgrind.xml
lib/valgrind/s390x-generic.xml
lib/valgrind/s390x-linux64-valgrind-s1.xml
lib/valgrind/s390x-linux64-valgrind-s2.xml
lib/valgrind/s390x-linux64.xml
lib/valgrind/vgpreload_core-amd64-freebsd.so
lib/valgrind/vgpreload_drd-amd64-freebsd.so
lib/valgrind/vgpreload_exp-dhat-amd64-freebsd.so
lib/valgrind/vgpreload_exp-sgcheck-amd64-freebsd.so
lib/valgrind/vgpreload_helgrind-amd64-freebsd.so
lib/valgrind/vgpreload_massif-amd64-freebsd.so
lib/valgrind/vgpreload_memcheck-amd64-freebsd.so
lib/valgrind/libvexmultiarch-amd64-freebsd.a
libexec/valgrind/32bit-core-valgrind-s1.xml
libexec/valgrind/32bit-core-valgrind-s2.xml
libexec/valgrind/32bit-core.xml
libexec/valgrind/32bit-linux-valgrind-s1.xml
libexec/valgrind/32bit-linux-valgrind-s2.xml
libexec/valgrind/32bit-linux.xml
libexec/valgrind/32bit-sse-valgrind-s1.xml
libexec/valgrind/32bit-sse-valgrind-s2.xml
libexec/valgrind/32bit-sse.xml
libexec/valgrind/64bit-avx-valgrind-s1.xml
libexec/valgrind/64bit-avx-valgrind-s2.xml
libexec/valgrind/64bit-avx.xml
libexec/valgrind/64bit-core-valgrind-s1.xml
libexec/valgrind/64bit-core-valgrind-s2.xml
libexec/valgrind/64bit-core.xml
libexec/valgrind/64bit-linux-valgrind-s1.xml
libexec/valgrind/64bit-linux-valgrind-s2.xml
libexec/valgrind/64bit-linux.xml
libexec/valgrind/64bit-sse-valgrind-s1.xml
libexec/valgrind/64bit-sse-valgrind-s2.xml
libexec/valgrind/64bit-sse.xml
libexec/valgrind/amd64-avx-coresse-valgrind.xml
libexec/valgrind/amd64-avx-coresse.xml
libexec/valgrind/amd64-avx-linux-valgrind.xml
libexec/valgrind/amd64-avx-linux.xml
libexec/valgrind/amd64-coresse-valgrind.xml
libexec/valgrind/amd64-linux-valgrind.xml
libexec/valgrind/arm-core-valgrind-s1.xml
libexec/valgrind/arm-core-valgrind-s2.xml
libexec/valgrind/arm-core.xml
libexec/valgrind/arm-vfpv3-valgrind-s1.xml
libexec/valgrind/arm-vfpv3-valgrind-s2.xml
libexec/valgrind/arm-vfpv3.xml
libexec/valgrind/arm-with-vfpv3-valgrind.xml
libexec/valgrind/arm-with-vfpv3.xml
libexec/valgrind/cachegrind-amd64-freebsd
libexec/valgrind/callgrind-amd64-freebsd
libexec/valgrind/default.supp
libexec/valgrind/dh_view.css
libexec/valgrind/dh_view.html
libexec/valgrind/dh_view.js
libexec/valgrind/dhat-amd64-freebsd
libexec/valgrind/drd-amd64-freebsd
libexec/valgrind/exp-bbv-amd64-freebsd
libexec/valgrind/getoff-amd64-freebsd
libexec/valgrind/helgrind-amd64-freebsd
libexec/valgrind/i386-coresse-valgrind.xml
libexec/valgrind/i386-linux-valgrind.xml
libexec/valgrind/lackey-amd64-freebsd
libexec/valgrind/massif-amd64-freebsd
libexec/valgrind/memcheck-amd64-freebsd
libexec/valgrind/mips-cp0-valgrind-s1.xml
libexec/valgrind/mips-cp0-valgrind-s2.xml
libexec/valgrind/mips-cp0.xml
libexec/valgrind/mips-cpu-valgrind-s1.xml
libexec/valgrind/mips-cpu-valgrind-s2.xml
libexec/valgrind/mips-cpu.xml
libexec/valgrind/mips-fpu-valgrind-s1.xml
libexec/valgrind/mips-fpu-valgrind-s2.xml
libexec/valgrind/mips-fpu.xml
libexec/valgrind/mips-linux-valgrind.xml
libexec/valgrind/mips-linux.xml
libexec/valgrind/mips64-cp0-valgrind-s1.xml
libexec/valgrind/mips64-cp0-valgrind-s2.xml
libexec/valgrind/mips64-cp0.xml
libexec/valgrind/mips64-cpu-valgrind-s1.xml
libexec/valgrind/mips64-cpu-valgrind-s2.xml
libexec/valgrind/mips64-cpu.xml
libexec/valgrind/mips64-fpu-valgrind-s1.xml
libexec/valgrind/mips64-fpu-valgrind-s2.xml
libexec/valgrind/mips64-fpu.xml
libexec/valgrind/mips64-linux-valgrind.xml
libexec/valgrind/mips64-linux.xml
libexec/valgrind/none-amd64-freebsd
libexec/valgrind/power-altivec-valgrind-s1.xml
libexec/valgrind/power-altivec-valgrind-s2.xml
libexec/valgrind/power-altivec.xml
libexec/valgrind/power-core-valgrind-s1.xml
libexec/valgrind/power-core-valgrind-s2.xml
libexec/valgrind/power-core.xml
libexec/valgrind/power-fpu-valgrind-s1.xml
libexec/valgrind/power-fpu-valgrind-s2.xml
libexec/valgrind/power-fpu.xml
libexec/valgrind/power-linux-valgrind-s1.xml
libexec/valgrind/power-linux-valgrind-s2.xml
libexec/valgrind/power-linux.xml
libexec/valgrind/power-vsx-valgrind-s1.xml
libexec/valgrind/power-vsx-valgrind-s2.xml
libexec/valgrind/power-vsx.xml
libexec/valgrind/power64-core-valgrind-s1.xml
libexec/valgrind/power64-core-valgrind-s2.xml
libexec/valgrind/power64-core.xml
libexec/valgrind/power64-core2-valgrind-s1.xml
libexec/valgrind/power64-core2-valgrind-s2.xml
libexec/valgrind/power64-linux-valgrind-s1.xml
libexec/valgrind/power64-linux-valgrind-s2.xml
libexec/valgrind/power64-linux.xml
libexec/valgrind/powerpc-altivec32l-valgrind.xml
libexec/valgrind/powerpc-altivec32l.xml
libexec/valgrind/powerpc-altivec64l-valgrind.xml
libexec/valgrind/powerpc-altivec64l.xml
libexec/valgrind/s390-acr-valgrind-s1.xml
libexec/valgrind/s390-acr-valgrind-s2.xml
libexec/valgrind/s390-acr.xml
libexec/valgrind/s390-fpr-valgrind-s1.xml
libexec/valgrind/s390-fpr-valgrind-s2.xml
libexec/valgrind/s390-fpr.xml
libexec/valgrind/s390-vx-valgrind-s1.xml
libexec/valgrind/s390-vx-valgrind-s2.xml
libexec/valgrind/s390-vx.xml
libexec/valgrind/s390x-core64-valgrind-s1.xml
libexec/valgrind/s390x-core64-valgrind-s2.xml
libexec/valgrind/s390x-core64.xml
libexec/valgrind/s390x-generic-valgrind.xml
libexec/valgrind/s390x-generic.xml
libexec/valgrind/s390x-linux64-valgrind-s1.xml
libexec/valgrind/s390x-linux64-valgrind-s2.xml
libexec/valgrind/s390x-linux64.xml
libexec/valgrind/s390x-vx-linux-valgrind.xml
libexec/valgrind/s390x-vx-linux.xml
libexec/valgrind/vgpreload_core-amd64-freebsd.so
libexec/valgrind/vgpreload_dhat-amd64-freebsd.so
libexec/valgrind/vgpreload_drd-amd64-freebsd.so
libexec/valgrind/vgpreload_helgrind-amd64-freebsd.so
libexec/valgrind/vgpreload_massif-amd64-freebsd.so
libexec/valgrind/vgpreload_memcheck-amd64-freebsd.so
man/man1/callgrind_annotate.1.gz
man/man1/callgrind_control.1.gz
man/man1/cg_annotate.1.gz
man/man1/cg_diff.1.gz
man/man1/cg_merge.1.gz
man/man1/ms_print.1.gz
man/man1/valgrind-di-server.1.gz
man/man1/valgrind-listener.1.gz
man/man1/valgrind.1.gz
man/man1/vgdb.1.gz
@dirrm include/valgrind/vki
@dirrm include/valgrind
@dirrm lib/valgrind
share/doc/valgrind/html/bbv-manual.html
share/doc/valgrind/html/cg-manual.html
share/doc/valgrind/html/cl-format.html
share/doc/valgrind/html/cl-manual.html
share/doc/valgrind/html/design-impl.html
share/doc/valgrind/html/dh-manual.html
share/doc/valgrind/html/dist.authors.html
share/doc/valgrind/html/dist.html
share/doc/valgrind/html/dist.news.html
share/doc/valgrind/html/dist.news.old.html
share/doc/valgrind/html/dist.readme-android_emulator.html
share/doc/valgrind/html/dist.readme-android.html
share/doc/valgrind/html/dist.readme-developers.html
share/doc/valgrind/html/dist.readme-freebsd.html
share/doc/valgrind/html/dist.readme-mips.html
share/doc/valgrind/html/dist.readme-missing.html
share/doc/valgrind/html/dist.readme-packagers.html
share/doc/valgrind/html/dist.readme-s390.html
share/doc/valgrind/html/dist.readme-solaris.html
share/doc/valgrind/html/dist.readme.html
share/doc/valgrind/html/drd-manual.html
share/doc/valgrind/html/faq.html
share/doc/valgrind/html/FAQ.html
share/doc/valgrind/html/hg-manual.html
share/doc/valgrind/html/images/dh-tree.png
share/doc/valgrind/html/images/home.png
share/doc/valgrind/html/images/kcachegrind_xtree.png
share/doc/valgrind/html/images/next.png
share/doc/valgrind/html/images/prev.png
share/doc/valgrind/html/images/up.png
share/doc/valgrind/html/index.html
share/doc/valgrind/html/license.gfdl.html
share/doc/valgrind/html/license.gpl.html
share/doc/valgrind/html/licenses.html
share/doc/valgrind/html/lk-manual.html
share/doc/valgrind/html/manual-core-adv.html
share/doc/valgrind/html/manual-core.html
share/doc/valgrind/html/manual-intro.html
share/doc/valgrind/html/manual-writing-tools.html
share/doc/valgrind/html/manual.html
share/doc/valgrind/html/mc-manual.html
share/doc/valgrind/html/ms-manual.html
share/doc/valgrind/html/nl-manual.html
share/doc/valgrind/html/quick-start.html
share/doc/valgrind/html/QuickStart.html
share/doc/valgrind/html/tech-docs.html
share/doc/valgrind/html/vg_basic.css
share/doc/valgrind/valgrind_manual.pdf
share/doc/valgrind/valgrind_manual.ps
@dir include/valgrind/vki
@dir include/valgrind
@dir lib/pkgconfig
@dir lib/valgrind
@dir libexec/valgrind
@dir share/doc/valgrind/html/images
@dir share/doc/valgrind/html
@dir share/doc/valgrind