/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | MachVMMemory.h | 24 nub_size_t Read(task_t task, nub_addr_t address, void *data, 25 nub_size_t data_count); 26 nub_size_t Write(task_t task, nub_addr_t address, const void *data, 27 nub_size_t data_count); 28 nub_size_t PageSize(task_t task); 38 nub_size_t MaxBytesLeftInPage(task_t task, nub_addr_t addr, nub_size_t count); 40 nub_size_t WriteRegion(task_t task, const nub_addr_t address, 41 const void *data, const nub_size_t data_count);
|
D | MachThread.h | 92 nub_size_t GetNumRegistersInSet(nub_size_t regSet) const; 93 const char *GetRegisterSetName(nub_size_t regSet) const; 94 const DNBRegisterInfo *GetRegisterInfo(nub_size_t regSet, 95 nub_size_t regIndex) const; 96 void DumpRegisterState(nub_size_t regSet); 97 const DNBRegisterSetInfo *GetRegisterSetInfo(nub_size_t *num_reg_sets) const; 102 nub_size_t GetRegisterContext(void *buf, nub_size_t buf_len); 103 nub_size_t SetRegisterContext(const void *buf, nub_size_t buf_len); 154 nub_size_t m_num_reg_sets;
|
D | MachVMMemory.cpp | 33 nub_size_t MachVMMemory::PageSize(task_t task) { in PageSize() 63 nub_size_t MachVMMemory::MaxBytesLeftInPage(task_t task, nub_addr_t addr, in MaxBytesLeftInPage() 64 nub_size_t count) { in MaxBytesLeftInPage() 65 const nub_size_t page_size = PageSize(task); in MaxBytesLeftInPage() 67 nub_size_t page_offset = (addr % page_size); in MaxBytesLeftInPage() 68 nub_size_t bytes_left_in_page = page_size - page_offset; in MaxBytesLeftInPage() 164 nub_size_t MachVMMemory::Read(task_t task, nub_addr_t address, void *data, in Read() 165 nub_size_t data_count) { in Read() 169 nub_size_t total_bytes_read = 0; in Read() 207 nub_size_t MachVMMemory::Write(task_t task, nub_addr_t address, in Write() [all …]
|
D | MachTask.h | 56 nub_size_t ReadMemory(nub_addr_t addr, nub_size_t size, void *buf); 57 nub_size_t WriteMemory(nub_addr_t addr, nub_size_t size, const void *buf); 61 nub_addr_t AllocateMemory(nub_size_t size, uint32_t permissions); 87 nub_size_t PageSize();
|
D | MachProcess.h | 159 nub_size_t ReadMemory(nub_addr_t addr, nub_size_t size, void *buf); 160 nub_size_t WriteMemory(nub_addr_t addr, nub_size_t size, const void *buf); 172 DNBBreakpoint *CreateBreakpoint(nub_addr_t addr, nub_size_t length, 181 DNBBreakpoint *CreateWatchpoint(nub_addr_t addr, nub_size_t length, 196 nub_size_t CopyImageInfos(struct DNBExecutableImageInfo **image_infos, 218 nub_size_t *num_reg_sets) const; 273 nub_size_t GetNumThreads() const; 274 nub_thread_t GetThreadAtIndex(nub_size_t thread_idx) const;
|
D | MachThread.cpp | 37 nub_size_t num_reg_sets = 0; in MachThread() 466 nub_size_t MachThread::GetNumRegistersInSet(nub_size_t regSet) const { in GetNumRegistersInSet() 472 const char *MachThread::GetRegisterSetName(nub_size_t regSet) const { in GetRegisterSetName() 478 const DNBRegisterInfo *MachThread::GetRegisterInfo(nub_size_t regSet, in GetRegisterInfo() 479 nub_size_t regIndex) const { in GetRegisterInfo() 485 void MachThread::DumpRegisterState(nub_size_t regSet) { in DumpRegisterState() 507 MachThread::GetRegisterSetInfo(nub_size_t *num_reg_sets) const { in GetRegisterSetInfo() 522 nub_size_t MachThread::GetRegisterContext(void *buf, nub_size_t buf_len) { in GetRegisterContext() 526 nub_size_t MachThread::SetRegisterContext(const void *buf, nub_size_t buf_len) { in SetRegisterContext()
|
D | MachThreadList.h | 32 nub_size_t GetRegisterContext(nub_thread_t tid, void *buf, size_t buf_len); 33 nub_size_t SetRegisterContext(nub_thread_t tid, const void *buf, 62 nub_size_t NumThreads() const; 63 nub_thread_t ThreadIDAtIndex(nub_size_t idx) const;
|
D | MachThreadList.cpp | 191 nub_size_t MachThreadList::GetRegisterContext(nub_thread_t tid, void *buf, in GetRegisterContext() 199 nub_size_t MachThreadList::SetRegisterContext(nub_thread_t tid, const void *buf, in SetRegisterContext() 221 nub_size_t MachThreadList::NumThreads() const { in NumThreads() 226 nub_thread_t MachThreadList::ThreadIDAtIndex(nub_size_t idx) const { in ThreadIDAtIndex()
|
D | Genealogy.cpp | 178 const nub_size_t num_threads = thread_list.NumThreads(); in GetActivities() 179 for (nub_size_t i = 0; i < num_threads; ++i) { in GetActivities()
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | DNB.h | 84 nub_size_t DNBProcessMemoryRead(nub_process_t pid, nub_addr_t addr, 85 nub_size_t size, void *buf) DNB_EXPORT; 87 nub_size_t integer_size, 95 nub_size_t fixed_length) DNB_EXPORT; 96 nub_size_t DNBProcessMemoryWrite(nub_process_t pid, nub_addr_t addr, 97 nub_size_t size, const void *buf) DNB_EXPORT; 98 nub_addr_t DNBProcessMemoryAllocate(nub_process_t pid, nub_size_t size, 121 nub_size_t DNBProcessGetNumThreads(nub_process_t pid) DNB_EXPORT; 127 nub_size_t thread_idx) DNB_EXPORT; 132 nub_size_t [all …]
|
D | DNBArch.h | 29 nub_size_t *num_reg_sets); 31 nub_size_t byte_size); 46 static const DNBRegisterSetInfo *GetRegisterSetInfo(nub_size_t *num_reg_sets); 48 static const uint8_t *GetBreakpointOpcode(nub_size_t byte_size); 64 virtual nub_size_t GetRegisterContext(void *buf, nub_size_t buf_len) = 0; 65 virtual nub_size_t SetRegisterContext(const void *buf, 66 nub_size_t buf_len) = 0; 82 virtual uint32_t EnableHardwareBreakpoint(nub_addr_t addr, nub_size_t size, in EnableHardwareBreakpoint() 86 virtual uint32_t EnableHardwareWatchpoint(nub_addr_t addr, nub_size_t size, in EnableHardwareWatchpoint()
|
D | DNBBreakpoint.h | 27 DNBBreakpoint(nub_addr_t m_addr, nub_size_t byte_size, bool hardware); 30 nub_size_t ByteSize() const { return m_byte_size; } in ByteSize() 36 bool IntersectsRange(nub_addr_t addr, nub_size_t size, in IntersectsRange() 37 nub_addr_t *intersect_addr, nub_size_t *intersect_size, in IntersectsRange() 38 nub_size_t *opcode_offset) const { in IntersectsRange() 122 DNBBreakpoint *Add(nub_addr_t addr, nub_size_t length, bool hardware); 135 void RemoveTrapsFromBuffer(nub_addr_t addr, nub_size_t size, void *buf) const;
|
D | DNB.cpp | 1045 nub_size_t DNBProcessGetArgumentCount(nub_process_t pid) { in DNBProcessGetArgumentCount() 1053 const char *DNBProcessGetArgumentAtIndex(nub_process_t pid, nub_size_t idx) { in DNBProcessGetArgumentAtIndex() 1141 nub_bool_t DNBBreakpointSet(nub_process_t pid, nub_addr_t addr, nub_size_t size, in DNBBreakpointSet() 1157 nub_bool_t DNBWatchpointSet(nub_process_t pid, nub_addr_t addr, nub_size_t size, in DNBWatchpointSet() 1185 nub_size_t DNBProcessMemoryRead(nub_process_t pid, nub_addr_t addr, in DNBProcessMemoryRead() 1186 nub_size_t size, void *buf) { in DNBProcessMemoryRead() 1194 nub_size_t integer_size, in DNBProcessMemoryReadInteger() 1232 const nub_size_t pointer_size = (cputype & CPU_ARCH_ABI64) ? 8 : 4; in DNBProcessMemoryReadPointer() 1241 const nub_size_t max_buffer_cstr_length = sizeof(buffer) - 1; in DNBProcessMemoryReadCString() 1243 nub_size_t length = 0; in DNBProcessMemoryReadCString() [all …]
|
D | DNBBreakpoint.cpp | 21 DNBBreakpoint::DNBBreakpoint(nub_addr_t addr, nub_size_t byte_size, in DNBBreakpoint() 52 DNBBreakpoint *DNBBreakpointList::Add(nub_addr_t addr, nub_size_t length, in Add() 133 void DNBBreakpointList::RemoveTrapsFromBuffer(nub_addr_t addr, nub_size_t size, in RemoveTrapsFromBuffer() 140 nub_size_t intersect_size; in RemoveTrapsFromBuffer() 141 nub_size_t opcode_offset; in RemoveTrapsFromBuffer() 149 nub_size_t buf_offset = intersect_addr - addr; in RemoveTrapsFromBuffer()
|
D | DNBDefs.h | 46 typedef size_t nub_size_t; typedef 217 nub_size_t num_registers; // The number of registers in REGISTERS array above 261 nub_size_t data_count; 353 typedef nub_size_t (*DNBCallbackCopyExecutableImageInfos)(
|
D | RNBContext.h | 56 nub_size_t GetProcessStopCount() const { return m_pid_stop_count; } in GetProcessStopCount() 57 bool SetProcessStopCount(nub_size_t count) { in SetProcessStopCount() 139 nub_size_t m_pid_stop_count;
|
D | DNBArch.cpp | 62 DNBArchProtocol::GetRegisterSetInfo(nub_size_t *num_reg_sets) { in GetRegisterSetInfo() 77 const uint8_t *DNBArchProtocol::GetBreakpointOpcode(nub_size_t byte_size) { in GetBreakpointOpcode()
|
D | DNBRuntimeAction.h | 20 nub_size_t num_image_infos) = 0;
|
D | RNBRemote.cpp | 519 nub_size_t count; in FlushSTDIO() 540 nub_size_t count; in SendAsyncProfileData() 628 nub_size_t i; in SendHexEncodedBytePacket() 640 rnb_err_t RNBRemote::SendSTDOUTPacket(char *buf, nub_size_t buf_size) { in SendSTDOUTPacket() 646 rnb_err_t RNBRemote::SendSTDERRPacket(char *buf, nub_size_t buf_size) { in SendSTDERRPacket() 654 nub_size_t buf_size) { in SendAsyncProfileDataPacket() 1418 nub_size_t num_reg_sets = 0; in InitializeRegisters() 1427 for (nub_size_t set = 0; set < num_reg_sets; ++set) { in InitializeRegisters() 1705 nub_size_t numthreads = DNBProcessGetNumThreads(pid); in HandlePacket_qThreadInfo() 1709 for (nub_size_t i = 0; i < numthreads; ++i) { in HandlePacket_qThreadInfo() [all …]
|
D | RNBRemote.h | 255 rnb_err_t SendSTDOUTPacket(char *buf, nub_size_t buf_size); 256 rnb_err_t SendSTDERRPacket(char *buf, nub_size_t buf_size); 259 rnb_err_t SendAsyncProfileDataPacket(char *buf, nub_size_t buf_size);
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/i386/ |
D | DNBArchImplI386.h | 38 nub_size_t GetRegisterContext(void *buf, nub_size_t buf_len) override; 39 nub_size_t SetRegisterContext(const void *buf, nub_size_t buf_len) override; 56 uint32_t EnableHardwareBreakpoint(nub_addr_t addr, nub_size_t size, 60 uint32_t EnableHardwareWatchpoint(nub_addr_t addr, nub_size_t size, 212 static const uint8_t *SoftwareBreakpointOpcode(nub_size_t byte_size); 214 static const DNBRegisterSetInfo *GetRegisterSetInfo(nub_size_t *num_reg_sets); 219 nub_addr_t addr, nub_size_t size); 223 nub_addr_t addr, nub_size_t size, bool read,
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/x86_64/ |
D | DNBArchImplX86_64.h | 37 nub_size_t GetRegisterContext(void *buf, nub_size_t buf_len) override; 38 nub_size_t SetRegisterContext(const void *buf, nub_size_t buf_len) override; 56 uint32_t EnableHardwareBreakpoint(nub_addr_t addr, nub_size_t size, 60 uint32_t EnableHardwareWatchpoint(nub_addr_t addr, nub_size_t size, 216 static const uint8_t *SoftwareBreakpointOpcode(nub_size_t byte_size); 218 static const DNBRegisterSetInfo *GetRegisterSetInfo(nub_size_t *num_reg_sets); 223 nub_addr_t addr, nub_size_t size); 227 nub_addr_t addr, nub_size_t size, bool read,
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/ |
D | DNBArchImplARM64.h | 41 static const DNBRegisterSetInfo *GetRegisterSetInfo(nub_size_t *num_reg_sets); 47 virtual nub_size_t GetRegisterContext(void *buf, nub_size_t buf_len); 48 virtual nub_size_t SetRegisterContext(const void *buf, nub_size_t buf_len); 64 static const uint8_t *SoftwareBreakpointOpcode(nub_size_t byte_size); 70 virtual uint32_t EnableHardwareBreakpoint(nub_addr_t addr, nub_size_t size, 74 virtual uint32_t EnableHardwareWatchpoint(nub_addr_t addr, nub_size_t size,
|
D | DNBArchImplARM64.cpp | 91 DNBArchMachARM64::SoftwareBreakpointOpcode(nub_size_t byte_size) { in SoftwareBreakpointOpcode() 726 nub_size_t size, in EnableHardwareBreakpoint() 796 nub_size_t size, bool read, in EnableHardwareWatchpoint() 1927 DNBArchMachARM64::GetRegisterSetInfo(nub_size_t *num_reg_sets) { in GetRegisterSetInfo() 2233 nub_size_t DNBArchMachARM64::GetRegisterContext(void *buf, nub_size_t buf_len) { in GetRegisterContext() 2234 nub_size_t size = sizeof(m_state.context.gpr) + sizeof(m_state.context.vfp) + in GetRegisterContext() 2267 nub_size_t DNBArchMachARM64::SetRegisterContext(const void *buf, in SetRegisterContext() 2268 nub_size_t buf_len) { in SetRegisterContext() 2269 nub_size_t size = sizeof(m_state.context.gpr) + sizeof(m_state.context.vfp) + in SetRegisterContext()
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/ |
D | DNBArchImpl.h | 45 static const DNBRegisterSetInfo *GetRegisterSetInfo(nub_size_t *num_reg_sets); 51 virtual nub_size_t GetRegisterContext(void *buf, nub_size_t buf_len); 52 virtual nub_size_t SetRegisterContext(const void *buf, nub_size_t buf_len); 68 static const uint8_t *SoftwareBreakpointOpcode(nub_size_t byte_size); 73 virtual uint32_t EnableHardwareBreakpoint(nub_addr_t addr, nub_size_t size, 78 virtual uint32_t EnableHardwareWatchpoint(nub_addr_t addr, nub_size_t size,
|