Implementing a system call in Linux kernel

Preface: After I have started to read and “dig in” into the world of Linux kernel development, and went over the procedure of compiling and installing the kernel – I’m now going to implement a basic system call. I would mention in advance, that this is mainly an educational purpose activity, so perhaps the system… Continue reading Implementing a system call in Linux kernel

Creating an Eclipse C++11 project with MakeFile

Recently I have found myself: – Maintaining my C/C++ projects using the CMake utility. – While working on a Linux machine, using Eclipse as my IDE. So, in this post I will describe how you could create a C++ project in Eclipse from a Makefile that was generated via the CMake utility. Some logistics notes:… Continue reading Creating an Eclipse C++11 project with MakeFile

Detecting memory leaks in unit tests within GTest framework on Linux

Hi all, I have recently wrote some unit tests for a class I have written at work and wanted to verify, in addition to the desired logic of my code, also a proper behavior of memory allocation and more importantly – de-allocation. In order to verify that, I have composed a simple “memory leak detector” that will… Continue reading Detecting memory leaks in unit tests within GTest framework on Linux

Debugging Python script as root in PyCharm under Linux

Recently I have encountered a situation at work where I needed to debug Python scripts,  which reside within my PyCharm IDE with root privileges. After a search on the web, and combining several solutions , I came up with this approach. An important note that is worth to mention here is that this approach does… Continue reading Debugging Python script as root in PyCharm under Linux