/* Chrysalide - Outil d'analyse de fichiers binaires
* register.h - prototypes pour les aides auxiliaires relatives aux registres Dalvik
*
* Copyright (C) 2012-2025 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 Chrysalide. If not, see .
*/
#ifndef _ARCH_REGISTER_H
#define _ARCH_REGISTER_H
#include
#include "../glibext/helpers.h"
#define G_TYPE_ARCH_REGISTER (g_arch_register_get_type())
DECLARE_GTYPE(GArchRegister, g_arch_register, G, ARCH_REGISTER);
/* Indique si le registre correspond à ebp ou similaire. */
bool g_arch_register_is_base_pointer(const GArchRegister *);
/* Indique si le registre correspond à esp ou similaire. */
bool g_arch_register_is_stack_pointer(const GArchRegister *);
#endif /* _ARCH_REGISTER_H */