Home
last modified time | relevance | path

Searched refs:EmulateInstruction (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp129 EmulateInstruction::InstructionCondition last_condition = in GetNonCallSiteUnwindPlanFromAssembly()
130 EmulateInstruction::UnconditionalCondition; in GetNonCallSiteUnwindPlanFromAssembly()
160 if (last_condition != EmulateInstruction::UnconditionalCondition) { in GetNonCallSiteUnwindPlanFromAssembly()
247 std::unique_ptr<EmulateInstruction> inst_emulator_up( in CreateInstance()
248 EmulateInstruction::FindPlugin(arch, eInstructionTypePrologueEpilogue, in CreateInstance()
273 if (EmulateInstruction::GetBestRegisterKindAndNumber(&reg_info, reg_kind, in MakeRegisterKindValuePair()
299 EmulateInstruction *instruction, void *baton, in ReadMemory()
300 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadMemory()
318 EmulateInstruction *instruction, void *baton, in WriteMemory()
319 const EmulateInstruction::Context &context, lldb::addr_t addr, in WriteMemory()
[all …]
H A DUnwindAssemblyInstEmulation.h64 lldb_private::EmulateInstruction *inst_emulator) in UnwindAssemblyInstEmulation()
76 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton,
77 const lldb_private::EmulateInstruction::Context &context,
81 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton,
82 const lldb_private::EmulateInstruction::Context &context,
85 static bool ReadRegister(lldb_private::EmulateInstruction *instruction,
91 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton,
92 const lldb_private::EmulateInstruction::Context &context,
103 size_t WriteMemory(lldb_private::EmulateInstruction *instruction,
104 const lldb_private::EmulateInstruction::Context &context,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DEmulateInstruction.cpp44 EmulateInstruction *
45 EmulateInstruction::FindPlugin(const ArchSpec &arch, in FindPlugin()
54 EmulateInstruction *emulate_insn_ptr = in FindPlugin()
65 EmulateInstruction *emulate_insn_ptr = in FindPlugin()
74 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) : m_arch(arch) {} in EmulateInstruction() function in EmulateInstruction
77 EmulateInstruction::ReadRegister(const RegisterInfo &reg_info) { in ReadRegister()
88 bool EmulateInstruction::ReadRegister(lldb::RegisterKind reg_kind, in ReadRegister()
101 uint64_t EmulateInstruction::ReadRegisterUnsigned(lldb::RegisterKind reg_kind, in ReadRegisterUnsigned()
113 uint64_t EmulateInstruction::ReadRegisterUnsigned(const RegisterInfo &reg_info, in ReadRegisterUnsigned()
126 bool EmulateInstruction::WriteRegister(const Context &context, in WriteRegister()
[all …]
H A DDisassembler.cpp717 std::unique_ptr<EmulateInstruction> insn_emulator_up( in DumpEmulation()
718 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation()
964 std::unique_ptr<EmulateInstruction> insn_emulator_up( in TestEmulation()
965 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation()
980 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate()
981 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate()
982 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate()
983 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate()
984 std::unique_ptr<EmulateInstruction> insn_emulator_up( in Emulate()
985 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h37 class EmulateInstruction; variable
44 std::unique_ptr<EmulateInstruction> emulator_up) in SingleStepBreakpointLocationsPredictor()
66 std::unique_ptr<EmulateInstruction> m_emulator_up;
128 class EmulateInstruction : public PluginInterface {
130 static EmulateInstruction *FindPlugin(const ArchSpec &arch,
365 void Dump(Stream &s, EmulateInstruction *instruction) const;
368 typedef size_t (*ReadMemoryCallback)(EmulateInstruction *instruction,
373 typedef size_t (*WriteMemoryCallback)(EmulateInstruction *instruction,
378 typedef bool (*ReadRegisterCallback)(EmulateInstruction *instruction,
383 typedef bool (*WriteRegisterCallback)(EmulateInstruction *instruction,
[all …]
H A DDisassembler.h191 EmulateInstruction::ReadMemoryCallback read_mem_callback,
192 EmulateInstruction::WriteMemoryCallback write_mem_calback,
193 EmulateInstruction::ReadRegisterCallback read_reg_callback,
194 EmulateInstruction::WriteRegisterCallback write_reg_callback);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp36 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()
112 std::unique_ptr<EmulateInstruction> emulator_up( in SetupSoftwareSingleStepping()
113 EmulateInstruction::FindPlugin(arch, eInstructionTypePCModifying, in SetupSoftwareSingleStepping()
126 EmulateInstruction::CreateBreakpointLocationPredictor( in SetupSoftwareSingleStepping()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.h41 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
42 const lldb_private::EmulateInstruction::Context &context,
46 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
47 const lldb_private::EmulateInstruction::Context &context,
50 static bool ReadPseudoRegister(lldb_private::EmulateInstruction *instruction,
56 WritePseudoRegister(lldb_private::EmulateInstruction *instruction,
58 const lldb_private::EmulateInstruction::Context &context,
H A DEmulateInstructionARM.cpp721 EmulateInstruction *
756 EmulateInstruction::Context context; in WriteBits32UnknownToMemory()
757 context.type = EmulateInstruction::eContextWriteMemoryRandomBits; in WriteBits32UnknownToMemory()
769 EmulateInstruction::Context context; in WriteBits32Unknown()
770 context.type = EmulateInstruction::eContextWriteRegisterRandomBits; in WriteBits32Unknown()
972 EmulateInstruction::Context context; in EmulatePUSH()
973 context.type = EmulateInstruction::eContextPushRegisterOnStack; in EmulatePUSH()
1001 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulatePUSH()
1100 EmulateInstruction::Context context; in EmulatePOP()
1101 context.type = EmulateInstruction::eContextPopRegisterOffStack; in EmulatePOP()
[all …]
H A DEmulationStateARM.cpp107 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory()
108 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadPseudoMemory()
148 EmulateInstruction *instruction, void *baton, in WritePseudoMemory()
149 const EmulateInstruction::Context &context, lldb::addr_t addr, in WritePseudoMemory()
184 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister()
203 EmulateInstruction *instruction, void *baton, in WritePseudoRegister()
204 const EmulateInstruction::Context &context, in WritePseudoRegister()
H A DEmulateInstructionARM.h23 std::unique_ptr<EmulateInstruction> emulator_up) in ARMSingleStepBreakpointLocationsPredictor()
56 class EmulateInstructionARM : public EmulateInstruction {
79 static lldb_private::EmulateInstruction *
103 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM()
224 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead()
242 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite()
261 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead()
279 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
785 return [](std::unique_ptr<EmulateInstruction> emulator_up) { in GetSingleStepBreakpointLocationsPredictorCreator()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h27 std::unique_ptr<EmulateInstruction> emulator) in RISCVSingleStepBreakpointLocationsPredictor()
50 class EmulateInstructionRISCV : public EmulateInstruction {
72 static lldb_private::EmulateInstruction *
80 EmulateInstructionRISCV(const ArchSpec &arch) : EmulateInstruction(arch) {} in EmulateInstructionRISCV()
105 ctx.type = EmulateInstruction::eContextRegisterLoad; in ReadMem()
116 ctx.type = EmulateInstruction::eContextRegisterStore; in WriteMem()
127 return [](std::unique_ptr<EmulateInstruction> emulator_up) { in GetSingleStepBreakpointLocationsPredictorCreator()
H A DEmulateInstructionRISCV.cpp113 EmulateInstruction::Context ctx; in Write()
114 ctx.type = EmulateInstruction::eContextRegisterStore; in Write()
124 EmulateInstruction::Context ctx; in WriteAPFloat()
125 ctx.type = EmulateInstruction::eContextRegisterStore; in WriteAPFloat()
1703 EmulateInstruction::Context ctx; in SetAccruedExceptions()
1766 lldb_private::EmulateInstruction *
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp124 EmulateInstruction *
427 EmulateInstruction::Context context; in EvaluateInstruction()
677 context.type = EmulateInstruction::eContextRestoreStackPointer; in EmulateADDSUBImm()
680 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulateADDSUBImm()
683 context.type = EmulateInstruction::eContextSetFramePointer; in EmulateADDSUBImm()
685 context.type = EmulateInstruction::eContextImmediate; in EmulateADDSUBImm()
1073 EmulateInstruction::Context context; in EmulateB()
1074 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB()
1120 EmulateInstruction::Context context; in EmulateBcond()
1121 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateBcond()
[all …]
H A DEmulateInstructionARM64.h18 class EmulateInstructionARM64 : public lldb_private::EmulateInstruction {
21 : EmulateInstruction(arch), m_opcode_pstate(), m_emulated_pstate(), in EmulateInstructionARM64()
32 static lldb_private::EmulateInstruction *
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.h20 class EmulateInstructionLoongArch : public EmulateInstruction {
34 static lldb_private::EmulateInstruction *
42 EmulateInstructionLoongArch(const ArchSpec &arch) : EmulateInstruction(arch) { in EmulateInstructionLoongArch()
H A DEmulateInstructionLoongArch.cpp192 lldb_private::EmulateInstruction *
368 EmulateInstruction::Context ctx; in EmulateJIRL64()
400 EmulateInstruction::Context ctx; in EmulateBL64()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.h19 class EmulateInstructionPPC64 : public EmulateInstruction {
31 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
H A DEmulateInstructionPPC64.cpp32 : EmulateInstruction(arch) {} in LLDB_PLUGIN_DEFINE_ADV()
47 EmulateInstruction *
192 EmulateInstruction::Context context; in EvaluateInstruction()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBInstruction.cpp318 &lldb_private::EmulateInstruction::ReadMemoryFrame, in EmulateWithFrame()
319 &lldb_private::EmulateInstruction::WriteMemoryFrame, in EmulateWithFrame()
320 &lldb_private::EmulateInstruction::ReadRegisterFrame, in EmulateWithFrame()
321 &lldb_private::EmulateInstruction::WriteRegisterFrame); in EmulateWithFrame()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h27 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction {
39 static lldb_private::EmulateInstruction *
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h31 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction {
41 static lldb_private::EmulateInstruction *
H A DEmulateInstructionMIPS.cpp65 : EmulateInstruction(arch) { in EmulateInstructionMIPS()
201 EmulateInstruction *
992 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-interfaces.h62 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
H A Dlldb-forward.h83 class EmulateInstruction; variable

12