diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-11-24 14:28:22 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-11-24 14:28:22 (GMT) |
commit | dd851e1fb743d77b421519ee5915534aed2d2c4f (patch) | |
tree | 9a9f91c09438467ade7a67c5e2188b4051d23569 /plugins/dwarf/form.h | |
parent | 59b1bdfdc9b64dac8fd1450c51aa5014c8c469f0 (diff) |
Updated the DWARF support.
Diffstat (limited to 'plugins/dwarf/form.h')
-rw-r--r-- | plugins/dwarf/form.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/plugins/dwarf/form.h b/plugins/dwarf/form.h index bdef9b3..ec1ce1a 100644 --- a/plugins/dwarf/form.h +++ b/plugins/dwarf/form.h @@ -25,9 +25,22 @@ #define _FORMAT_DWARF_FORM_H -#include "dwarf_def.h" +#include "format.h" +#include <analysis/content.h> + + + +/* Valeurs dans DWARF */ +typedef union _dw_form_value dw_form_value; + + +/* Lit la valeur correspondant à un type donné. */ +bool read_dwarf_form_value(const GDwarfFormat *, GBinContent *, vmpa2t *, const dw_compil_unit_header *, DwarfForm, dw_form_value **); + +/* Supprime de la mémoire une valeur correspondant à un type. */ +void free_dwarf_form_value(dw_form_value *); /* Transcrit une valeur Dwarf brute en adresse virtuelle. */ bool translate_form_into_address(const dw_form_value *, DwarfForm, virt_t *); |