Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/os/assets/minijail/
Disolated-arm64.policy7 # mmap: flags in {MAP_SHARED|MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK|MAP_NORESERVE|MAP_FIXED|MAP_DENYWR…
8 mmap: arg3 in 0x24833
Disolated-x86-64.policy28 # mmap: flags in {MAP_SHARED|MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK|MAP_NORESERVE|MAP_FIXED|MAP_DENYWR…
29 mmap: arg3 in 0x24833
Disolated-i386.policy46 mmap: arg3 in 0x24833
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2015-1805/
Dpoc.c37 mmap((void *)(0x45678000), PAGE_SIZE, PROT_READ | PROT_WRITE, in func_evil()
65 bufs[MAGIC] = mmap((void *)(0x45678000), PAGE_SIZE, PROT_READ | PROT_WRITE, in main()
73 bufs[i] = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2014-9803/
Dpoc.c33 (char *)mmap(0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_zero_page()
74 mem = (volatile char *)mmap(0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-11282/
Dpoc.c53 uint8_t *mmapped = mmap(NULL, shadowprop.size, PROT_READ | PROT_WRITE, in main()
57 mmapped = mmap(NULL, shadowprop.size, PROT_READ | VM_MAYWRITE, MAP_PRIVATE, in main()
/cts/tests/tests/os/UffdGc/jni/
Dandroid_os_cts_uffdgc_UserfaultfdTest.cc40 char* page = static_cast<char*>(mmap(nullptr, page_sz, PROT_READ | PROT_WRITE, in userfault_handler_thread()
146 addr = mmap(nullptr, page_sz, PROT_READ | PROT_WRITE, in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd()
220 void* old = mmap(nullptr, page_sz, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); in Java_android_os_cts_uffdgc_UserfaultfdTest_performMremapDontUnmap()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8460/
Dpoc.c124 …int* handles = mmap((void*)0x20000000, 0x1000, PROT_READ | PROT_WRITE , MAP_FIXED | MAP_SHARED | M… in main()
140 …void* mmap_addr = mmap(leak_addr, 0x1000, PROT_READ | PROT_WRITE , MAP_FIXED | MAP_SHARED | MAP_AN… in main()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-38195738/
Dpoc.c29 mmap((void *)0x20000000ul, 0xd000ul, PROT_READ | PROT_WRITE, in main()
/cts/tests/tests/os/jni/
Dandroid_os_cts_SharedMemory.cpp27 void* addr = mmap(nullptr, 1, PROT_READ | PROT_WRITE, MAP_SHARED, fd, index); in nWriteByte()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0477/
Dpoc.c54 void *ptr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
/cts/tests/tests/security/jni/
Dandroid_security_cts_MMapExecutableTest.cpp60 mmap(NULL, stat_buf.st_size - kOffset, in mmap_executable()
Dandroid_security_cts_cve_2019_2213_Test.c273 void *map_ret = mmap(NULL, 0x200000, PROT_READ, MAP_PRIVATE, fd, 0); in init_binder()
850 void *map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in map_path()
/cts/tests/tests/content/jni/
DNativeCursorWindow.cpp95 char* data = (char*) mmap(NULL, FILE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java85 private static ByteBuffer mmap(AssetManager am, String path) { in mmap() method in FontTest
91 return mmap(file); in mmap()
100 private static ByteBuffer mmap(File file) { in mmap() method in FontTest
160 ByteBuffer buffer = mmap(am, path); in testBuilder_buffer()
181 ByteBuffer buffer = mmap(am, path); in testBuilder_buffer_ttc()
203 ByteBuffer buffer = mmap(am, path); in testBuilder_buffer_vf()
227 ByteBuffer buffer = mmap(am, path); in testBuilder_buffer_override()
243 ByteBuffer buffer = mmap(am, path); in testBuilder_buffer_override()
/cts/tests/app/AppExitTest/src/android/app/cts/
DMemoryConsumerService.java98 addr = Os.mmap(0, oneMb, OsConstants.PROT_WRITE, in fillUpMemoryAndCheck()
/cts/tests/sensor/jni/
DSensorTest.cpp150 mBuffer = reinterpret_cast<char *>(::mmap( in TestSharedMemory()
/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp136 mmap(nullptr, length, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd.get(), /*offset=*/0); in createMemoryFromAshmem()
/cts/tools/release-parser/tests/resources/
DCtsAslrMallocTestCases32.pb.txt465 name: "mmap"