Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
DUnwindAssemblyInstEmulation.cpp137 EmulateInstruction::InstructionCondition last_condition = in GetNonCallSiteUnwindPlanFromAssembly()
138 EmulateInstruction::UnconditionalCondition; in GetNonCallSiteUnwindPlanFromAssembly()
189 EmulateInstruction::UnconditionalCondition && in GetNonCallSiteUnwindPlanFromAssembly()
204 EmulateInstruction::UnconditionalCondition) { in GetNonCallSiteUnwindPlanFromAssembly()
327 std::unique_ptr<EmulateInstruction> inst_emulator_up( in CreateInstance()
328 EmulateInstruction::FindPlugin(arch, eInstructionTypePrologueEpilogue, in CreateInstance()
365 if (EmulateInstruction::GetBestRegisterKindAndNumber(&reg_info, reg_kind, in MakeRegisterKindValuePair()
391 EmulateInstruction *instruction, void *baton, in ReadMemory()
392 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadMemory()
410 EmulateInstruction *instruction, void *baton, in WriteMemory()
[all …]
DUnwindAssemblyInstEmulation.h66 lldb_private::EmulateInstruction *inst_emulator) in UnwindAssemblyInstEmulation()
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,
108 const lldb_private::EmulateInstruction::Context &context,
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Core/
DEmulateInstruction.cpp43 EmulateInstruction *
44 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
76 bool EmulateInstruction::ReadRegister(const RegisterInfo *reg_info, in ReadRegister()
83 bool EmulateInstruction::ReadRegister(lldb::RegisterKind reg_kind, in ReadRegister()
92 uint64_t EmulateInstruction::ReadRegisterUnsigned(lldb::RegisterKind reg_kind, in ReadRegisterUnsigned()
104 uint64_t EmulateInstruction::ReadRegisterUnsigned(const RegisterInfo *reg_info, in ReadRegisterUnsigned()
115 bool EmulateInstruction::WriteRegister(const Context &context, in WriteRegister()
[all …]
DDisassembler.cpp640 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()
DPluginManager.cpp430 #pragma mark EmulateInstruction
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Core/
DEmulateInstruction.h93 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;
434 static size_t ReadMemoryFrame(EmulateInstruction *instruction, void *baton,
[all …]
DDisassembler.h172 EmulateInstruction::ReadMemoryCallback read_mem_callback,
173 EmulateInstruction::WriteMemoryCallback write_mem_calback,
174 EmulateInstruction::ReadRegisterCallback read_reg_callback,
175 EmulateInstruction::WriteRegisterCallback write_reg_callback);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
DEmulationStateARM.h42 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,
DEmulateInstructionARM.cpp725 EmulateInstruction *
760 EmulateInstruction::Context context; in WriteBits32UnknownToMemory()
761 context.type = EmulateInstruction::eContextWriteMemoryRandomBits; in WriteBits32UnknownToMemory()
773 EmulateInstruction::Context context; in WriteBits32Unknown()
774 context.type = EmulateInstruction::eContextWriteRegisterRandomBits; in WriteBits32Unknown()
975 EmulateInstruction::Context context; in EmulatePUSH()
976 context.type = EmulateInstruction::eContextPushRegisterOnStack; in EmulatePUSH()
1003 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulatePUSH()
1102 EmulateInstruction::Context context; in EmulatePOP()
1103 context.type = EmulateInstruction::eContextPopRegisterOffStack; in EmulatePOP()
[all …]
DEmulationStateARM.cpp144 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()
DEmulateInstructionARM.h46 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-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
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()
104 std::unique_ptr<EmulateInstruction> emulator_up( in SetupSoftwareSingleStepping()
105 EmulateInstruction::FindPlugin(arch, eInstructionTypePCModifying, in SetupSoftwareSingleStepping()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
DEmulateInstructionARM64.cpp134 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()
1110 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateBcond()
[all …]
DEmulateInstructionARM64.h17 class EmulateInstructionARM64 : public lldb_private::EmulateInstruction {
20 : EmulateInstruction(arch), m_opcode_pstate(), m_emulated_pstate(), in EmulateInstructionARM64()
31 static lldb_private::EmulateInstruction *
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
DEmulateInstructionPPC64.h18 class EmulateInstructionPPC64 : public EmulateInstruction {
30 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
DEmulateInstructionPPC64.cpp31 : EmulateInstruction(arch) {} in LLDB_PLUGIN_DEFINE_ADV()
56 EmulateInstruction *
202 EmulateInstruction::Context context; in EvaluateInstruction()
/freebsd-12-stable/contrib/llvm-project/lldb/source/API/
DSBInstruction.cpp309 &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-12-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
DEmulateInstructionMIPS64.h26 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction {
38 static lldb_private::EmulateInstruction *
DEmulateInstructionMIPS64.cpp64 : EmulateInstruction(arch) { in EmulateInstructionMIPS64()
197 EmulateInstruction *
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
DEmulateInstructionMIPS.h30 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction {
40 static lldb_private::EmulateInstruction *
DEmulateInstructionMIPS.cpp64 : EmulateInstruction(arch) { in EmulateInstructionMIPS()
210 EmulateInstruction *
1003 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/
Dlldb-private-interfaces.h60 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
Dlldb-forward.h78 class EmulateInstruction; variable
/freebsd-12-stable/lib/clang/liblldb/
DMakefile159 SRCS+= Core/EmulateInstruction.cpp