summaryrefslogtreecommitdiff
path: root/src/format/dwarf/dwarf-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2008-08-22 21:57:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2008-08-22 21:57:08 (GMT)
commit1b2ad075c4929cfc2b1efe9ff633a12c31dc7594 (patch)
tree9c535020b1519b0f94513cab561adeb8f4b212cc /src/format/dwarf/dwarf-int.h
parentf6f110acb8bf3243dffc527271c17619a078fcc4 (diff)
Made a first try to get all registered prototypes of functions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@18 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dwarf/dwarf-int.h')
-rw-r--r--src/format/dwarf/dwarf-int.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/format/dwarf/dwarf-int.h b/src/format/dwarf/dwarf-int.h
index 52130f8..4863bfe 100644
--- a/src/format/dwarf/dwarf-int.h
+++ b/src/format/dwarf/dwarf-int.h
@@ -69,6 +69,17 @@ typedef struct _dw_abbrev
} dw_abbrev;
+/* Eléments récupérés sur une fonction */
+typedef struct _dw_dbg_function
+{
+ char *name; /* Nom de la fonction */
+ char *prototype; /* Chaîne descriptive */
+
+ uint64_t low_pc; /* Début de la fonction */
+ uint64_t high_pc; /* Fin de la fonction */
+
+} dw_dbg_function;
+
/* Description du format DWARF */
@@ -81,6 +92,9 @@ struct _dwarf_format
dw_abbrev **abbrevs; /* Liste des abréviations */
size_t abbrevs_count; /* Nombre de ces abréviations */
+ dw_dbg_function dbg_functions; /* Liste de fonctions trouvées */
+ size_t dbg_fc_count; /* Nombre de ces fonctions */
+
};