delve/pkg/proc/native
Alessandro Arzilli e95ae9c21b
proc,terminal: read command line of new processes (#3346)
Read the command line of the main target process as well as any other
process Delve attaches to in follow exec mode.
The command line can be viewed using the 'target list' command.

In follow exec mode this command line is used to match the follow exec
regex to decide whether or not to attach to a child process.

On macOS or when using rr the list of arguments is not available for
attached processes since there is no way to use the gdb serial protocol
to read it.

Fixes #2242
2023-05-09 11:40:00 -07:00
..
dump_freebsd.go proc/native: support core dumping on FreeBSD (#3305) 2023-04-24 14:33:38 -07:00
dump_linux_amd64.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
dump_linux_other.go fmt code (#2826) 2021-12-13 10:25:23 -08:00
dump_linux.go proc/native: ignore 'pf' mappings during core dump creation (#2761) 2021-12-14 06:26:08 -08:00
dump_other.go proc/native: support core dumping on FreeBSD (#3305) 2023-04-24 14:33:38 -07:00
dump_windows_amd64.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
exc_user_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
exc.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
exec_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
exec_darwin.h proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
followexec_other.go proc,proc/native: adds ability to automatically debug child processes (#3165) 2023-02-22 09:26:28 -08:00
hwbreak_amd64.go proc/native: support watchpoints on Windows (#2651) 2021-09-24 15:17:46 -07:00
hwbreak_other.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
mach_exc_user_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
mach_exc.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
nonative_darwin.go proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
proc_darwin.go proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc_darwin.h proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
proc_ebpf_linux.go *: Replace libbpfgo with cilium/ebpf (#2771) 2021-11-03 16:58:04 +01:00
proc_freebsd.c proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc_freebsd.go proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc_freebsd.h proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc_linux.go proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc_no_ebpf_linux.go *: Replace libbpfgo with cilium/ebpf (#2771) 2021-11-03 16:58:04 +01:00
proc_unix.go fmt code (#2826) 2021-12-13 10:25:23 -08:00
proc_windows.go proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
proc.go proc,terminal: read command line of new processes (#3346) 2023-05-09 11:40:00 -07:00
ptrace_darwin.go fmt code (#2826) 2021-12-13 10:25:23 -08:00
ptrace_freebsd_amd64.go pkg/proc: fix and improve freebsd register handling (#3019) 2022-05-31 16:04:36 -07:00
ptrace_freebsd.go proc/native: fix syscalls to SYS_PROCESS_VM_READV (and WRITEV) (#3273) 2023-02-14 09:32:13 -08:00
ptrace_linux_64bit.go proc/native: fix syscalls to SYS_PROCESS_VM_READV (and WRITEV) (#3273) 2023-02-14 09:32:13 -08:00
ptrace_linux_386.go proc/native: fix syscalls to SYS_PROCESS_VM_READV (and WRITEV) (#3273) 2023-02-14 09:32:13 -08:00
ptrace_linux_amd64.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
ptrace_linux.go proc/native/linux: replace uses of unix.Iovec for target addresses (#2922) 2022-03-15 14:33:12 -07:00
register_linux_386.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_darwin_amd64.go proc: support function call injection on arm64 (#2996) 2022-05-03 10:46:24 -07:00
registers_freebsd_amd64.go pkg/proc: fix and improve freebsd register handling (#3019) 2022-05-31 16:04:36 -07:00
registers_linux_amd64.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_linux_arm64.go proc: support function call injection on arm64 (#2996) 2022-05-03 10:46:24 -07:00
registers_windows.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
support_sentinel_darwin.go proc/native: fix support_sentinel_darwin.go name (#3147) 2022-09-26 10:05:04 -07:00
support_sentinel_freebsd.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
support_sentinel_linux.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
support_sentinel_windows.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
support_sentinel.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
syscall_windows_amd64.go proc/native: refactor windows framework (#3079) 2022-07-27 18:36:34 +02:00
syscall_windows_arm64.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
syscall_windows.go proc/native: refactor windows framework (#3079) 2022-07-27 18:36:34 +02:00
threads_darwin.c *: fix some typos 2022-03-23 16:10:00 +01:00
threads_darwin.go proc/native: fix FreeBSD backend (#3224) 2022-12-20 09:54:16 -08:00
threads_darwin.h proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
threads_freebsd.go proc/native: fix FreeBSD backend (#3224) 2022-12-20 09:54:16 -08:00
threads_linux_386.go proc/native: support watchpoints on Windows (#2651) 2021-09-24 15:17:46 -07:00
threads_linux_amd64.go *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
threads_linux_arm64.go *: run go1.19 'go fmt' on everything and fix problems (#3031) 2022-06-17 10:08:11 -07:00
threads_linux.go proc,proc/native: adds ability to automatically debug child processes (#3165) 2023-02-22 09:26:28 -08:00
threads_windows_amd64.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
threads_windows_arm64.go Add support for windows/arm64 (#3063) 2022-09-21 13:39:44 -07:00
threads_windows.go proc: Fix typos in the comments (#3231) 2022-12-28 12:41:13 +01:00
threads.go proc/native: fix FreeBSD backend (#3224) 2022-12-20 09:54:16 -08:00
zsyscall_windows.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00