FreeBSD syscall: improve utrace wrappermaster
commit6f6025d53a8f53a85c74d03d7b177792f62ac147
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 4 Feb 2025 19:34:57 +0000 (4 20:34 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 4 Feb 2025 19:34:57 +0000 (4 20:34 +0100)
tree757f5446270fec3576b6eaaa0d6b85a8ebbc576a
parenta005226db8d59dd5c3b35f1011967891c71d9b28
FreeBSD syscall: improve utrace wrapper

The public wrapper is just a void pointer and length.
Internally, the struct used has holes which generate
errors (since ld.so which is probably the only user
of this syscall doesn't memset the struct to zero). Added
the struct definition and PRE_MEM_READ for each field.
.gitignore
coregrind/m_syswrap/syswrap-freebsd.c
memcheck/tests/freebsd/Makefile.am
memcheck/tests/freebsd/scalar.stderr.exp
memcheck/tests/freebsd/scalar.stderr.exp-x86
memcheck/tests/freebsd/utrace.stderr.exp [new file with mode: 0644]
memcheck/tests/freebsd/utrace.vgtest [new file with mode: 0644]