summaryrefslogtreecommitdiff
path: root/plugins/dexbnf/python
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dexbnf/python')
-rw-r--r--plugins/dexbnf/python/demangler.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/dexbnf/python/demangler.c b/plugins/dexbnf/python/demangler.c
index 60d751b..5084204 100644
--- a/plugins/dexbnf/python/demangler.c
+++ b/plugins/dexbnf/python/demangler.c
@@ -60,6 +60,17 @@ static PyObject *py_dex_demangler_new(PyTypeObject *type, PyObject *args, PyObje
PyObject *result; /* Instance à retourner */
GCompDemangler *demangler; /* Instance à transposer */
+#define DEX_DEMANGLER_DOC \
+ "DexDemangler is an implementation of a demangler suitable for processing" \
+ " Dex files.\n" \
+ "\n" \
+ "Instances can be created using the following constructor:\n" \
+ "\n" \
+ " DexDemangler()" \
+ "\n" \
+ "The Android BNF-style definitions for mangled names is available at:" \
+ " https://source.android.com/devices/tech/dalvik/dex-format#string-syntax."
+
demangler = g_dex_demangler_new();
result = pygobject_new(G_OBJECT(demangler));
@@ -102,7 +113,7 @@ PyTypeObject *get_python_dex_demangler_type(void)
.tp_flags = Py_TPFLAGS_DEFAULT,
- .tp_doc = "PyChrysalide Dex demangler",
+ .tp_doc = DEX_DEMANGLER_DOC,
.tp_methods = py_dex_demangler_methods,
.tp_getset = py_dex_demangler_getseters,