diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-02-17 17:51:06 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-02-17 17:51:06 (GMT) |
commit | 73605bffb935fc51a52be1936426211e31dd898a (patch) | |
tree | 094d72321011baae0d5054e06906e9d006249c3b /src/debug/jdwp/packet.h | |
parent | 98a3c749a15349b874dcef0ce3a43ebff651d95a (diff) |
Listed all running threads using Python.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@234 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/debug/jdwp/packet.h')
-rw-r--r-- | src/debug/jdwp/packet.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/debug/jdwp/packet.h b/src/debug/jdwp/packet.h index fda9faf..f27130d 100644 --- a/src/debug/jdwp/packet.h +++ b/src/debug/jdwp/packet.h @@ -2,7 +2,7 @@ /* OpenIDA - Outil d'analyse de fichiers binaires * packet.h - prototypes pour la définition des paquets destiné au protocole JDWP * - * Copyright (C) 2010 Cyrille Bagard + * Copyright (C) 2010-2012 Cyrille Bagard * * This file is part of OpenIDA. * @@ -52,6 +52,9 @@ typedef struct _GJdwpPacketClass GJdwpPacketClass; /* Indique le type défini pour un paquet de débogage JDWP. */ GType g_jdwp_packet_get_type(void); +/* Enregistre les différentes tailles dynamiques. */ +void g_jdwp_packet_set_sizes(GJdwpPacket *, const jdwp_cmd_vm_id_sizes_reply *); + /* Fournit l'adresse des données de l'en-tête d'un paquet JDWP. */ jdwp_header *g_jdwp_packet_get_header(GJdwpPacket *); @@ -68,6 +71,9 @@ void g_jdwp_packet_set_request_header(GJdwpPacket *, uint8_t, uint8_t); void g_jdwp_packet_set_reply_header(GJdwpPacket *, uint32_t, uint16_t); /* Fournit l'adresse des charges utiles d'un paquet JDWP. */ +void g_jdwp_packet_set_payload(GJdwpPacket *, const jdwp_payload *); + +/* Fournit l'adresse des charges utiles d'un paquet JDWP. */ jdwp_payload *g_jdwp_packet_get_payload(GJdwpPacket *); /* Fournit l'adresse des charges utiles d'un paquet JDWP. */ @@ -77,7 +83,7 @@ bin_t *g_jdwp_packet_get_pblob(GJdwpPacket *); bool g_jdwp_packet_parse_payload(GJdwpPacket *, uint8_t, uint8_t); /* Libère la mémoire occupée par une charge utile de paquet. */ -void g_jdwp_packet_free_payload(GJdwpPacket *, uint8_t, uint8_t); +void g_jdwp_packet_free_payload(GJdwpPacket *); /* Détermine si un paquet est une réponse à un premier paquet. */ bool g_jdwp_packet_is_reply(const GJdwpPacket *, const GJdwpPacket *); |