Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : store equality detected in heap comparison if fragment or block numbe...
[simgrid.git] / src / include / mc / datatypes.h
1 /* Copyright (c) 2008-2012. Da SimGrid Team. All rights reserved.           */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef MC_DATATYPE_H
7 #define MC_DATATYPE_H
8 #include "xbt/misc.h"
9 #include "xbt/swag.h"
10 #include "xbt/fifo.h"
11
12 SG_BEGIN_DECL()
13
14 /******************************* Transitions **********************************/
15
16 typedef struct s_mc_transition *mc_transition_t;
17
18
19 /*********** Structures for snapshot comparison **************************/
20
21 typedef struct s_mc_ignore_region{
22   int block;
23   int fragment;
24   void *address;
25   size_t size;
26 }s_mc_ignore_region_t, *mc_ignore_region_t;
27
28 typedef struct s_stack_region{
29   void *address;
30   char *process_name;
31   size_t size;
32 }s_stack_region_t, *stack_region_t;
33
34 typedef struct s_heap_equality{
35   void *address1;
36   void *address2;
37 }s_heap_equality_t, *heap_equality_t;
38
39 SG_END_DECL()
40 #endif                          /* _MC_MC_H */