Home
last modified time | relevance | path

Searched refs:curr_addr (Results 1 – 7 of 7) sorted by relevance

/external/lldb/tools/debugserver/source/MacOSX/
DMachVMMemory.cpp555 nub_addr_t curr_addr = address; in Read() local
559 … mach_vm_size_t curr_size = MaxBytesLeftInPage(task, curr_addr, data_count - total_bytes_read); in Read()
562 m_err = ::mach_vm_read (task, curr_addr, curr_size, &vm_memory, &curr_bytes_read); in Read()
565 …x%8.8llx, size = %llu, data => %8.8p, dataCnt => %i )", task, (uint64_t)curr_addr, (uint64_t)curr_… in Read()
572 …ta => %8.8p, dataCnt=>%i ) only read %u of %llu bytes", task, (uint64_t)curr_addr, (uint64_t)curr_… in Read()
577 curr_addr += curr_bytes_read; in Read()
595 nub_addr_t curr_addr = address; in Write() local
601 if (vmRegion.GetRegionForAddress(curr_addr)) in Write()
604 mach_vm_size_t region_bytes_left = vmRegion.BytesRemaining(curr_addr); in Write()
612 if (vmRegion.SetProtections(curr_addr, curr_data_count, VM_PROT_READ | VM_PROT_WRITE)) in Write()
[all …]
DMachProcess.cpp626 const nub_addr_t curr_addr = addr + bytes_written; in WriteMemory() local
627 if (intersect_addr > curr_addr) in WriteMemory()
631 nub_size_t curr_size = intersect_addr - curr_addr; in WriteMemory()
632 … nub_size_t curr_bytes_written = m_task.WriteMemory(curr_addr, curr_size, ubuf + bytes_written); in WriteMemory()
/external/lldb/source/Target/
DMemory.cpp74 for (addr_t curr_addr = first_cache_line_addr; in Flush() local
76 curr_addr += cache_line_byte_size, ++cache_idx) in Flush()
78 BlockMap::iterator pos = m_cache.find (curr_addr); in Flush()
126 addr_t curr_addr = addr - (addr % cache_line_byte_size); in Read() local
127 addr_t cache_offset = addr - curr_addr; in Read()
132 if (m_invalid_ranges.FindEntryThatContains(curr_addr)) in Read()
134 error.SetErrorStringWithFormat("memory read failed for 0x%" PRIx64, curr_addr); in Read()
138 BlockMap::const_iterator pos = m_cache.find (curr_addr); in Read()
150 curr_addr += curr_read_size + cache_offset; in Read()
158 assert ((curr_addr % cache_line_byte_size) == 0); in Read()
[all …]
DThreadPlanStepInRange.cpp209 lldb::addr_t curr_addr = m_thread.GetRegisterContext()->GetPC(); in ShouldStop() local
217 … if (curr_addr == func_start_address.GetLoadAddress(m_thread.CalculateTarget().get())) in ShouldStop()
223 … if (curr_addr == func_start_address.GetLoadAddress(m_thread.CalculateTarget().get())) in ShouldStop()
DProcess.cpp2365 addr_t curr_addr = addr; in ReadCStringFromMemory() local
2368 size_t length = ReadCStringFromMemory (curr_addr, buf, sizeof(buf), error); in ReadCStringFromMemory()
2375 curr_addr += length; in ReadCStringFromMemory()
2398 addr_t curr_addr = addr; in ReadStringFromMemory() local
2405 addr_t cache_line_bytes_left = cache_line_size - (curr_addr % cache_line_size); in ReadStringFromMemory()
2407 size_t bytes_read = ReadMemory (curr_addr, curr_dst, bytes_to_read, error); in ReadStringFromMemory()
2423 curr_addr += bytes_read; in ReadStringFromMemory()
2447 addr_t curr_addr = addr; in ReadCStringFromMemory() local
2454 addr_t cache_line_bytes_left = cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
2456 size_t bytes_read = ReadMemory (curr_addr, curr_dst, bytes_to_read, error); in ReadCStringFromMemory()
[all …]
DTarget.cpp1373 addr_t curr_addr = addr.GetLoadAddress(this); in ReadCStringFromMemory() local
1384 curr_addr += length; in ReadCStringFromMemory()
1387 address = Address(curr_addr); in ReadCStringFromMemory()
1403 addr_t curr_addr = addr.GetLoadAddress(this); in ReadCStringFromMemory() local
1411 addr_t cache_line_bytes_left = cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
1429 curr_addr += bytes_read; in ReadCStringFromMemory()
1431 address = Address(curr_addr); in ReadCStringFromMemory()
/external/lldb/utils/test/
Ddisasm.py62 curr_addr = None
72 prev_addr = curr_addr
83 prev_addr = curr_addr
84 curr_addr = line.split(None, 1)[0]
85 if prev_addr and curr_addr:
86 addr_diff = int(curr_addr, 16) - int(prev_addr, 16)