/* OpenIDA - Outil d'analyse de fichiers binaires * itanium.h - prototypes pour le décodage des noms d'éléments selon Intel * * Copyright (C) 2009-2010 Cyrille Bagard * * This file is part of OpenIDA. * * OpenIDA 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. * * OpenIDA 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 Foobar. If not, see . */ #ifndef _FORMAT_MANGLING_ITANIUM_H #define _FORMAT_MANGLING_ITANIUM_H #include #include "context.h" #include "demangler.h" /* --------------------- CONTEXTE POUR LE DECODAGE TYPE ITANIUM --------------------- */ /* Contexte de décodage Itanium (instance) */ typedef struct _GItaniumDContext GItaniumDContext; /* Contexte de décodage Itanium (classe) */ typedef struct _GItaniumDContextClass GItaniumDContextClass; /* Prépare de quoi effectuer un décodage Itanium. */ GDemanglingContext *g_itanium_dcontext_new(void); /* ------------------------ TRAITEMENT DE L'ENCODAGE ITANIUM ------------------------ */ /* Indique si une chaîne peut être traitée par le décodeur. */ bool can_be_itanium_demangled(const char *); /* Procède au décodage d'une chaîne de caractères. */ bool demangle_itanium_routine(GItaniumDContext *, const char *); #endif /* _FORMAT_MANGLING_ITANIUM_H */