diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-02 22:46:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-02 22:46:14 (GMT) |
commit | 8dc83465a6ca2d5b94b983b39f6c06d37e4126a0 (patch) | |
tree | b5594fe7cd0d9e9a9269eaa3454412da2bd9dd5a /plugins/itanium/python/demangler.h | |
parent | de2cb8e2fad4a3031d7b7c2cb189a6dbdaf8d5a9 (diff) |
Improved the Itanium C++ demangling.
Diffstat (limited to 'plugins/itanium/python/demangler.h')
-rw-r--r-- | plugins/itanium/python/demangler.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/itanium/python/demangler.h b/plugins/itanium/python/demangler.h new file mode 100644 index 0000000..e84313a --- /dev/null +++ b/plugins/itanium/python/demangler.h @@ -0,0 +1,42 @@ + +/* Chrysalide - Outil d'analyse de fichiers binaires + * demangler.h - prototypes pour l'équivalent Python du fichier "plugins/itanium/demangler.h" + * + * Copyright (C) 2018 Cyrille Bagard + * + * This file is part of Chrysalide. + * + * Chrysalide is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Chrysalide is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef _PLUGINS_ITANIUM_PYTHON_DEMANGLER_H +#define _PLUGINS_ITANIUM_PYTHON_DEMANGLER_H + + +#include <Python.h> +#include <stdbool.h> + + + +/* Fournit un accès à une définition de type à diffuser. */ +PyTypeObject *get_python_itanium_demangler_type(void); + +/* Prend en charge l'objet 'pychrysalide.format.mangling.ItaniumDemangler'. */ +bool register_python_itanium_demangler(PyObject *); + + + +#endif /* _PLUGINS_ITANIUM_PYTHON_DEMANGLER_H */ |