Browsing All posts tagged under »c«

Analyzing C source files dependencies in a program

November 24, 2013

4

This post shows an approach to draw graphs representing the dependency of C source files and modules throughout a complete program. The implementation of this method uses the functionalities of GNU ld to create a cross reference table, then NetworkX to create a graph and Graphviz to visualize it. The approach is applied to a simple example and a real embedded application (U-Boot).

C

October 18, 2011

0

I’ll probably never be as good, I’ll certainly never stop trying. The things we take for granted today are the revolutions of yesterday.

Emulating ARM PL011 serial ports

November 30, 2010

11

QEMU is able to emulate ARM systems with multiple serial ports, for example the Versatile PB. It has the ability to direct them to many types of host resources such as standard I/O, a pseudo-terminal or a telnet port. I started from my hello world example for bare-metal ARM programs to control three different serial […]

Trace and profile function calls with GCC

October 6, 2010

46

Software debugging is a complex task. There is always the need to collect all available information, in order to detect and understand the problem fast and to think of a proper solution. Sometimes it’s more convenient to debug step-by-step, sometimes it’s better to make the program run completely, and then trace the execution flow “offline”. […]

Follow

Get every new post delivered to your Inbox.

Join 451 other followers