Notes
This function is in beta test. Please help improve it in the issues
here.
pwd: /out/package ppid: 16207 1: WRITELN sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | echo 123 2: CTRL+C Scan child pids of ppid: 16207 SIGINT Send signal 2 to pid: 16207 Scan child pids of ppid: 16208 Send signal 2 to pid: 16208 Scan child pids of ppid: 16209 Send signal 2 to pid: 16209 Scan child pids of ppid: 16210 Send signal 2 to pid: 16210 Scan child pids of ppid: 16211 Send signal 2 to pid: 16211 Scan child pids of ppid: 16212 Send signal 2 to pid: 16212 Scan child pids of ppid: 16213 Send signal 2 to pid: 16213 Scan child pids of ppid: 16214 Send signal 2 to pid: 16214 Scan child pids of ppid: 16215 Send signal 2 to pid: 16215 Scan child pids of ppid: 16216 Send signal 2 to pid: 16216 Scan child pids of ppid: 16217 Send signal 2 to pid: 16217 Scan child pids of ppid: 16218 Send signal 2 to pid: 16218 Scan child pids of ppid: 16219 Send signal 2 to pid: 16219 3: CTRL+C Scan child pids of ppid: 16207 SIGINT Send signal 2 to pid: 16207 Scan
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
mumsh $ 123 mumsh $ mumsh $ success mumsh $ mumsh $ AddressSanitizer:DEADLYSIGNAL ================================================================= ==16208==ERROR: AddressSanitizer: SEGV on unknown address 0x1001f630dab8 (pc 0x7f5fdf74221c bp 0x7fffb196f750 sp 0x7fffb1964a18 T0) ==16208==The signal is caused by a WRITE memory access. #0 0x7f5fdf74221b (/lib/x86_64-linux-gnu/libc.so.6+0x18f21b) #1 0x5224ac (/out/package/mumsh_memory_check+0x5224ac) #2 0x7f5fdf5d4b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x41cc69 (/out/package/mumsh_memory_check+0x41cc69) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18f21b) ==16208==ABORTING
JOJ Answer
mumsh $ 123 mumsh $ mumsh $ success mumsh $ mumsh $ exit