Home Tags Struct

Tag: struct

Reordering C Structure Alignment

The memory footprint of C programs can be reduced by manually repacking C structure declarations. This article is about reordering the structure members in...

Device Drivers, Part 16: Kernel Window — Peeping through /proc

This article, which is part of the series on Linux device drivers, demonstrates the creation and usage of files under the /proc virtual filesystem. After...

GDB Logging Function Parameters, Part 2

In this second part on the topic, let us write a GDB script to log the parameters of a desired function, and also see...