return get_model_checking_mode() == ModelCheckingMode::APP_SIDE ||
get_model_checking_mode() == ModelCheckingMode::CHECKER_SIDE;
}
-
-void MC_automaton_new_propositional_symbol_pointer(const char *name, int* value)
-{
-#if SIMGRID_HAVE_STATEFUL_MC
- xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE,
- "This should be called from the client side");
- if (MC_is_active())
- AppSide::get()->declare_symbol(name, value);
-#endif
-}
-
-void MC_ignore(void* addr, size_t size)
-{
-#if SIMGRID_HAVE_STATEFUL_MC
- xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE,
- "This should be called from the client side");
- if (MC_is_active())
- AppSide::get()->ignore_memory(addr, size);
-#endif
-}
-
-void MC_unignore(void* addr, size_t size)
-{
-#if SIMGRID_HAVE_STATEFUL_MC
- xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE,
- "This should be called from the client side");
- if (MC_is_active())
- AppSide::get()->unignore_memory(addr, size);
-#endif
-}
-
-void MC_ignore_heap(void *address, size_t size)
-{
-#if SIMGRID_HAVE_STATEFUL_MC
- xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE,
- "This should be called from the client side");
- if (MC_is_active())
- AppSide::get()->ignore_heap(address, size);
-#endif
-}
-
-void MC_unignore_heap(void* address, size_t size)
-{
-#if SIMGRID_HAVE_STATEFUL_MC
- xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE,
- "This should be called from the client side");
- if (MC_is_active())
- AppSide::get()->unignore_heap(address, size);
-#endif
-}