#include <stdio.h>
#include "list.h"
Go to the source code of this file.
Functions | |
objectFile * | objectFileCreate (const char *name) |
Creates a new object file and returns a pointer to it. | |
void | objectFileCollect (objectFile *src, FILE *file) |
Collects all the sections from a objdump generated file. | |
void | objectFileCompute (list *oFiles, FILE *file) |
Computes the dependencies between the various sections of the objects. | |
void | objectFileColorize (const char *seed, unsigned long color) |
Recursively colorizes the dependency graph starting with seed. Two colors get mixed using binary OR. | |
list * | objectFileGetUsed (objectFile *src) |
Returns a list containing all used sections. | |
list * | objectFileGetUnused (objectFile *src) |
Returns a list containing all unused sections. | |
const char * | objectFileGetName (objectFile *src) |
Returns the name of the given object file. | |
void | objectFileDumpMap (list *oFiles) |
Dumps the dependency graph XML-like formatted to stdout. | |
void | objectFileDumpUsed (list *oFiles) |
Dumps the used sections in XML-like formatted to stdout. | |
void | objectFileDumpUnused (list *oFiles) |
Dumps the unused sections in XML format to stdout. |
Definition in file objectFile.h.
void objectFileCollect | ( | objectFile * | src, | |
FILE * | file | |||
) |
Collects all the sections from a objdump generated file.
Definition at line 182 of file objectFile.c.
void objectFileColorize | ( | const char * | seed, | |
unsigned long | color | |||
) |
Recursively colorizes the dependency graph starting with seed. Two colors get mixed using binary OR.
Definition at line 376 of file objectFile.c.
void objectFileCompute | ( | list * | oFiles, | |
FILE * | file | |||
) |
Computes the dependencies between the various sections of the objects.
Definition at line 245 of file objectFile.c.
objectFile* objectFileCreate | ( | const char * | name | ) |
void objectFileDumpMap | ( | list * | oFiles | ) |
Dumps the dependency graph XML-like formatted to stdout.
Definition at line 423 of file objectFile.c.
void objectFileDumpUnused | ( | list * | oFiles | ) |
void objectFileDumpUsed | ( | list * | oFiles | ) |
Dumps the used sections in XML-like formatted to stdout.
Definition at line 463 of file objectFile.c.
const char* objectFileGetName | ( | objectFile * | src | ) |
list* objectFileGetUnused | ( | objectFile * | src | ) |
list* objectFileGetUsed | ( | objectFile * | src | ) |