Home
last modified time | relevance | path

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

/external/lldb/tools/debugserver/source/
DDNBBreakpoint.h43 nub_size_t *opcode_offset) const in IntersectsRange() argument
58 if (intersect_addr || intersect_size || opcode_offset) in IntersectsRange()
66 if (opcode_offset) in IntersectsRange()
67 *opcode_offset = addr - m_addr; in IntersectsRange()
75 if (opcode_offset) in IntersectsRange()
76 *opcode_offset = 0; in IntersectsRange()
DDNBBreakpoint.cpp184 nub_size_t opcode_offset; in RemoveTrapsFromBuffer() local
186 if (bp.IntersectsRange(addr, size, &intersect_addr, &intersect_size, &opcode_offset)) 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 …dr, size_t size, lldb::addr_t *intersect_addr, size_t *intersect_size, size_t *opcode_offset) const in IntersectsRange()
209 if (intersect_addr || intersect_size || opcode_offset) in IntersectsRange()
217 if (opcode_offset) in IntersectsRange()
218 *opcode_offset = addr - m_addr; in IntersectsRange()
226 if (opcode_offset) in IntersectsRange()
227 *opcode_offset = 0; in IntersectsRange()
/external/lldb/include/lldb/Breakpoint/
DBreakpointSite.h108 size_t *opcode_offset) const;
/external/lldb/tools/debugserver/source/MacOSX/
DMachProcess.cpp612 nub_size_t opcode_offset; in WriteMemory() local
619 …ool intersects = bp->IntersectsRange(addr, size, &intersect_addr, &intersect_size, &opcode_offset); 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()
/external/lldb/source/Target/
DProcess.cpp2115 size_t opcode_offset; in RemoveBreakpointOpcodesFromBuffer() local
2116 … if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, &intersect_size, &opcode_offset)) 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()
2601 size_t opcode_offset; in WriteMemory() local
2602 …ool intersects = bp->IntersectsRange(addr, size, &intersect_addr, &intersect_size, &opcode_offset); 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()