summaryrefslogtreecommitdiff
path: root/src/debug/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/debugger.h')
-rw-r--r--src/debug/debugger.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/debug/debugger.h b/src/debug/debugger.h
index 362f8a1..7a6459b 100644
--- a/src/debug/debugger.h
+++ b/src/debug/debugger.h
@@ -31,6 +31,7 @@
#include "../analysis/binary.h"
+#include "../arch/archbase.h"
@@ -46,6 +47,16 @@ typedef enum _DebuggerType
} DebuggerType;
+/* Définition d'une frame */
+typedef struct _dbg_frame_t
+{
+
+ vmpa_t addr; /* Position dans le code */
+
+} dbg_frame_t;
+
+
+
/* Transmission des valeurs des registres */
typedef struct _register_value
{
@@ -91,6 +102,9 @@ void g_binary_debugger_kill(GBinaryDebugger *);
/* Fournit les identifiants de tous les threads actifs. */
pid_t *g_binary_debugger_list_all_threads(GBinaryDebugger *, char ***, size_t *);
+/* Fournit la liste des frames courantes d'un thread donné. */
+dbg_frame_t *g_binary_debugger_get_frames_stack(GBinaryDebugger *, pid_t, size_t *);
+
/* Fournit la valeur des registres de l'architecture. */
register_value *g_binary_debugger_get_registers(GBinaryDebugger *, size_t *);