diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-10-02 07:14:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-10-02 07:14:50 (GMT) |
commit | 1b991b5c66cc44b6f93a14c1c265683074224004 (patch) | |
tree | 0f05b9daad87d85c9318fe28ef0d2f8a787b0b37 /plugins/pychrysalide/analysis/scan/patterns/modifiers | |
parent | e662be152d0b2fe0d1626a845121db5f1a51d9aa (diff) |
Implement Base64 encoding for scan pattern modifications.
Diffstat (limited to 'plugins/pychrysalide/analysis/scan/patterns/modifiers')
-rw-r--r-- | plugins/pychrysalide/analysis/scan/patterns/modifiers/xor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/analysis/scan/patterns/modifiers/xor.c b/plugins/pychrysalide/analysis/scan/patterns/modifiers/xor.c index 1280f2f..17a32f4 100644 --- a/plugins/pychrysalide/analysis/scan/patterns/modifiers/xor.c +++ b/plugins/pychrysalide/analysis/scan/patterns/modifiers/xor.c @@ -1,6 +1,6 @@ /* Chrysalide - Outil d'analyse de fichiers binaires - * hex.c - équivalent Python du fichier "analysis/scan/patterns/modifiers/hex.c" + * xor.c - équivalent Python du fichier "analysis/scan/patterns/modifiers/xor.c" * * Copyright (C) 2023 Cyrille Bagard * @@ -63,7 +63,7 @@ static int py_scan_xor_modifier_init(PyObject *self, PyObject *args, PyObject *k { int ret; /* Bilan de lecture des args. */ -#define SCAN_HEX_MODIFIER_DOC \ +#define SCAN_XOR_MODIFIER_DOC \ "The *XorModifier* class transforms a byte pattern by XORing bytes.\n" \ "\n" \ "Instances can be created using the following constructor:\n" \ @@ -111,7 +111,7 @@ PyTypeObject *get_python_scan_xor_modifier_type(void) .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, - .tp_doc = SCAN_HEX_MODIFIER_DOC, + .tp_doc = SCAN_XOR_MODIFIER_DOC, .tp_methods = py_scan_xor_modifier_methods, .tp_getset = py_scan_xor_modifier_getseters, |