/system/unwinding/libunwindstack/tests/ |
D | LocalUpdatableMapsTest.cpp | 64 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in SetUp() 72 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in SetUp() 93 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() 101 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() 121 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, map_info->flags()); in TEST_F() 129 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() 139 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() 159 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() 167 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() 177 EXPECT_EQ(PROT_READ | PROT_EXEC, map_info->flags()); in TEST_F() [all …]
|
D | MapsTest.cpp | 90 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST() 104 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST() 163 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST() 169 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST() 211 EXPECT_EQ(PROT_EXEC, info->flags()); in TEST() 219 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info->flags()); in TEST() 375 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST() 383 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST() 391 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST() 417 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST() [all …]
|
D | UnwinderTest.cpp | 103 AddMapInfo(0xa3000, 0xa4000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake.vdex"); in SetUpTestSuite() 109 AddMapInfo(0xa5000, 0xa6000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake_load_bias.so", in SetUpTestSuite() 114 map_info = AddMapInfo(0xa7000, 0xa8000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in SetUpTestSuite() 120 map_info = AddMapInfo(0xc0000, 0xc1000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in SetUpTestSuite() 126 map_info = AddMapInfo(0xc1000, 0xc2000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "[vdso]", elf); in SetUpTestSuite() 131 map_info = AddMapInfo(0xc2000, 0xc3000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "", elf); in SetUpTestSuite() 136 map_info = AddMapInfo(0xc3000, 0xc4000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in SetUpTestSuite() 141 AddMapInfo(0xd0000, 0xd1000, 0x1000, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake.apk"); in SetUpTestSuite() 152 AddMapInfo(0xf0000, 0xf1000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/global.so", elf); in SetUpTestSuite() 173 map_info = AddMapInfo(0x100000, 0x101000, 0x1000, PROT_READ | PROT_WRITE | PROT_EXEC, in SetUpTestSuite() [all …]
|
D | MapInfoCreateMemoryTest.cpp | 287 maps.Add(0x3000, 0x5000, 0x4000, PROT_READ | PROT_EXEC, "/only/in/memory.so", 0); in TEST_F() 327 maps.Add(0x2000, 0x3000, 0x1000, PROT_READ | PROT_EXEC, "/only/in/memory.apk", 0); in TEST_F() 329 maps.Add(0x4000, 0x5000, 0xb000, PROT_READ | PROT_EXEC, "/only/in/memory.apk", 0); in TEST_F() 374 maps.Add(0x2000, 0x3000, 0x2000, PROT_READ | PROT_EXEC, elf_at_1000_.path, 0); in TEST_F() 418 maps.Add(0x3000, 0x4000, 0xfffffffffffff000UL, PROT_READ | PROT_EXEC, "/only/in/memory.so", 0); in TEST_F()
|
D | MapInfoGetElfTest.cpp | 395 PROT_READ | PROT_EXEC, elf_.path)); in InitMapInfo() 477 MapInfo rw_info(&empty, &r_info, 0x3000, 0x4000, 0x2000, PROT_READ | PROT_EXEC, elf_.path); in TEST_F()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | tombstone_test.cpp | 157 unwinder_mock_->MockAddMap(0xa534000, 0xa535000, 0x3000, PROT_EXEC, "", 0x2000); in TEST_F() 158 unwinder_mock_->MockAddMap(0xa634000, 0xa635000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST_F() 192 unwinder_mock_->MockAddMap(0xa534000, 0xa535000, 0x3000, PROT_EXEC, "", 0x2000); in TEST_F() 193 unwinder_mock_->MockAddMap(0xa634000, 0xa635000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST_F() 225 unwinder_mock_->MockAddMap(0xa534000, 0xa535000, 0x3000, PROT_EXEC, "", 0x2000); in TEST_F() 226 unwinder_mock_->MockAddMap(0xa634000, 0xa635000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST_F() 258 unwinder_mock_->MockAddMap(0xa534000, 0xa535000, 0x3000, PROT_EXEC, "", 0x2000); in TEST_F() 259 unwinder_mock_->MockAddMap(0xa634000, 0xa635000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST_F() 289 unwinder_mock_->MockAddMap(0xa534000, 0xa535000, 0x3000, PROT_EXEC, "", 0x2000); in TEST_F() 290 unwinder_mock_->MockAddMap(0xa634000, 0xa635000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST_F()
|
/system/libprocinfo/ |
D | process_map_test.cpp | 44 ASSERT_EQ(maps[876].flags, PROT_READ | PROT_EXEC); in TEST() 165 expected_info.emplace_back(0xa0000, 0xc0000, PROT_READ | PROT_WRITE | PROT_EXEC, 0xb00, 101, "", in TEST() 173 expected_info.emplace_back(0xa0000, 0xc0000, PROT_READ | PROT_WRITE | PROT_EXEC, 1, 100, "", in TEST() 177 expected_info.emplace_back(0x110000, 0x120000, PROT_EXEC, 4, 103, "[anon:something or another]", in TEST()
|
/system/unwinding/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 27 #define PROT_EXEC 0x4 macro 137 bool IsExecutable(uint64_t pc) { return GetFlags(pc) & PROT_EXEC; } in IsExecutable()
|
/system/memory/libmemunreachable/ |
D | ProcessMappings.cpp | 37 flags & PROT_WRITE, flags & PROT_EXEC, in operator ()()
|
/system/memory/libmeminfo/ |
D | libmeminfo_test.cpp | 383 EXPECT_EQ(vmas[0].flags, PROT_READ | PROT_EXEC); in TEST() 386 EXPECT_EQ(vmas[3].flags, PROT_READ | PROT_EXEC); in TEST() 387 EXPECT_EQ(vmas[4].flags, PROT_READ | PROT_EXEC); in TEST() 388 EXPECT_EQ(vmas[5].flags, PROT_READ | PROT_EXEC); in TEST() 527 EXPECT_EQ(vmas[0].flags, PROT_READ | PROT_EXEC); in TEST() 530 EXPECT_EQ(vmas[3].flags, PROT_READ | PROT_EXEC); in TEST() 531 EXPECT_EQ(vmas[4].flags, PROT_READ | PROT_EXEC); in TEST() 532 EXPECT_EQ(vmas[5].flags, PROT_READ | PROT_EXEC); in TEST()
|
/system/unwinding/libbacktrace/ |
D | BacktraceMap.cpp | 90 map->flags |= PROT_EXEC; in ParseLine()
|
D | backtrace_benchmarks.cpp | 84 flags |= PROT_EXEC; in CreateMap()
|
/system/memory/libmeminfo/tools/ |
D | procmem.cpp | 114 if (vma.flags & PROT_EXEC) flags_str[2] = 'x'; in show()
|
D | librank.cpp | 199 ((map.flags & (PROT_READ | PROT_WRITE | PROT_EXEC)) != g_mapflags_mask)) { in scan_libs_per_process() 232 ret |= PROT_EXEC; in parse_mapflags()
|
D | showmap.cpp | 201 if (v.vma.flags & PROT_EXEC) flags_str[2] = 'x'; in print_vmainfo()
|
/system/extras/simpleperf/ |
D | MapRecordReader.cpp | 65 if (!(map.prot & PROT_EXEC) && !keep_non_executable_maps_) { in ReadProcessMaps()
|
/system/memory/libion/ |
D | ion_test.c | 245 map_flags |= strstr(optarg, "PROT_EXEC") ? PROT_EXEC : 0; in main()
|
/system/libprocinfo/include/procinfo/ |
D | process_map.h | 132 flags |= PROT_EXEC; in ParseMapsFileLine()
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | zygote.te | 255 -apex_art_data_file # map PROT_EXEC 256 -dalvikcache_data_file # map PROT_EXEC
|
/system/sepolicy/private/ |
D | zygote.te | 255 -apex_art_data_file # map PROT_EXEC 256 -dalvikcache_data_file # map PROT_EXEC
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 140 if (map_info != nullptr && map_info->flags() == PROT_EXEC) { in dump_probable_cause() 284 if (map_info->flags() & PROT_EXEC) { in dump_all_maps()
|
D | tombstone_proto.cpp | 224 if (map_info != nullptr && map_info->flags() == PROT_EXEC) { in dump_probable_cause() 453 if (map_info->flags() & PROT_EXEC) { in dump_mappings()
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | zygote.te | 130 -dalvikcache_data_file # map PROT_EXEC
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | zygote.te | 130 -dalvikcache_data_file # map PROT_EXEC
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | zygote.te | 132 -dalvikcache_data_file # map PROT_EXEC
|