static bool is_stack(const void *address)
{
- for (auto const& stack : mc_model_checker->process().stack_areas())
+ for (auto const& stack : mc_model_checker->get_remote_simulation().stack_areas())
if (address == stack.address)
return true;
return false;
// TODO, this should depend on the snapshot?
static bool is_block_stack(int block)
{
- for (auto const& stack : mc_model_checker->process().stack_areas())
+ for (auto const& stack : mc_model_checker->get_remote_simulation().stack_areas())
if (block == stack.block)
return true;
return false;
if ((heap1->heaplimit != heap2->heaplimit) || (heap1->heapsize != heap2->heapsize))
return -1;
this->heaplimit = heap1->heaplimit;
- this->std_heap_copy = *mc_model_checker->process().get_heap();
+ this->std_heap_copy = *mc_model_checker->get_remote_simulation().get_heap();
this->processStates[0].initHeapInformation(heap1, i1);
this->processStates[1].initHeapInformation(heap2, i2);
return 0;
static bool mmalloc_heap_differ(StateComparator& state, const Snapshot& snapshot1, const Snapshot& snapshot2)
{
- const RemoteClientMemory& process = mc_model_checker->process();
+ const RemoteSimulation& process = mc_model_checker->get_remote_simulation();
/* Check busy blocks */
size_t i1 = 1;
const Snapshot& snapshot1, const Snapshot& snapshot2,
HeapLocationPairs* previous, int size, int check_ignore)
{
- const RemoteClientMemory& process = mc_model_checker->process();
+ const RemoteSimulation& process = mc_model_checker->get_remote_simulation();
const Region* heap_region1 = MC_get_heap_region(snapshot1);
const Region* heap_region2 = MC_get_heap_region(snapshot2);
static bool heap_area_differ(StateComparator& state, const void* area1, const void* area2, const Snapshot& snapshot1,
const Snapshot& snapshot2, HeapLocationPairs* previous, Type* type, int pointer_level)
{
- const simgrid::mc::RemoteClientMemory& process = mc_model_checker->process();
+ const simgrid::mc::RemoteSimulation& process = mc_model_checker->get_remote_simulation();
ssize_t block1;
ssize_t block2;
// TODO, make this a field of ModelChecker or something similar
static StateComparator state_comparator;
- const RemoteClientMemory& process = mc_model_checker->process();
+ const RemoteSimulation& process = mc_model_checker->get_remote_simulation();
if (s1->hash_ != s2->hash_) {
XBT_VERB("(%d - %d) Different hash: 0x%" PRIx64 "--0x%" PRIx64, s1->num_state_, s2->num_state_, s1->hash_,