Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

 pwd: /out/package
ppid: 3586
   1: WRITELN pwd | cat > 1.txt
   2: WRITELN cat 1.txt
   3: WRITELN ls
   4: WRITELN exit

Your Answer

mumsh $ mumsh $ /out/package
mumsh $ 1.txt
driver
mumsh
mumsh_memory_check
mumsh $ exit

=================================================================
==3587==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 816 byte(s) in 1 object(s) allocated from:
    #0 0x4dcc50  (/out/package/mumsh_memory_check+0x4dcc50)
    #1 0x515498  (/out/package/mumsh_memory_check+0x515498)
    #2 0x7fc869404b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: 816 byte(s) leaked in 1 allocation(s).

JOJ Answer

mumsh $ mumsh $ /out/package
mumsh $ 1.txt
driver
mumsh
mumsh_memory_check
mumsh $ exit