| /llvm-project-15.0.7/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 411 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteMemory() 434 case EmulateInstruction::eContextInvalid: in WriteMemory() 436 case EmulateInstruction::eContextImmediate: in WriteMemory() 439 case EmulateInstruction::eContextAdjustPC: in WriteMemory() 449 case EmulateInstruction::eContextAdvancePC: in WriteMemory() 522 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteRegister() 541 case EmulateInstruction::eContextInvalid: in WriteRegister() 543 case EmulateInstruction::eContextImmediate: in WriteRegister() 546 case EmulateInstruction::eContextAdjustPC: in WriteRegister() 552 case EmulateInstruction::eContextAdvancePC: in WriteRegister() [all …]
|
| H A D | UnwindAssemblyInstEmulation.h | 78 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton, 79 const lldb_private::EmulateInstruction::Context &context, 83 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton, 84 const lldb_private::EmulateInstruction::Context &context, 87 static bool ReadRegister(lldb_private::EmulateInstruction *instruction, 93 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton, 94 const lldb_private::EmulateInstruction::Context &context, 105 size_t WriteMemory(lldb_private::EmulateInstruction *instruction, 109 bool ReadRegister(lldb_private::EmulateInstruction *instruction, 113 bool WriteRegister(lldb_private::EmulateInstruction *instruction, [all …]
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | EmulateInstruction.cpp | 43 EmulateInstruction * 73 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) : m_arch(arch) {} in EmulateInstruction() function in EmulateInstruction 212 void EmulateInstruction::SetCallbacks( in SetCallbacks() 247 size_t EmulateInstruction::ReadMemoryFrame(EmulateInstruction *instruction, in ReadMemoryFrame() 264 size_t EmulateInstruction::WriteMemoryFrame(EmulateInstruction *instruction, in WriteMemoryFrame() 282 bool EmulateInstruction::ReadRegisterFrame(EmulateInstruction *instruction, in ReadRegisterFrame() 293 bool EmulateInstruction::WriteRegisterFrame(EmulateInstruction *instruction, in WriteRegisterFrame() 304 size_t EmulateInstruction::ReadMemoryDefault(EmulateInstruction *instruction, in ReadMemoryDefault() 319 size_t EmulateInstruction::WriteMemoryDefault(EmulateInstruction *instruction, in WriteMemoryDefault() 333 bool EmulateInstruction::ReadRegisterDefault(EmulateInstruction *instruction, in ReadRegisterDefault() [all …]
|
| H A D | Disassembler.cpp | 675 std::unique_ptr<EmulateInstruction> insn_emulator_up( in DumpEmulation() 676 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation() 926 std::unique_ptr<EmulateInstruction> insn_emulator_up( in TestEmulation() 927 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation() 942 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate() 943 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate() 944 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate() 945 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate() 946 std::unique_ptr<EmulateInstruction> insn_emulator_up( in Emulate() 947 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
|
| H A D | CMakeLists.txt | 36 EmulateInstruction.cpp
|
| H A D | PluginManager.cpp | 433 #pragma mark EmulateInstruction
|
| /llvm-project-15.0.7/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 | 189 EmulateInstruction::ReadMemoryCallback read_mem_callback, 190 EmulateInstruction::WriteMemoryCallback write_mem_calback, 191 EmulateInstruction::ReadRegisterCallback read_reg_callback, 192 EmulateInstruction::WriteRegisterCallback write_reg_callback);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulationStateARM.h | 43 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 44 const lldb_private::EmulateInstruction::Context &context, 48 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 49 const lldb_private::EmulateInstruction::Context &context, 52 static bool ReadPseudoRegister(lldb_private::EmulateInstruction *instruction, 58 WritePseudoRegister(lldb_private::EmulateInstruction *instruction, 60 const lldb_private::EmulateInstruction::Context &context,
|
| H A D | EmulateInstructionARM.cpp | 720 EmulateInstruction * 755 EmulateInstruction::Context context; in WriteBits32UnknownToMemory() 768 EmulateInstruction::Context context; in WriteBits32Unknown() 970 EmulateInstruction::Context context; in EmulatePUSH() 1097 EmulateInstruction::Context context; in EmulatePOP() 2898 EmulateInstruction::Context context; in EmulateCB() 3324 EmulateInstruction::Context context; in EmulateCMNImm() 3391 EmulateInstruction::Context context; in EmulateCMNReg() 3441 EmulateInstruction::Context context; in EmulateCMPImm() 3517 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 * 93 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM() 214 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead() 232 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite() 251 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead() 269 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM64/ |
| H A D | EmulateInstructionARM64.cpp | 124 EmulateInstruction * 427 EmulateInstruction::Context context; in EvaluateInstruction() 674 context.type = EmulateInstruction::eContextRestoreStackPointer; in EmulateADDSUBImm() 677 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulateADDSUBImm() 680 context.type = EmulateInstruction::eContextSetFramePointer; in EmulateADDSUBImm() 682 context.type = EmulateInstruction::eContextImmediate; in EmulateADDSUBImm() 1052 EmulateInstruction::Context context; in EmulateB() 1053 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB() 1099 EmulateInstruction::Context context; in EmulateBcond() 1137 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 *
|
| /llvm-project-15.0.7/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() 46 EmulateInstruction * 192 EmulateInstruction::Context context; in EvaluateInstruction()
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBInstruction.cpp | 300 &lldb_private::EmulateInstruction::ReadMemoryFrame, in EmulateWithFrame() 301 &lldb_private::EmulateInstruction::WriteMemoryFrame, in EmulateWithFrame() 302 &lldb_private::EmulateInstruction::ReadRegisterFrame, in EmulateWithFrame() 303 &lldb_private::EmulateInstruction::WriteRegisterFrame); in EmulateWithFrame()
|
| /llvm-project-15.0.7/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() 187 EmulateInstruction *
|
| /llvm-project-15.0.7/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() 200 EmulateInstruction * 990 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Core/ |
| H A D | BUILD.gn | 58 "EmulateInstruction.cpp",
|
| /llvm-project-15.0.7/lldb/include/lldb/ |
| H A D | lldb-private-interfaces.h | 60 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
|
| H A D | lldb-forward.h | 84 class EmulateInstruction; variable
|