Home
last modified time | relevance | path

Searched refs:intersect_size (Results 1 – 6 of 6) sorted by relevance

/external/lldb/tools/debugserver/source/
DDNBBreakpoint.h42 nub_size_t *intersect_size, in IntersectsRange() argument
58 if (intersect_addr || intersect_size || opcode_offset) in IntersectsRange()
64 if (intersect_size) in IntersectsRange()
65 … *intersect_size = std::min<nub_addr_t>(bp_end_addr, end_addr) - addr; in IntersectsRange()
73 if (intersect_size) in IntersectsRange()
74 … *intersect_size = std::min<nub_addr_t>(bp_end_addr, end_addr) - m_addr; in IntersectsRange()
DDNBBreakpoint.cpp183 nub_size_t intersect_size; in RemoveTrapsFromBuffer() local
186 if (bp.IntersectsRange(addr, size, &intersect_addr, &intersect_size, &opcode_offset)) in RemoveTrapsFromBuffer()
189 … assert(addr < intersect_addr + intersect_size && intersect_addr + intersect_size <= addr + size); in RemoveTrapsFromBuffer()
190 assert(opcode_offset + intersect_size <= bp.ByteSize()); in RemoveTrapsFromBuffer()
192 ::memcpy(buf + buf_offset, bp.SavedOpcodeBytes() + opcode_offset, intersect_size); in RemoveTrapsFromBuffer()
/external/lldb/source/Breakpoint/
DBreakpointSite.cpp194 …ldb::addr_t addr, size_t size, lldb::addr_t *intersect_addr, size_t *intersect_size, size_t *opcod… in IntersectsRange() argument
209 if (intersect_addr || intersect_size || opcode_offset) in IntersectsRange()
215 if (intersect_size) in IntersectsRange()
216 *intersect_size = std::min<lldb::addr_t>(bp_end_addr, end_addr) - addr; in IntersectsRange()
224 if (intersect_size) in IntersectsRange()
225 *intersect_size = std::min<lldb::addr_t>(bp_end_addr, end_addr) - m_addr; in IntersectsRange()
/external/lldb/include/lldb/Breakpoint/
DBreakpointSite.h107 size_t *intersect_size,
/external/lldb/tools/debugserver/source/MacOSX/
DMachProcess.cpp611 nub_size_t intersect_size; in WriteMemory() local
619 …const bool intersects = bp->IntersectsRange(addr, size, &intersect_addr, &intersect_size, &opcode_… in WriteMemory()
622 … assert(addr < intersect_addr + intersect_size && intersect_addr + intersect_size <= addr + size); in WriteMemory()
623 assert(opcode_offset + intersect_size <= bp->ByteSize()); in WriteMemory()
645 ::memcpy(bp->SavedOpcodeBytes() + opcode_offset, ubuf + bytes_written, intersect_size); in WriteMemory()
646 bytes_written += intersect_size; in WriteMemory()
/external/lldb/source/Target/
DProcess.cpp2114 size_t intersect_size; in RemoveBreakpointOpcodesFromBuffer() local
2116 … if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, &intersect_size, &opcode_offset)) in RemoveBreakpointOpcodesFromBuffer()
2119 …assert(bp_addr < intersect_addr + intersect_size && intersect_addr + intersect_size <= bp_addr + s… in RemoveBreakpointOpcodesFromBuffer()
2120 assert(opcode_offset + intersect_size <= bp_site->GetByteSize()); in RemoveBreakpointOpcodesFromBuffer()
2122 … ::memcpy(buf + buf_offset, bp_site->GetSavedOpcodeBytes() + opcode_offset, intersect_size); in RemoveBreakpointOpcodesFromBuffer()
2600 size_t intersect_size; in WriteMemory() local
2602 … bool intersects = bp->IntersectsRange(addr, size, &intersect_addr, &intersect_size, &opcode_offse… in WriteMemory()
2605 … assert(addr < intersect_addr + intersect_size && intersect_addr + intersect_size <= addr + size); in WriteMemory()
2606 assert(opcode_offset + intersect_size <= bp->GetByteSize()); in WriteMemory()
2631 … ::memcpy(bp->GetSavedOpcodeBytes() + opcode_offset, ubuf + bytes_written, intersect_size); in WriteMemory()
[all …]