This module allows to traverse the symbols of an executable file.
You can also obtains the symbol of the file as:
}
int gel_sym_infos(gel_sym_t *s, gel_sym_info_t *smi)
Definition: sym.c:56
gel_sym_t * gel_sym_first(gel_sym_iter_t *iter, gel_file_t *file)
Definition: sym.c:92
gel_sym_t * gel_sym_next(gel_sym_iter_t *iter)
Definition: sym.c:106
struct gel_sym_s gel_sym_t
Definition: types.h:45
◆ gel_sym_info_t
Structure to store information available for a symbol. Returned by gel_sym_infos().
◆ gel_sym_first()
Get the first symbol of the file.
- Parameters
-
| iter | Iterator on file symbol. |
| file | File to iterate on symbols. |
◆ gel_sym_infos()
Get public information about a symbol. This information remains valid until the container file or image is deleted.
- Parameters
-
| s | Symbol to get information for. |
| smi | Structure to store symbol information in. |
- Returns
- 0 for success, -1 for failure (details in gel_errno)
◆ gel_sym_next()
Go to the next symbol.
- Parameters
-