Home | History | Annotate | Download | only in msandr

Lines Matching full:mod_data

355 bool ShouldInstrumentModule(ModuleData *mod_data) {
358 dr_get_proc_address(mod_data->handle_, "__msan_track_origins");
363 ModuleData *mod_data = LookupModuleByPC(pc);
365 *pmod_data = mod_data;
366 if (mod_data != NULL) {
368 if (!mod_data->should_instrument_) {
392 ModuleData *mod_data;
394 if (!ShouldInstrumentPc(pc, &mod_data))
400 std::string mod_path = (mod_data ? mod_data->path_ : "<no module, JITed?>");
401 if (mod_data && !mod_data->executed_) {
402 mod_data->executed_ = true; // Nevermind this race.
407 if (mod_data) {
410 dr_printf(" #0 %p (%s+%p)\n", pc, mod_data->path_.c_str(),
411 pc - mod_data->start_);
480 ModuleData mod_data(info);
482 upper_bound(g_module_list.begin(), g_module_list.end(), mod_data,
484 it = g_module_list.insert(it, mod_data);
501 ModuleData mod_data(info);
503 lower_bound(g_module_list.begin(), g_module_list.end(), mod_data,
506 CHECK(it != g_module_list.end() && it->start_ == mod_data.start_ &&
507 it->end_ == mod_data.end_ && it->path_ == mod_data.path_);