Home | History | Annotate | Download | only in debug

Lines Matching defs:region

552       const MappedMemoryRegion& region = *it;
553 if (region.start <= pc && pc < region.end) {
554 start_address = region.start;
566 base_address = (is_first ? 0U : start_address) - region.offset;
568 strncpy(file_path, region.path.c_str(), file_path_size);
572 return instance->GetFileDescriptor(region.path.c_str());
609 const MappedMemoryRegion& region = *it;
611 if ((region.permissions & MappedMemoryRegion::READ) ==
613 (region.permissions & MappedMemoryRegion::WRITE) == 0 &&
614 (region.permissions & MappedMemoryRegion::EXECUTE) ==
616 if (region.path.empty()) {
620 if (region.path[0] == '[') {
625 if (modules_.find(region.path) == modules_.end()) {
626 int fd = open(region.path.c_str(), O_RDONLY | O_CLOEXEC);
628 modules_.insert(std::make_pair(region.path, fd));
630 LOG(WARNING) << "Failed to open file: " << region.path