Home
last modified time | relevance | path

Searched refs:PROT_EXEC (Results 1 – 25 of 36) sorted by relevance

12

/system/core/libunwindstack/tests/
DLocalUpdatableMapsTest.cpp64 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 …]
DMapsTest.cpp90 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 …]
DUnwinderTest.cpp94 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 …]
DMapInfoCreateMemoryTest.cpp287 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()
DMapInfoGetElfTest.cpp393 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/
Dtombstone_test.cpp157 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/
Dprocess_map_test.cpp46 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/
DBacktraceMap.h27 #define PROT_EXEC 0x4 macro
137 bool IsExecutable(uint64_t pc) { return GetFlags(pc) & PROT_EXEC; } in IsExecutable()
/system/memory/libmemunreachable/
DProcessMappings.cpp36 mappings_.emplace_back(start, end, flags & PROT_READ, flags & PROT_WRITE, flags & PROT_EXEC, in operator ()()
/system/core/libbacktrace/
DBacktraceMap.cpp90 map->flags |= PROT_EXEC; in ParseLine()
Dbacktrace_benchmarks.cpp84 flags |= PROT_EXEC; in CreateMap()
/system/core/libprocinfo/include/procinfo/
Dprocess_map.h102 flags |= PROT_EXEC; in ReadMapFileContent()
/system/memory/libmeminfo/tools/
Dprocmem.cpp113 if (vma.flags & PROT_EXEC) flags_str[2] = 'x'; in show()
Dlibrank.cpp199 ((map.flags & (PROT_READ | PROT_WRITE | PROT_EXEC)) != g_mapflags_mask)) { in scan_libs_per_process()
232 ret |= PROT_EXEC; in parse_mapflags()
Dshowmap.cpp186 if (v.vma.flags & PROT_EXEC) flags_str[2] = 'x'; in print_vmainfo()
/system/core/libpixelflinger/codeflinger/
DCodeCache.cpp92 PROT_READ | PROT_WRITE | PROT_EXEC, in getMspace()
/system/memory/libion/
Dion_test.c245 map_flags |= strstr(optarg, "PROT_EXEC") ? PROT_EXEC : 0; in main()
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp137 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/
Dzygote.te130 -dalvikcache_data_file # map PROT_EXEC
/system/sepolicy/prebuilts/api/26.0/private/
Dzygote.te130 -dalvikcache_data_file # map PROT_EXEC
/system/sepolicy/prebuilts/api/28.0/private/
Dzygote.te132 -dalvikcache_data_file # map PROT_EXEC
/system/core/libunwindstack/tools/
Dunwind_for_offline.cpp327 if (map.flags & PROT_EXEC) { in SaveData()
/system/sepolicy/prebuilts/api/29.0/private/
Dzygote.te167 -dalvikcache_data_file # map PROT_EXEC
/system/core/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp124 flags |= PROT_EXEC; in GetMaps()
/system/sepolicy/prebuilts/api/30.0/private/
Dzygote.te224 -dalvikcache_data_file # map PROT_EXEC

12