objectFile.h File Reference

Contains the interface of a structure that encapsulates information about object files. More...

#include <stdio.h>
#include "list.h"

Include dependency graph for objectFile.h:

This graph shows which files directly or indirectly include this file:

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.


Detailed Description

Contains the interface of a structure that encapsulates information about object files.

Author:
Dorian Weber
See also:
objectFile.c

Definition in file objectFile.h.


Function Documentation

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  ) 

Creates a new object file and returns a pointer to it.

Definition at line 172 of file objectFile.c.

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  ) 

Dumps the unused sections in XML format to stdout.

Definition at line 486 of file objectFile.c.

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  ) 

Returns the name of the given object file.

Definition at line 418 of file objectFile.c.

list* objectFileGetUnused ( objectFile *  src  ) 

Returns a list containing all unused sections.

Definition at line 401 of file objectFile.c.

list* objectFileGetUsed ( objectFile *  src  ) 

Returns a list containing all used sections.

Definition at line 384 of file objectFile.c.


Generated on Fri Jun 5 15:31:57 2009 for DeadStrip Utility by  doxygen 1.5.8