Go to the first, previous, next, last section, table of contents.


Listing the Undefined Symbols

Function: char **dld_list_undefined_sym ()
The function dld_list_undefined_sym returns an array of undefined global symbol names.

The list returned contains all the symbols that have been referenced by some modules but have not been defined. This function is designed for debugging, especially in the case when a function is found to be not executable but you do not know what the missing symbols are.

The length of the array is given by the global variable dld_undefined_sym_count, which always holds the current total number of undefined global symbols. Note that all C symbols are listed in their internal representation--i.e., they are prefixed by the underscore character `_'.

Storage for the array returned is allocated by malloc. It is the programmer's responsibility to release this storage by free when it is not needed anymore.


Go to the first, previous, next, last section, table of contents.