diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-06-21 20:43:23 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-06-21 20:43:48 (GMT) |
commit | 27f44a381ed8c317a16df450ec00ed87bbb9a4b3 (patch) | |
tree | 12fac37958fac2eadf5d457834b5fa84ad2fd2eb /plugins/elf/loading.h | |
parent | f12dc45c8b5139c0415a240c23bbc980f252a866 (diff) |
Loaded strings from ELF files using all threads.
Diffstat (limited to 'plugins/elf/loading.h')
-rw-r--r-- | plugins/elf/loading.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/elf/loading.h b/plugins/elf/loading.h index dcf22e2..e1407f5 100644 --- a/plugins/elf/loading.h +++ b/plugins/elf/loading.h @@ -67,6 +67,9 @@ GElfLoading *g_elf_loading_new_for_relocations(GElfFormat *, phys_t, phys_t, elf /* Crée une tâche de chargement pour ELF différée. */ GElfLoading *g_elf_loading_new_for_applying(GElfFormat *, sym_iter_t *, phys_t, elf_rel *, size_t, phys_t, uint32_t, activity_id_t, elf_applying_cb); +/* Crée une tâche de chargement de chaînes pour ELF différée. */ +GElfLoading *g_elf_loading_new_for_strings(GElfFormat *, phys_t, phys_t, phys_t, phys_t, virt_t, activity_id_t, elf_loading_cb); + /* Fournit le bilan des traitements différés. */ bool g_elf_loading_get_status(const GElfLoading *); @@ -82,6 +85,12 @@ bool g_elf_loading_search_for_relocation(const GElfLoading *, const uint64_t *, /* Construit la désignation adaptée à un symbole importé. */ char *g_elf_loading_build_plt_name(const GElfLoading *, uint64_t); +/* Donne les informations utiles à la recherche de chaînes. */ +const bin_t *g_elf_loading_get_info_for_strings(const GElfLoading *, GBinContent **, phys_t *, phys_t *, phys_t *); + +/* Détermine l'adresse de départ d'une chaîne avec une position. */ +void g_elf_loading_compute_string_address(const GElfLoading *, const phys_t *, vmpa2t *); + #endif /* _PLUGINS_ELF_LOADING_H */ |