diff options
Diffstat (limited to 'plugins/elf/elf-int.h')
-rw-r--r-- | plugins/elf/elf-int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/elf/elf-int.h b/plugins/elf/elf-int.h index 461c5af..6a90dfe 100644 --- a/plugins/elf/elf-int.h +++ b/plugins/elf/elf-int.h @@ -40,8 +40,11 @@ typedef const char * (* get_elf_prgm_type_desc_cb) (uint32_t); /* Fournit une adresse virtuelle prête à emploi. */ typedef virt_t (* fix_elf_virt_addr_cb) (virt_t); +/* Détermine l'emplacement de la première entrée dans la PLT. */ +typedef bool (* find_first_plt_entry_cb) (GElfFormat *, vmpa2t *); + /* Retrouve le décalage appliqué lors d'une résolution. */ -typedef bool (* get_elf_linkage_offset_cb) (GElfFormat *, const mrange_t *, uint64_t *); +typedef bool (* get_elf_linkage_offset_cb) (GElfFormat *, vmpa2t *, uint64_t *); @@ -50,6 +53,7 @@ typedef struct _elf_arch_ops { get_elf_prgm_type_desc_cb get_type_desc;/* Description de type */ fix_elf_virt_addr_cb fix_virt; /* Retire toute forme d'infos */ + find_first_plt_entry_cb find_first_plt; /* Recherche d'entrée de PLT */ get_elf_linkage_offset_cb get_linkage_offset; /* Décalage de relocation*/ } elf_arch_ops; |