3 ms·
you can run the kernel in userspace so that valgrind can attach to it.
by m00dy 10y ago
you can run the kernel in userspace so that valgrind can attach to it.
- lisivka 10y agoIt was done for UML kernel 2.6 with patches: http://web.archive.org/web/20100126181646/http://uml.jfdi.org/uml/Wiki.jsp?page=ValgrindingUML http://web.archive.org/web/20100126181646/http://uml.jfdi.or... . But today, it's impossible: http://marc.info/?l=user-mode-linux-user&m=140187124116532&w=2 http://marc.info/?l=user-mode-linux-user&m=140187124116532&w... > > So, is it possible to run linux (>3.12) with valgrind? If yes, how to do it? > No. > A long time ago it was possible after applying a patch to both UML and valgrind.
- hannob 10y agoBut why would you want to? There's kasan, which is faster and catches more bug classes.