summaryrefslogtreecommitdiff
path: root/src/format/elf/section.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf/section.h')
-rw-r--r--src/format/elf/section.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/format/elf/section.h b/src/format/elf/section.h
index aed6f9e..f3be0f4 100644
--- a/src/format/elf/section.h
+++ b/src/format/elf/section.h
@@ -45,9 +45,15 @@ bool find_elf_sections_by_type(const GElfFormat *, uint32_t, elf_shdr **, size_t
/* Fournit les adresses et taille contenues dans une section. */
void get_elf_section_content(const GElfFormat *, const elf_shdr *, phys_t *, phys_t *, virt_t *);
+/* Fournit la localisation d'une section. */
+void get_elf_section_range(const GElfFormat *, const elf_shdr *, mrange_t *);
+
/* Recherche une zone donnée au sein de binaire par nom. */
bool find_elf_section_content_by_name(const GElfFormat *, const char *, phys_t *, phys_t *, virt_t *);
+/* Recherche une zone donnée au sein de binaire par nom. */
+bool find_elf_section_range_by_name(const GElfFormat *, const char *, mrange_t *);
+
/* Identifie une chaîne de caractères dans une section adéquate. */
const char *extract_name_from_elf_string_section(const GElfFormat *, const elf_shdr *, off_t);