diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-07-07 06:32:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-07-07 06:32:43 (GMT) |
commit | 4c10dfa2a95cea6fc704d68066d0c284cfd79342 (patch) | |
tree | 5827bbc411459800747e21929daecdf99fde7dfd /src/analysis/scan/exprs/str-int.h | |
parent | 3f996be1e5858b54740bf92515795982a16b169a (diff) |
Rewrite core parts of the ROST API.
Diffstat (limited to 'src/analysis/scan/exprs/str-int.h')
-rw-r--r-- | src/analysis/scan/exprs/str-int.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/analysis/scan/exprs/str-int.h b/src/analysis/scan/exprs/str-int.h deleted file mode 100644 index 9bed5cf..0000000 --- a/src/analysis/scan/exprs/str-int.h +++ /dev/null @@ -1,61 +0,0 @@ - -/* Chrysalide - Outil d'analyse de fichiers binaires - * str-int.h - prototypes internes pour la gestion des opérations booléennes - * - * 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_STR_INT_H -#define _ANALYSIS_SCAN_EXPRS_STR_INT_H - - -#include "str.h" - - -#include "../expr-int.h" - - - -/* Opération booléenne avec un ou deux opérandes (instance) */ -struct _GStringOperation -{ - GScanExpression parent; /* A laisser en premier */ - - StringOperationType type; /* Type d'opération menée */ - bool case_sensitive; /* Respect de la casse ? */ - - GScanExpression *first; /* Expression impactée #1 */ - GScanExpression *second; /* Expression impactée #2 */ - -}; - -/* Opération booléenne avec un ou deux opérandes (classe) */ -struct _GStringOperationClass -{ - GScanExpressionClass parent; /* A laisser en premier */ - -}; - - -/* Met en place une expression d'opération traite une chaîne. */ -bool g_string_operation_create(GStringOperation *, StringOperationType, GScanExpression *, GScanExpression *, bool); - - - -#endif /* _ANALYSIS_SCAN_EXPRS_STR_INT_H */ |