/* mc::RemoteClient: representative of the Client memory on the MC side */
-/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2022. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
std::vector<s_stack_region_t> stack_areas_;
std::vector<IgnoredHeapRegion> ignored_heap_;
-public:
- // object info
- // TODO, make private (first, objectify simgrid::mc::ObjectInformation*)
- std::vector<std::shared_ptr<ObjectInformation>> object_infos;
- std::shared_ptr<ObjectInformation> binary_info;
-
// Copies of MCed SMX data structures
- /** Copy of `simix_global->process_list`
+ /** Copy of `EngineImpl::actor_list_`
*
- * See mc_smx.c.
+ * See mc_smx.cpp.
*/
std::vector<ActorInformation> smx_actors_infos;
- /** Copy of `simix_global->actors_to_destroy`
+ /** Copy of `EngineImpl::actors_to_destroy_`
*
- * See mc_smx.c.
+ * See mc_smx.cpp.
*/
std::vector<ActorInformation> smx_dead_actors_infos;
-private:
/** State of the cache (which variables are up to date) */
int cache_flags_ = RemoteProcess::cache_none;
public:
+ // object info
+ // TODO, make private (first, objectify simgrid::mc::ObjectInformation*)
+ std::vector<std::shared_ptr<ObjectInformation>> object_infos;
+ std::shared_ptr<ObjectInformation> binary_info;
+
/** Address of the heap structure in the MCed process. */
RemotePtr<s_xbt_mheap_t> heap_address;
* (with simgrid::mc::Process* / simgrid::mc::AddressSpace*
* and unw_context_t).
*/
- unw_addr_space_t unw_addr_space;
+ unw_addr_space_t unw_addr_space = nullptr;
/** Underlying libunwind address-space
*
* operations of the native MC address space is currently delegated
* to this address space (either the local or a ptrace unwinder).
*/
- unw_addr_space_t unw_underlying_addr_space;
+ unw_addr_space_t unw_underlying_addr_space = nullptr;
/** The corresponding context
*/
- void* unw_underlying_context;
+ void* unw_underlying_context = nullptr;
};
/** Open a FD to a remote process memory (`/dev/$pid/mem`) */