I've used Disqus to add comments. At the moment, guests can comment and comments do not need to be approved (unless they have links). Hopefully there won't be much spam to sink the occasional comment that I think will be posted.
Update from 2020: Comments without approval were a mistake. I got so much spam and harassment.
Note: I just wanted to make it work in a hurry. There are probably better ways of doing this.
I stumbled upon the very useful tool memfetch by the talented lcamtuf. The utility is quite old (from 2003 if I recall correctly) and I could not build it using the provided makefile.
|
|
Seems like the location of header files have moved since then.
This stackoverflow answer mentions
removing asm/page.h
and adding linux/types.h
. Let's see what happens:
|
|
The page.h
file is located at
/usr/src/linux-headers-3.12-kali1-common/include/asm-generic/page.h
on Kali
linux. This is where PAGE_SIZE
is defined. Just adding it to memfetch.c
along with changing #include <asm/page.h>
to #include <linux/types.h>
will do the trick.
|
|
If there is a better way to make this work, please let me know.