#include <gel/common.h>
#include <gel/types.h>
#include <gel/file.h>
Go to the source code of this file.
|
| int | gel_block_infos (gel_block_t *b, gel_block_info_t *bi) |
| |
| void | gel_close_libs (gel_image_t *im) |
| |
| gel_env_t * | gel_default_env () |
| |
| void | gel_image_close (gel_image_t *i) |
| |
| void | gel_image_close_only (gel_image_t *i) |
| |
| gel_enum_t * | gel_enum_glob_symbol (gel_image_t *im) |
| |
| gel_sym_t * | gel_find_glob_symbol (gel_image_t *i, char *name) |
| |
| gel_env_t * | gel_image_env (gel_image_t *i) |
| |
| int | gel_image_infos (gel_image_t *i, gel_image_info_t *ii) |
| |
| gel_image_t * | gel_image_load (gel_file_t *e, gel_env_t *env, int flags) |
| |
| int | gel_memory_image_infos (gel_memory_image_t *mi, gel_memory_image_info_t *mii) |
| |
| vaddr_t | gel_raddr_to_vaddr (raddr_t a, gel_image_t *i) |
| |
| int | gel_test_raddr (raddr_t a, gel_image_t *i) |
| |
| int | gel_test_vaddr (vaddr_t a, gel_image_t *i) |
| |
| raddr_t | gel_vaddr_to_raddr (vaddr_t a, gel_image_t *i) |
| |
| int | gel_memory_cluster_infos (gel_memory_cluster_t *mc, gel_memory_cluster_info_t *mci) |
| |
| void | gel_replacesym (gel_image_t *im, char *symname, gel_sym_t *newsym) |
| |
◆ auxv_t
◆ gel_env_t
◆ gel_close_libs()
Close all opended libraries files in an image, keeping only the memory blocks.
- Parameters
-
◆ gel_enum_glob_symbol()
Return an enumeration of the global symbols of the image. Free the returned enumeration with enu_free().
- Parameters
-
- Returns
- Enumeration or null if there is an error (error code in gel_errno).
◆ gel_find_glob_symbol()
Get a global symbol in the image from its name.
- Parameters
-
| im | Image descriptor.. |
| name | Symbol name. |
- Returns
- Symbol descriptor or null if it is not found..
◆ gel_replacesym()
Remplace (recopie) un symbole par un autre dans la table de hashage des symboles. Les deux symboles doivent avoir le meme nom.
- Parameters
-
| im | La table de hashage |
| symname | Le nom du symbole a remplacer |
| newsym | Le nouveau symbole a mettre a sa place. |
◆ gel_test_raddr()
Test if a real address is in a memory of an image.
- Parameters
-
| a | Real address to test. |
| im | Image to test with. |
- Returns
- 1 if it is contained, 0 else.
◆ gel_test_vaddr()
Test if a virtual address really exists in an image.
- Parameters
-
| a | Virtual address to test. |
| im | Current image. |
- Returns
- 1 if it exists, 0 else.