summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis/binary.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-05-29 10:13:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-05-29 10:13:16 (GMT)
commit3c493d4cd2c9e91a2cee08c80e3629ea75788605 (patch)
tree6d9483d4c8e2c3914ca47bb9e17d31201d266f30 /plugins/pychrysalide/analysis/binary.c
parentab7c898c87a1f235af6966941823cab502c550f6 (diff)
Define roles for allowed connections to servers.
Diffstat (limited to 'plugins/pychrysalide/analysis/binary.c')
-rw-r--r--plugins/pychrysalide/analysis/binary.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/binary.c b/plugins/pychrysalide/analysis/binary.c
index 2f8af5f..68f2d88 100644
--- a/plugins/pychrysalide/analysis/binary.c
+++ b/plugins/pychrysalide/analysis/binary.c
@@ -127,7 +127,7 @@ static PyObject *py_loaded_binary_get_client(PyObject *self, PyObject *args)
int internal; /* Nature du client visé */
int ret; /* Bilan de lecture des args. */
GLoadedBinary *binary; /* Binaire en cours d'analyse */
- GHubClient *client; /* Eventuel client en place */
+ GAnalystClient *client; /* Eventuel client en place */
#define LOADED_BINARY_GET_CLIENT_METHOD PYTHON_METHOD_DEF \
( \
@@ -135,6 +135,9 @@ static PyObject *py_loaded_binary_get_client(PyObject *self, PyObject *args)
METH_VARARGS, py_loaded_binary, \
"Provide the client connected to an internal or remote server" \
" if defined, or return None otherwise.\n" \
+ "\n" \
+ "The returned object is a pychrysalide.analysis.db.AnalystClient" \
+ " instance or *None*." \
)
internal = 1;