Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
mumsh $ mumsh $ mumsh $ AddressSanitizer:DEADLYSIGNAL ================================================================= ==12147==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004b209b bp 0x7ffe0b2e3b50 sp 0x7ffe0b2e32c0 T0) ==12147==The signal is caused by a READ memory access. ==12147==Hint: address points to the zero page. AddressSanitizer:DEADLYSIGNAL ================================================================= ==12148==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004b209b bp 0x7ffe0b2e3b50 sp 0x7ffe0b2e32c0 T0) ==12148==The signal is caused by a READ memory access. ==12148==Hint: address points to the zero page. #0 0x4b209a (/out/package/mumsh_memory_check+0x4b209a) #1 0x515ee1 (/out/package/mumsh_memory_check+0x515ee1) #2 0x517525 (/out/package/mumsh_memory_check+0x517525) #3 0x51707e (/out/package/mumsh_memory_check+0x51707e) #4 0x517629 (/out/package/mumsh_memory_check+0x517629) #5 0x51759d (/out/package/mumsh_m
JOJ Answer
mumsh $ mumsh $ mumsh $ mumsh $ 123 mumsh $ 321 123 mumsh $ 1.txt 2.txt driver mumsh mumsh_memory_check mumsh $ exit