summaryrefslogtreecommitdiff
path: root/src/analysis/scan/exprs/arithmop-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-08-06 16:54:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-08-06 16:54:57 (GMT)
commit4fcc35a52ccb025b6d803d85e017931cd2452960 (patch)
treee95920f16c273e41f9cae1ea2f02571c221a514e /src/analysis/scan/exprs/arithmop-int.h
parent74d062d4ec55d7ac3914bbf64b8b6c5ab52227df (diff)
Extend the ROST grammar with a first batch of new features.
Diffstat (limited to 'src/analysis/scan/exprs/arithmop-int.h')
-rw-r--r--src/analysis/scan/exprs/arithmop-int.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/analysis/scan/exprs/arithmop-int.h b/src/analysis/scan/exprs/arithmop-int.h
deleted file mode 100644
index 031de84..0000000
--- a/src/analysis/scan/exprs/arithmop-int.h
+++ /dev/null
@@ -1,60 +0,0 @@
-
-/* Chrysalide - Outil d'analyse de fichiers binaires
- * arithmop-int.h - prototypes internes pour la gestion des opérations arithmétiques
- *
- * Copyright (C) 2022 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 Foobar. If not, see <http://www.gnu.org/licenses/>.
- */
-
-
-#ifndef _ANALYSIS_SCAN_EXPRS_ARITHMOP_INT_H
-#define _ANALYSIS_SCAN_EXPRS_ARITHMOP_INT_H
-
-
-#include "arithmop.h"
-
-
-#include "../expr-int.h"
-
-
-
-/* Opération arithmétique impliquant deux opérandes (instance) */
-struct _GArithmOperation
-{
- GScanExpression parent; /* A laisser en premier */
-
- ArithmeticExpressionOperator operator; /* Type d'opération menée */
-
- GScanExpression *left; /* Expression impactée #1 */
- GScanExpression *right; /* Expression impactée #2 */
-
-};
-
-/* Opération arithmétique impliquant deux opérandes (classe) */
-struct _GArithmOperationClass
-{
- GScanExpressionClass parent; /* A laisser en premier */
-
-};
-
-
-/* Met en place une opération arithmétique entre expressions. */
-bool g_arithmetic_operation_create(GArithmOperation *, ArithmeticExpressionOperator, GScanExpression *, GScanExpression *);
-
-
-
-#endif /* _ANALYSIS_SCAN_EXPRS_ARITHMOP_INT_H */