diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-01-02 01:48:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-01-02 01:48:30 (GMT) |
commit | 2d95ce74200c8cb7c328535235a8c8e74686794e (patch) | |
tree | 6e006e9b43b022a40ba53c58ed1f39be5327f880 /src/format/elf/section.h | |
parent | 7468875c1022337efbff78069d715672ae083150 (diff) |
Provided ways to load, save and edit some binary parts selection.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@141 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/elf/section.h')
-rw-r--r-- | src/format/elf/section.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format/elf/section.h b/src/format/elf/section.h index ca91097..811e32b 100644 --- a/src/format/elf/section.h +++ b/src/format/elf/section.h @@ -51,6 +51,9 @@ 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'adresse virtuelle correspondant à une position. */ bool translate_offset_into_address_using_elf_sections(const GElfFormat *, off_t, vmpa_t *); |