diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/pychrysalide/glibext/bufferline.c | 36 | ||||
| -rw-r--r-- | plugins/ropgadgets/select.c | 2 | 
2 files changed, 1 insertions, 37 deletions
| diff --git a/plugins/pychrysalide/glibext/bufferline.c b/plugins/pychrysalide/glibext/bufferline.c index dc59b85..274300a 100644 --- a/plugins/pychrysalide/glibext/bufferline.c +++ b/plugins/pychrysalide/glibext/bufferline.c @@ -57,9 +57,6 @@ static PyObject *py_buffer_line_add_flag(PyObject *, PyObject *);  /* Retire une propriété particulière à une ligne donnée. */  static PyObject *py_buffer_line_remove_flag(PyObject *, PyObject *); -/* Fournit l'emplacement où se situe un symbole. */ -static PyObject *py_buffer_line_get_range(PyObject *, void *); -  /* Renseigne sur les propriétés particulières liées à une ligne. */  static PyObject *py_buffer_line_get_flags(PyObject *, void *); @@ -322,35 +319,6 @@ static PyObject *py_buffer_line_remove_flag(PyObject *self, PyObject *args)  *  Paramètres  : self    = objet Python concerné par l'appel.                 *  *                closure = non utilisé ici.                                   *  *                                                                             * -*  Description : Indique la zone mémoire où se situe la ligne.                * -*                                                                             * -*  Retour      : Emplacement mémoire virtuel ou physique.                     * -*                                                                             * -*  Remarques   : -                                                            * -*                                                                             * -******************************************************************************/ - -static PyObject *py_buffer_line_get_range(PyObject *self, void *closure) -{ -    PyObject *result;                       /* Valeur à retourner          */ -    GBufferLine *line;                      /* Elément à consulter         */ -    const mrange_t *range;                  /* Couverture courante         */ - -    line = G_BUFFER_LINE(pygobject_get(self)); -    range = g_buffer_line_get_range(line); - -    result = build_from_internal_mrange(range); - -    return result; - -} - - -/****************************************************************************** -*                                                                             * -*  Paramètres  : self    = objet Python concerné par l'appel.                 * -*                closure = non utilisé ici.                                   * -*                                                                             *  *  Description : Renseigne sur les propriétés particulières liées à une ligne.*  *                                                                             *  *  Retour      : Propriétés intégrées.                                        * @@ -447,10 +415,6 @@ PyTypeObject *get_python_buffer_line_type(void)      static PyGetSetDef py_buffer_line_getseters[] = {          { -            "range", py_buffer_line_get_range, NULL, -            "Range covered by the line.", NULL -        }, -        {              "flags", py_buffer_line_get_flags, NULL,              "Current flags of the buffer line.", NULL          }, diff --git a/plugins/ropgadgets/select.c b/plugins/ropgadgets/select.c index 9df71bb..099560a 100644 --- a/plugins/ropgadgets/select.c +++ b/plugins/ropgadgets/select.c @@ -1533,7 +1533,7 @@ static void add_new_gadgets_for_category(GExeFormat *format, GtkComboBoxText *co          {              instr = chain->instrs[j]; -            line = g_buffer_line_new(UNUSED_MRANGE_PTR, BLC_ASSEMBLY); +            line = g_buffer_line_new(BLC_ASSEMBLY);              g_line_generator_print(G_LINE_GENERATOR(instr), line, -1, 0, content);              if (j == 0) | 
