diff options
Diffstat (limited to 'src/debug/jdwp/sets/list.h')
-rw-r--r-- | src/debug/jdwp/sets/list.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/debug/jdwp/sets/list.h b/src/debug/jdwp/sets/list.h index 2fb135e..9880e69 100644 --- a/src/debug/jdwp/sets/list.h +++ b/src/debug/jdwp/sets/list.h @@ -2,7 +2,7 @@ /* OpenIDA - Outil d'analyse de fichiers binaires * list.h - prototypes pour l'ensemble des jeux de commandes de JDWP * - * Copyright (C) 2010 Cyrille Bagard + * Copyright (C) 2010-2012 Cyrille Bagard * * This file is part of OpenIDA. * @@ -37,17 +37,25 @@ typedef union _jdwp_payload { jdwp_cmd_vm_version_reply vs_reply; /* Infos. sur la version */ + jdwp_cmd_vm_allthreads_reply th_reply; /* Liste des threads */ + jdwp_cmd_vm_id_sizes_reply sz_reply; /* Tailles dynamiques */ + + jdwp_cmd_thread_name_request th_ident; /* Identification d'un thread */ + jdwp_cmd_thread_name_reply th_name; /* Désignation d'un thread */ bin_t padding[500]; } jdwp_payload; +/* Reconstitue un contenu binaire à partir d'une charge utile. */ +bool set_jdwp_payload(const jdwp_payload *, uint8_t, uint8_t, const jdwp_cmd_vm_id_sizes_reply *, bin_t *, off_t *); + /* Reconstitue une charge utile à partir d'un contenu binaire. */ -bool get_jdwp_payload(const bin_t *, off_t, uint8_t, uint8_t, jdwp_payload *); +bool get_jdwp_payload(const bin_t *, off_t, uint8_t, uint8_t, const jdwp_cmd_vm_id_sizes_reply *, jdwp_payload *); /* Libère le contenu d'une charge utile. */ -void free_jdwp_payload(jdwp_payload *, uint8_t, uint8_t); +void free_jdwp_payload(jdwp_payload *, bool, uint8_t, uint8_t); |