X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6c9922204dbafacbc6d1cc25d519f7c9a46c96e9..e3f5ca3fd3726e67046afbd03e48e9cd7294b835:/src/mc/mc_object_info.h diff --git a/src/mc/mc_object_info.h b/src/mc/mc_object_info.h index 57a83a8e2d..ea7775336a 100644 --- a/src/mc/mc_object_info.h +++ b/src/mc/mc_object_info.h @@ -73,6 +73,12 @@ struct s_mc_object_info { xbt_dynar_t functions_index; }; +static inline __attribute__ ((always_inline)) +bool MC_object_info_executable(mc_object_info_t info) +{ + return info->flags & MC_OBJECT_INFO_EXECUTABLE; +} + /** Find the DWARF offset for this ELF object * * An offset is applied to address found in DWARF: