Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Merge Server class into ModelChecker
[simgrid.git] / src / mc / mc_private.h
index bbd2a64..00c1dd9 100644 (file)
 #include "xbt/fifo.h"
 #include "xbt/config.h"
 
+#ifdef __cplusplus
+#include "../xbt/memory_map.hpp"
+#endif
+
 #include "xbt/function_types.h"
 #include "xbt/mmalloc.h"
 #include "../simix/smx_private.h"
@@ -44,12 +48,7 @@ typedef struct s_mc_function_index_item s_mc_function_index_item_t, *mc_function
 
 /********************************* MC Global **********************************/
 
-/** Initialisation of the model-checker
- *
- * @param pid     PID of the target process
- * @param socket  FD for the communication socket **in server mode** (or -1 otherwise)
- */
-void MC_init_model_checker(pid_t pid, int socket);
+XBT_PRIVATE void MC_init_dot_output();
 
 XBT_PRIVATE extern FILE *dot_output;
 XBT_PRIVATE extern const char* colors[13];
@@ -115,9 +114,17 @@ XBT_PRIVATE void print_comparison_times(void);
 XBT_PRIVATE void MC_dump_stacks(FILE* file);
 
 XBT_PRIVATE void MC_report_assertion_error(void);
+XBT_PRIVATE void MC_report_crash(int status);
 
 XBT_PRIVATE void MC_invalidate_cache(void);
 
+#ifdef __cplusplus
+
+XBT_PRIVATE void MC_find_object_address(
+  std::vector<simgrid::xbt::VmMap> const& maps, simgrid::mc::ObjectInformation* result);
+
+#endif
+
 SG_END_DECL()
 
 #endif