A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model-checker : store local variables in raw heap
[simgrid.git]
/
src
/
mc
/
mc_private.h
diff --git
a/src/mc/mc_private.h
b/src/mc/mc_private.h
index
5c64d95
..
fbca8a5
100644
(file)
--- a/
src/mc/mc_private.h
+++ b/
src/mc/mc_private.h
@@
-20,6
+20,7
@@
#include "xbt/hash.h"
#include "msg/msg.h"
#include "msg/datatypes.h"
#include "xbt/hash.h"
#include "msg/msg.h"
#include "msg/datatypes.h"
+#include "xbt/strbuff.h"
/****************************** Snapshots ***********************************/
/****************************** Snapshots ***********************************/
@@
-33,8
+34,14
@@
typedef struct s_mc_mem_region{
typedef struct s_mc_snapshot{
unsigned int num_reg;
mc_mem_region_t *regions;
typedef struct s_mc_snapshot{
unsigned int num_reg;
mc_mem_region_t *regions;
+ xbt_dynar_t stacks;
} s_mc_snapshot_t, *mc_snapshot_t;
} s_mc_snapshot_t, *mc_snapshot_t;
+typedef struct s_mc_snapshot_stack{
+ xbt_strbuff_t local_variables;
+ void *stack_pointer;
+}s_mc_snapshot_stack_t, *mc_snapshot_stack_t;
+
void MC_take_snapshot(mc_snapshot_t);
void MC_take_snapshot_liveness(mc_snapshot_t s);
void MC_restore_snapshot(mc_snapshot_t);
void MC_take_snapshot(mc_snapshot_t);
void MC_take_snapshot_liveness(mc_snapshot_t s);
void MC_restore_snapshot(mc_snapshot_t);
@@
-206,6
+213,8
@@
extern xbt_fifo_t mc_stack_liveness;
extern mc_snapshot_t initial_snapshot_liveness;
extern xbt_automaton_t _mc_property_automaton;
extern int compare;
extern mc_snapshot_t initial_snapshot_liveness;
extern xbt_automaton_t _mc_property_automaton;
extern int compare;
+extern void *start_plt;
+extern void *end_plt;
typedef struct s_mc_pair{
mc_snapshot_t system_state;
typedef struct s_mc_pair{
mc_snapshot_t system_state;