-bool MC_is_process(mc_address_space_t p);
-
-void MC_process_init(mc_process_t process, pid_t pid, int sockfd);
-void MC_process_clear(mc_process_t process);
-
-/** Refresh the information about the process
- *
- * Do not use direclty, this is used by the getters when appropriate
- * in order to have fresh data.
- */
-void MC_process_refresh_heap(mc_process_t process);
-
-/** Refresh the information about the process
- *
- * Do not use direclty, this is used by the getters when appropriate
- * in order to have fresh data.
- * */
-void MC_process_refresh_malloc_info(mc_process_t process);
-
-static inline
-bool MC_process_is_self(mc_process_t process)
-{
- return process->process_flags & MC_PROCESS_SELF_FLAG;
-}
-
-/* Process memory access: */
-
-/** Read data from a process memory
- *
- * @param process the process
- * @param local local memory address (destination)
- * @param remote target process memory address (source)
- * @param len data size
- */
-const void* MC_process_read(mc_process_t process,
- adress_space_read_flags_t flags,
- void* local, const void* remote, size_t len,
- int process_index);
-
-// Simplified versions/wrappers (whould be moved in mc_address_space):
-const void* MC_process_read_simple(mc_process_t process,
- void* local, const void* remote, size_t len);
-const void* MC_process_read_dynar_element(mc_process_t process,
- void* local, const void* remote_dynar, size_t i, size_t len);
-unsigned long MC_process_read_dynar_length(mc_process_t process, const void* remote_dynar);
-
-/** Write data to a process memory
- *
- * @param process the process
- * @param local local memory address (source)
- * @param remote target process memory address (target)
- * @param len data size