Ghidra Decompiler Analysis Engine
Public Member Functions | List of all members
PrintfCallBack Class Reference
Inheritance diagram for PrintfCallBack:
Inheritance graph
[legend]
Collaboration diagram for PrintfCallBack:
Collaboration graph
[legend]

Public Member Functions

virtual bool addressCallback (const Address &addr)
 Call back method for address based breakpoints. More...
 
- Public Member Functions inherited from BreakCallBack
 BreakCallBack (void)
 Generic breakpoint constructor. More...
 
virtual bool pcodeCallback (PcodeOpRaw *op)
 Call back method for pcode based breakpoints. More...
 
void setEmulate (Emulate *emu)
 Associate a particular emulator with this breakpoint. More...
 

Additional Inherited Members

- Protected Attributes inherited from BreakCallBack
Emulateemulate
 The emulator currently associated with this breakpoint.
 

Member Function Documentation

◆ addressCallback()

bool PrintfCallBack::addressCallback ( const Address addr)
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.

Parameters
addris the address where the break has occurred
Returns
true if the machine instruction should not be executed

Reimplemented from BreakCallBack.


The documentation for this class was generated from the following file: