Ghidra 11.3.2
Ghidra internal decompiler documentation.
|
Public Member Functions | |
virtual bool | addressCallback (const Address &addr) |
Call back method for address based breakpoints. | |
![]() | |
BreakCallBack (void) | |
Generic breakpoint constructor. | |
virtual bool | pcodeCallback (PcodeOpRaw *op) |
Call back method for pcode based breakpoints. | |
void | setEmulate (Emulate *emu) |
Associate a particular emulator with this breakpoint. | |
Additional Inherited Members | |
![]() | |
Emulate * | emulate |
The emulator currently associated with this breakpoint. | |
|
virtual |
Call back method for address based breakpoints.
This routine is invoked during emulation, if this breakpoint has somehow been associated with this address. The callback can perform any operation on the emulator context it wants. It then returns true if these actions are intended to replace the action of the entire machine instruction at this address. Or it returns false if the machine instruction should still be executed normally.
addr | is the address where the break has occurred |
Reimplemented from ghidra::BreakCallBack.
References ghidra::BreakCallBack::emulate, ghidra::MemoryState::getChunk(), ghidra::AddrSpaceManager::getSpaceByName(), ghidra::MemoryState::getTranslate(), ghidra::MemoryState::getValue(), ghidra::Emulate::setExecuteAddress(), and ghidra::MemoryState::setValue().