Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Create a separate simgrid-mc program
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 9 Jan 2015 15:04:25 +0000 (16:04 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 16 Jan 2015 08:33:29 +0000 (09:33 +0100)
commitd3794e5a4de776ee8051b047f9a3da5652457038
treebb308d7a637addde460e71b86a8c1a9551caacad
parent0418749f36845207a1fb714c471fbee35454bfb9
[mc] Create a separate simgrid-mc program

We create a separate program for the model-checker. The goal is that
this program will:

  - prepare the environment for the child/main process (environment
    variables, maybe LD_PRELOAD a library, pass file descriptors);

  - hold all the model-checker state;

  - communicate with the child process;

  - handle some part of the snapshoting/restoration logic;

  - handle the state comparison logic.

Currently it only enables the custom heap in the child process.
18 files changed:
buildtools/Cmake/DefinePackages.cmake
buildtools/Cmake/Distrib.cmake
buildtools/Cmake/MakeLib.cmake
examples/msg/mc/bugged1.tesh
examples/msg/mc/bugged1_liveness.tesh
examples/msg/mc/bugged1_liveness_sparse.tesh
examples/msg/mc/bugged1_liveness_visited.tesh
examples/msg/mc/bugged1_liveness_visited_sparse.tesh
examples/msg/mc/bugged2.tesh
examples/smpi/mc/non_deterministic.tesh
examples/smpi/mc/send_deterministic.tesh
src/mc/mc_base.h
src/mc/mc_memory.c
src/mc/simgrid_mc.c [new file with mode: 0644]
src/xbt/mmalloc/mm_legacy.c
src/xbt/mmalloc/mmprivate.h
teshsuite/mc/dwarf/dwarf.tesh
teshsuite/mc/replay/random_bug.tesh