[Bug 273956] KERN_PROC_VMMAP does not read all mapped files

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Sep 2023 14:25:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273956

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
I see all segments when tracing e.g. /bin/sh

# procstat -v $$
  PID              START                END PRT  RES PRES REF SHD FLAG  TP PATH
12717     0x10a3fd763000     0x10a3fd76c000 r--    7   39  36  18 CN--- vn
/bin/sh
12717     0x10a3fd76c000     0x10a3fd78c000 r-x   32   39  36  18 CN--- vn
/bin/sh
12717     0x10a3fd78c000     0x10a3fd78d000 r--    1    0   1   0 CN--- vn
/bin/sh
12717     0x10a3fd78d000     0x10a3fd78e000 rw-    1    0   1   0 CN--- vn
/bin/sh
...

How do I get memcheck-amd64-freebsd to run but stop before doing anything?

$ /usr/local/libexec/valgrind/memcheck-amd64-freebsd
valgrind: You cannot run '/usr/local/libexec/valgrind/memcheck-amd64-freebsd'
directly.
valgrind: You should use $prefix/bin/valgrind.

-- 
You are receiving this mail because:
You are the assignee for the bug.