summaryrefslogtreecommitdiff
path: root/plugins/elf/elf-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-02-15 13:22:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-02-15 13:22:10 (GMT)
commit04b1ee00d25383f977f59703e4c0bc66ad1faa81 (patch)
treea2c30ff10b9720f5377d230a4a23bd85aa3dcdc6 /plugins/elf/elf-int.h
parentcf0d30509224a887ecb9bf371a76eb070d3f2eb3 (diff)
Identified Elf imported symbols without waiting for the end of disassembling.
Diffstat (limited to 'plugins/elf/elf-int.h')
-rw-r--r--plugins/elf/elf-int.h6
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;