Fix Ubuntu Unmet Dependencies Issue

When I try to install s2e in my Ubuntu 12.04, there is a weired problem happens. It give the following error message when I try to install some of the libraries. Google directed me to the following solution, which worked perfectly for me. error 1[2][21:36:18][rui@~]$sudo apt-get install libsdl1.2-dev 2 3Reading package …

Two C Techniques: Typedef and Switch by "Symbol"

First to summarize the usage of typedef in C/C++. The usage can be categorized into three class: to indicate what a variable indicates to simplify a declaration, i.e. struct, class using typedef with pointers using typedef with typecasting Here are some tips: basically, typedef is define a more self-explained …

First Paper Is Submitted, Cheers!

On last Thursday, I had submitted my first paper in system security, the conference is USENIX. Though it is not very solid results. I finally got it submitted. Many thanks to my adviser and Mihai. Their invaluable advice always inspiring. I am going to list some deficiencies that I discovered from me. I am always …

Linux Kernel Module ABC

Install a kernel module in Linux If new feature needed: kernel module daemon kmod will exec the modprobe. modprobe is passed in the form of a name (softdog or ppp) or generic string identifier (char-major-10-30). If modprobe is handed a string identifier, it will look for the string in the file /etc/modprobe.conf. …

Buffer Overflow Exercise in Ubuntu

In Ubuntu system, there is some protection scheme deployed to avoid buffer overflow attacks. Before deploying the attack, we should disable all the kernel functionality that protect the system from buffer overflow. The program I am going to use is a small piece of c code that uses a strcpy function. The program is …