Lines Matching full:region

2 Test the 'memory region' command.
26 "help memory region",
27 substrs=["memory region <address-expression>", "memory region -a"],
52 # Test that the first 'memory region' command prints the usage.
53 interp.HandleCommand("memory region", result)
57 "error: 'memory region' takes one argument or \"--all\" option:\n"
58 "Usage: memory region <address-expression> (or --all)\n",
62 interp.HandleCommand("memory region --all 0", result)
70 interp.HandleCommand("memory region not_an_address", result)
80 # Now let's print the memory region starting at 0 which should always work.
81 interp.HandleCommand("memory region 0x0", result)
88 interp.HandleCommand("memory region", result)
93 # Now that we reached the end, 'memory region' should again print the usage.
94 interp.HandleCommand("memory region", result)
98 "Usage: memory region <address\-expression> \(or \-\-all\)",
102 interp.HandleCommand("memory region --all", result)
109 # of the current region, not BaseAddress. So if a range of pages was split
119 region = lldb.SBMemoryRegionInfo()
120 regions.GetMemoryRegionAtIndex(0, region)
121 previous_base = region.GetRegionBase()
122 previous_end = region.GetRegionEnd()
125 regions.GetMemoryRegionAtIndex(idx, region)
127 # Check that it does not overlap the previous region.
130 region_base = region.GetRegionBase()
131 region_end = region.GetRegionEnd()
135 "Unexpected overlapping memory region found.",
148 # for one region. In this case the error is the remote not supporting
150 # (a region being unmapped is not an error, we just get a result
170 interp.HandleCommand("memory region --all ", result)
204 interp.HandleCommand("memory region --all ", result)