In these days I was working with x86-64 and I write a few modules for an older bootloader. Therefore I decided to mess with GRUB loadable modules!| Gabriele Serra’s Webpage
Long story short: yesterday, I worked on an old C project and refactor the entire structure. That project counts hundreds of files and, when deleting the unused .c files, I was thinking about an auto-magical method to delete also the coupled .h file.| Gabriele Serra’s Webpage
Yesterday I needed to start some benchmarks and I was far away from the server I use to do them. Then I decided to setup my iPhone (yes, I’m an iPhone addicted user) to access the internal network of the laboratory and connect to the server with a remote terminal. After some trials I succeeded, so I am writing this post to help someone else (and also to remember it myself!)| Gabriele Serra’s Webpage
As a C programmer, I often find myself reasoning whether I can simplify the code I’m writing using some macros. If you are into C and GNU stuff, you can really find macros everywhere.| Gabriele Serra’s Webpage
In the optic to enhance our embedded system’s security, having a compiler plugin feature is fundamental to add new features at compilation time without having to modify the compiler itself (and with minimum knowledge of compiler internals!) This article addresses GCC versions 9 and above on Ubuntu 20.04 LTS. I hope the guide can be enjoyed for other OS/GCC Version.| Gabriele Serra’s Webpage