summaryrefslogtreecommitdiff
path: root/src/format/elf/section.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-03-29 17:24:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-03-29 17:24:22 (GMT)
commit52e036040b5e0ad8acde3d467ac8d9ca43ed414c (patch)
tree9f869999534857786fc8e0870772d8e5cabef2fb /src/format/elf/section.h
parent057cee1c3c109639af8f30e39e00f4884a353f31 (diff)
Used real virtual addresses when describing ELF items.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@496 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/elf/section.h')
-rw-r--r--src/format/elf/section.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/format/elf/section.h b/src/format/elf/section.h
index 59c2996..e300ee3 100644
--- a/src/format/elf/section.h
+++ b/src/format/elf/section.h
@@ -51,11 +51,11 @@ bool find_elf_section_content_by_name(const GElfFormat *, const char *, off_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);
-/* Fournit la position correspondant à une adresse virtuelle. */
-bool translate_address_into_offset_using_elf_sections(const GElfFormat *, vmpa_t, off_t *);
+/* Fournit l'emplacement correspondant à une position physique. */
+bool translate_offset_into_vmpa_using_elf_sections(const GElfFormat *, phys_t, vmpa2t *);
-/* Fournit l'adresse virtuelle correspondant à une position. */
-bool translate_offset_into_address_using_elf_sections(const GElfFormat *, off_t, vmpa_t *);
+/* Fournit l'emplacement correspondant à une adresse virtuelle. */
+bool translate_address_into_vmpa_using_elf_sections(const GElfFormat *, virt_t, vmpa2t *);