Get the App
SLTechnology News&Howtos  ›  Servers  › 

Using Doxygen+GraphViz to generate function pass in OSSIM source code

Shulou Source: shulou.com Published: 2022-06-03 09:20:26 09月21日 Update

When reading the OSSIM source code, you often need to refer to the function call diagram in the code. Below, we use Doxygen+GraphViz to generate this kind of image. As the function calls of most of the OSSIM source code are very complex, this starts with two simple PNG pictures.

OSSIM V2.1 Source Code: https://github.com/ossimuser/OSSIM

Figure 1 sim-log.c function relation call

Figure 2 function call relationship in the ossim.h header file

Figure 3 function call relationship in sim-container.h header file

Tips:

The installation of Doxygen+GraphViz combination has relevant installation materials on Windows, Linux and Mac platforms, which are not described in detail here.

Tags: Functions source code files generation complexity code images pictures platforms methods data combinations Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi vpn MariaDB MySQL Huawei