summaryrefslogtreecommitdiff
path: root/src/format/elf/section.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-03-31 17:50:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-03-31 17:50:08 (GMT)
commitebe248fe406de9565c8c7787187a1d439e68cd84 (patch)
tree8126ea63a5b753f549a90a107d6428db2b299ff2 /src/format/elf/section.h
parent24096140aaa73db9e982db4437bc42a013812658 (diff)
Extracted strings from some extra ELF sections.
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);