1 # Check that memory region parsing works correctly, with a particular emphasis
2 # on the boundary conditions.
4 # RUN: yaml2obj %s -o %t
5 # RUN: %lldb -b -c %t \
6 # RUN: -o "memory region 0" -o "memory region 0xd9000" \
7 # RUN: -o "memory region 0xd9001" -o "memory region 0xdafff" \
8 # RUN: -o "memory region 0xdb000" -o "memory region 0xdd000" | FileCheck %s
10 # CHECK-LABEL: (lldb) memory region 0
11 # CHECK: [0x0000000000000000-0x00000000000d9000) ---
12 # CHECK-LABEL: (lldb) memory region 0xd9000
13 # CHECK: [0x00000000000d9000-0x00000000000db000) r-x /system/bin/app_process
14 # CHECK-LABEL: (lldb) memory region 0xd9001
15 # CHECK: [0x00000000000d9000-0x00000000000db000) r-x /system/bin/app_process
16 # CHECK-LABEL: (lldb) memory region 0xdafff
17 # CHECK: [0x00000000000d9000-0x00000000000db000) r-x /system/bin/app_process
18 # CHECK-LABEL: (lldb) memory region 0xdb000
19 # CHECK: [0x00000000000db000-0x00000000000dc000) ---
20 # CHECK-LABEL: (lldb) memory region 0xdd000
21 # CHECK: [0x00000000000dd000-0xffffffffffffffff) ---
29 Vendor ID: GenuineIntel
30 Version Info: 0x00000000
31 Feature Info: 0x00000000
32 - Type: LinuxProcStatus
34 Name: nonexisting-module
35 State: t (tracing stop)
41 Uid: 1001 1001 1001 1001
42 Gid: 1001 1001 1001 1001
46 000d9000-000db000 r-xp 00000000 b3:04 227 /system/bin/app_process
47 000dc000-000dd000 rw-p 00000000 00:00 0