X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3dd60a862d49627a1c169b4be980456fe13854f9..f150764ab6d151957355c437ad66146210cbf8f9:/src/mc/mc_private.h diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index f1e802f7ce..c992fcdffa 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -218,18 +218,8 @@ typedef struct s_memory_map { void MC_init_memory_map_info(void); memory_map_t MC_get_memory_map(void); void MC_free_memory_map(memory_map_t map); -void MC_get_libsimgrid_plt_section(void); -void MC_get_binary_plt_section(void); extern char *libsimgrid_path; -extern void *start_plt_libsimgrid; -extern void *end_plt_libsimgrid; -extern void *start_plt_binary; -extern void *end_plt_binary; -extern void *start_got_plt_libsimgrid; -extern void *end_got_plt_libsimgrid; -extern void *start_got_plt_binary; -extern void *end_got_plt_binary; /********************************** Snapshot comparison **********************************/ @@ -330,16 +320,22 @@ typedef struct s_mc_object_info { char* file_name; char* start_text; char* start_data; + char* start_bss; + void* start_plt; + void* end_plt; + void* start_got_plt; + void* end_got_plt; xbt_dict_t local_variables; xbt_dynar_t global_variables; xbt_dict_t types; - // TODO, add start_data, end _data ... } s_mc_object_info_t, *mc_object_info_t; mc_object_info_t MC_new_object_info(); -mc_object_info_t MC_find_object_address(memory_map_t maps, char* name); +mc_object_info_t MC_find_object_info(memory_map_t maps, char* name); void MC_free_object_info(mc_object_info_t* p); +void MC_dwarf_get_variables(mc_object_info_t info); + extern mc_object_info_t mc_libsimgrid_info; extern mc_object_info_t mc_binary_info;