I followed this exercise . There are installation instructions for Valgrind 3.6.1 on this page, but this version of Valgrind is not supported by my current version of the Linux kernel. So, I installed Valgrind 3.11.0 and followed the instructions after running this command:
$ valgrind ./ex4
got this error:
valgrind: mmap(0x600000, 8192) failed in UME with error 12 (Cannot allocate memory).
How to do it?
I am using Ubuntu 14.04 LTS with kernel version 4.4.0
source
share