+ xbt_assert(mc_model_checker == nullptr);
+ if (not MC_is_active())
+ return;
+ simgrid::mc::Client::get()->declareSymbol(name, value);
+}
+
+/** @brief Register a stack in the model checker
+ *
+ * The stacks are allocated in the heap. The MC handle them specifically
+ * when we analyze/compare the content of the heap so it must be told where
+ * they are with this function.
+ *
+ * @param stack Where the stack is
+ * @param actor Actor owning the stack
+ * @param context The context associated to that stack
+ * @param size Size of the stack
+ */
+void MC_register_stack_area(void* stack, smx_actor_t actor, ucontext_t* context, size_t size)
+{
+ xbt_assert(mc_model_checker == nullptr);
+ if (not MC_is_active())