| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 420 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteMemory() 443 case EmulateInstruction::eContextInvalid: in WriteMemory() 445 case EmulateInstruction::eContextImmediate: in WriteMemory() 448 case EmulateInstruction::eContextAdjustPC: in WriteMemory() 458 case EmulateInstruction::eContextAdvancePC: in WriteMemory() 531 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteRegister() 550 case EmulateInstruction::eContextInvalid: in WriteRegister() 552 case EmulateInstruction::eContextImmediate: in WriteRegister() 555 case EmulateInstruction::eContextAdjustPC: in WriteRegister() 561 case EmulateInstruction::eContextAdvancePC: in WriteRegister() [all …]
|
| H A D | UnwindAssemblyInstEmulation.h | 80 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton, 81 const lldb_private::EmulateInstruction::Context &context, 85 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton, 86 const lldb_private::EmulateInstruction::Context &context, 89 static bool ReadRegister(lldb_private::EmulateInstruction *instruction, 95 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton, 96 const lldb_private::EmulateInstruction::Context &context, 107 size_t WriteMemory(lldb_private::EmulateInstruction *instruction, 111 bool ReadRegister(lldb_private::EmulateInstruction *instruction, 115 bool WriteRegister(lldb_private::EmulateInstruction *instruction, [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | EmulateInstruction.cpp | 43 EmulateInstruction * 74 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) : m_arch(arch) {} in EmulateInstruction() function in EmulateInstruction 213 void EmulateInstruction::SetCallbacks( in SetCallbacks() 248 size_t EmulateInstruction::ReadMemoryFrame(EmulateInstruction *instruction, in ReadMemoryFrame() 265 size_t EmulateInstruction::WriteMemoryFrame(EmulateInstruction *instruction, in WriteMemoryFrame() 283 bool EmulateInstruction::ReadRegisterFrame(EmulateInstruction *instruction, in ReadRegisterFrame() 294 bool EmulateInstruction::WriteRegisterFrame(EmulateInstruction *instruction, in WriteRegisterFrame() 305 size_t EmulateInstruction::ReadMemoryDefault(EmulateInstruction *instruction, in ReadMemoryDefault() 320 size_t EmulateInstruction::WriteMemoryDefault(EmulateInstruction *instruction, in WriteMemoryDefault() 334 bool EmulateInstruction::ReadRegisterDefault(EmulateInstruction *instruction, in ReadRegisterDefault() [all …]
|
| H A D | Disassembler.cpp | 640 std::unique_ptr<EmulateInstruction> insn_emulator_up( in DumpEmulation() 641 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation() 891 std::unique_ptr<EmulateInstruction> insn_emulator_up( in TestEmulation() 892 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation() 907 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate() 908 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate() 909 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate() 910 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate() 911 std::unique_ptr<EmulateInstruction> insn_emulator_up( in Emulate() 912 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
|
| H A D | PluginManager.cpp | 430 #pragma mark EmulateInstruction
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | EmulateInstruction.h | 93 class EmulateInstruction : public PluginInterface { 95 static EmulateInstruction *FindPlugin(const ArchSpec &arch, 323 void Dump(Stream &s, EmulateInstruction *instruction) const; 326 typedef size_t (*ReadMemoryCallback)(EmulateInstruction *instruction, 331 typedef size_t (*WriteMemoryCallback)(EmulateInstruction *instruction, 336 typedef bool (*ReadRegisterCallback)(EmulateInstruction *instruction, 341 typedef bool (*WriteRegisterCallback)(EmulateInstruction *instruction, 352 EmulateInstruction(const ArchSpec &arch); 354 ~EmulateInstruction() override = default; 502 EmulateInstruction(const EmulateInstruction &) = delete; [all …]
|
| H A D | Disassembler.h | 172 EmulateInstruction::ReadMemoryCallback read_mem_callback, 173 EmulateInstruction::WriteMemoryCallback write_mem_calback, 174 EmulateInstruction::ReadRegisterCallback read_reg_callback, 175 EmulateInstruction::WriteRegisterCallback write_reg_callback);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulationStateARM.h | 42 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 43 const lldb_private::EmulateInstruction::Context &context, 47 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 48 const lldb_private::EmulateInstruction::Context &context, 51 static bool ReadPseudoRegister(lldb_private::EmulateInstruction *instruction, 57 WritePseudoRegister(lldb_private::EmulateInstruction *instruction, 59 const lldb_private::EmulateInstruction::Context &context,
|
| H A D | EmulateInstructionARM.cpp | 725 EmulateInstruction * 760 EmulateInstruction::Context context; in WriteBits32UnknownToMemory() 773 EmulateInstruction::Context context; in WriteBits32Unknown() 975 EmulateInstruction::Context context; in EmulatePUSH() 1102 EmulateInstruction::Context context; in EmulatePOP() 2903 EmulateInstruction::Context context; in EmulateCB() 3329 EmulateInstruction::Context context; in EmulateCMNImm() 3396 EmulateInstruction::Context context; in EmulateCMNReg() 3446 EmulateInstruction::Context context; in EmulateCMPImm() 3522 EmulateInstruction::Context context; in EmulateCMPReg() [all …]
|
| H A D | EmulationStateARM.cpp | 144 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory() 145 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadPseudoMemory() 185 EmulateInstruction *instruction, void *baton, in WritePseudoMemory() 186 const EmulateInstruction::Context &context, lldb::addr_t addr, in WritePseudoMemory() 221 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister() 240 EmulateInstruction *instruction, void *baton, in WritePseudoRegister() 241 const EmulateInstruction::Context &context, in WritePseudoRegister()
|
| H A D | EmulateInstructionARM.h | 46 class EmulateInstructionARM : public EmulateInstruction { 69 static lldb_private::EmulateInstruction * 97 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM() 217 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead() 235 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite() 254 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead() 272 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeProcessSoftwareSingleStep.cpp | 36 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton, in ReadMemoryCallback() 37 const EmulateInstruction::Context &context, in ReadMemoryCallback() 46 static bool ReadRegisterCallback(EmulateInstruction *instruction, void *baton, in ReadRegisterCallback() 73 static bool WriteRegisterCallback(EmulateInstruction *instruction, void *baton, in WriteRegisterCallback() 74 const EmulateInstruction::Context &context, in WriteRegisterCallback() 83 static size_t WriteMemoryCallback(EmulateInstruction *instruction, void *baton, in WriteMemoryCallback() 84 const EmulateInstruction::Context &context, in WriteMemoryCallback() 104 std::unique_ptr<EmulateInstruction> emulator_up( in SetupSoftwareSingleStepping() 105 EmulateInstruction::FindPlugin(arch, eInstructionTypePCModifying, in SetupSoftwareSingleStepping()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/ |
| H A D | EmulateInstructionARM64.cpp | 134 EmulateInstruction * 437 EmulateInstruction::Context context; in EvaluateInstruction() 684 context.type = EmulateInstruction::eContextRestoreStackPointer; in EmulateADDSUBImm() 687 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulateADDSUBImm() 690 context.type = EmulateInstruction::eContextSetFramePointer; in EmulateADDSUBImm() 692 context.type = EmulateInstruction::eContextImmediate; in EmulateADDSUBImm() 1062 EmulateInstruction::Context context; in EmulateB() 1063 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB() 1109 EmulateInstruction::Context context; in EmulateBcond() 1147 EmulateInstruction::Context context; in EmulateCBZ() [all …]
|
| H A D | EmulateInstructionARM64.h | 17 class EmulateInstructionARM64 : public lldb_private::EmulateInstruction { 20 : EmulateInstruction(arch), m_opcode_pstate(), m_emulated_pstate(), in EmulateInstructionARM64() 31 static lldb_private::EmulateInstruction *
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/ |
| H A D | EmulateInstructionPPC64.h | 18 class EmulateInstructionPPC64 : public EmulateInstruction { 30 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
|
| H A D | EmulateInstructionPPC64.cpp | 31 : EmulateInstruction(arch) {} in LLDB_PLUGIN_DEFINE_ADV() 56 EmulateInstruction * 202 EmulateInstruction::Context context; in EvaluateInstruction()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBInstruction.cpp | 309 &lldb_private::EmulateInstruction::ReadMemoryFrame, in EmulateWithFrame() 310 &lldb_private::EmulateInstruction::WriteMemoryFrame, in EmulateWithFrame() 311 &lldb_private::EmulateInstruction::ReadRegisterFrame, in EmulateWithFrame() 312 &lldb_private::EmulateInstruction::WriteRegisterFrame); in EmulateWithFrame()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/ |
| H A D | EmulateInstructionMIPS64.h | 26 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction { 38 static lldb_private::EmulateInstruction *
|
| H A D | EmulateInstructionMIPS64.cpp | 64 : EmulateInstruction(arch) { in EmulateInstructionMIPS64() 197 EmulateInstruction *
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/ |
| H A D | EmulateInstructionMIPS.h | 30 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction { 40 static lldb_private::EmulateInstruction *
|
| H A D | EmulateInstructionMIPS.cpp | 64 : EmulateInstruction(arch) { in EmulateInstructionMIPS() 210 EmulateInstruction * 1003 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/ |
| H A D | lldb-private-interfaces.h | 60 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
|
| H A D | lldb-forward.h | 78 class EmulateInstruction; variable
|
| /freebsd-13.1/lib/clang/liblldb/ |
| H A D | Makefile | 159 SRCS+= Core/EmulateInstruction.cpp
|