/system/core/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 | 94 AddMapInfo(0xa3000, 0xa4000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake.vdex"); in SetUpTestSuite() 101 AddMapInfo(0xa5000, 0xa6000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake_load_bias.so", in SetUpTestSuite() 106 AddMapInfo(0xa7000, 0xa8000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake_offset.oat", in SetUpTestSuite() 113 AddMapInfo(0xc0000, 0xc1000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/unreadable.so", elf); in SetUpTestSuite() 119 AddMapInfo(0xc1000, 0xc2000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "[vdso]", elf); in SetUpTestSuite() 125 AddMapInfo(0xc2000, 0xc3000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "", elf); in SetUpTestSuite() 131 AddMapInfo(0xc3000, 0xc4000, 0, PROT_READ | PROT_WRITE | PROT_EXEC, "/memfd:/jit-cache", elf); in SetUpTestSuite() 135 AddMapInfo(0xd0000, 0xd1000, 0x1000, PROT_READ | PROT_WRITE | PROT_EXEC, "/fake/fake.apk"); in SetUpTestSuite() 313 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F() 343 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F() [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()
|
D | MapInfoGetElfTest.cpp | 393 MapInfo rw_info(&r_info, &r_info, 0x2000, 0x3000, 0x1000, PROT_READ | PROT_EXEC, elf_.path); in TEST_F() 410 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/core/libprocinfo/ |
D | process_map_test.cpp | 46 ASSERT_EQ(maps[876].flags, PROT_READ | PROT_EXEC); in TEST() 166 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() 176 expected_info.emplace_back(0x110000, 0x120000, PROT_EXEC, 4, 103, "[anon:something or another]"); in TEST()
|
/system/core/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 | 36 mappings_.emplace_back(start, end, flags & PROT_READ, flags & PROT_WRITE, flags & PROT_EXEC, in operator ()()
|
/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 90 map->flags |= PROT_EXEC; in ParseLine()
|
D | backtrace_benchmarks.cpp | 84 flags |= PROT_EXEC; in CreateMap()
|
/system/core/libprocinfo/include/procinfo/ |
D | process_map.h | 102 flags |= PROT_EXEC; in ReadMapFileContent()
|
/system/memory/libmeminfo/tools/ |
D | procmem.cpp | 113 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 | 186 if (v.vma.flags & PROT_EXEC) flags_str[2] = 'x'; in print_vmainfo()
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.cpp | 92 PROT_READ | PROT_WRITE | PROT_EXEC, in getMspace()
|
/system/memory/libion/ |
D | ion_test.c | 245 map_flags |= strstr(optarg, "PROT_EXEC") ? PROT_EXEC : 0; in main()
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 137 if (map_info != nullptr && map_info->flags == PROT_EXEC) { in dump_probable_cause() 276 if (map_info->flags & PROT_EXEC) { in dump_all_maps()
|
/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
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 327 if (map.flags & PROT_EXEC) { in SaveData()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | zygote.te | 167 -dalvikcache_data_file # map PROT_EXEC
|
/system/core/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 124 flags |= PROT_EXEC; in GetMaps()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | zygote.te | 224 -dalvikcache_data_file # map PROT_EXEC
|