Public Member Functions

com.google.security.zynamics.binnavi.API.debug.BreakpointManager Class Reference

Inherits com::google::security::zynamics::binnavi::APIHelpers::ApiObject< CBreakpointManager >.

List of all members.

Public Member Functions

void addListener (final IBreakpointManagerListener listener)
Breakpoint getBreakpoint (final Module module, final Address address)
List< BreakpointgetBreakpoints ()
Breakpoint getEchoBreakpoint (final Module module, final Address address)
List< BreakpointgetEchoBreakpoints ()
boolean hasBreakpoint (final Module module, final Address address)
boolean hasEchoBreakpoint (final Module module, final Address address)
void removeBreakpoint (final Module module, final Address address)
void removeEchoBreakpoint (final Module module, final Address address)
void removeListener (final IBreakpointManagerListener listener)
Breakpoint setBreakpoint (final Module module, final Address address)
Breakpoint setEchoBreakpoint (final Module module, final Address address)
String toString ()

Detailed Description

Keeps track of all breakpoints set by a debugger.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.debug.BreakpointManager.addListener ( final IBreakpointManagerListener  listener  ) 

Adds an object that is notified about changes in the breakpoint manager.

Parameters:
listener The listener object that is notified about changes in the breakpoint manager.
Breakpoint com.google.security.zynamics.binnavi.API.debug.BreakpointManager.getBreakpoint ( final Module  module,
final Address  address 
)

Returns the regular breakpoint at the given address.

Parameters:
module The module the breakpoint belongs to. This argument can be null.
address The address of the breakpoint to return.
Returns:
The breakpoint at the given address.
List<Breakpoint> com.google.security.zynamics.binnavi.API.debug.BreakpointManager.getBreakpoints (  ) 

Returns a list of all managed breakpoints.

Returns:
A list of all managed breakpoints.
Breakpoint com.google.security.zynamics.binnavi.API.debug.BreakpointManager.getEchoBreakpoint ( final Module  module,
final Address  address 
)

Returns the echo breakpoint at the given address.

Parameters:
module The module the echo breakpoint belongs to.
address The address of the breakpoint to return.
Returns:
The breakpoint at the given address.
List<Breakpoint> com.google.security.zynamics.binnavi.API.debug.BreakpointManager.getEchoBreakpoints (  ) 

Returns a list of all managed echo breakpoints.

Returns:
A list of all managed echo breakpoints.
boolean com.google.security.zynamics.binnavi.API.debug.BreakpointManager.hasBreakpoint ( final Module  module,
final Address  address 
)

Checks whether a regular breakpoint exists at a given address.

Parameters:
module The module the breakpoint is tied to. This argument can be null.
address The address to check.
Returns:
True, if a regular breakpoint exists at the given address. False, otherwise.
boolean com.google.security.zynamics.binnavi.API.debug.BreakpointManager.hasEchoBreakpoint ( final Module  module,
final Address  address 
)

Checks whether an echo breakpoint exists at a given address.

Parameters:
module The module the breakpoint is tied to. This argument can be null.
address The address to check.
Returns:
True, if an echo breakpoint exists at the given address. False, otherwise.
void com.google.security.zynamics.binnavi.API.debug.BreakpointManager.removeBreakpoint ( final Module  module,
final Address  address 
)

Removes a regular breakpoint from a given address.

Parameters:
module The module the breakpoint is tied to. This argument can be null.
address The address of the breakpoint.
void com.google.security.zynamics.binnavi.API.debug.BreakpointManager.removeEchoBreakpoint ( final Module  module,
final Address  address 
)

Removes an echo breakpoint from a given address.

Parameters:
module The module the breakpoint is tied to. This argument can be null.
address The address of the breakpoint.
void com.google.security.zynamics.binnavi.API.debug.BreakpointManager.removeListener ( final IBreakpointManagerListener  listener  ) 

Removes a listener object from the breakpoint manager.

Parameters:
listener The listener object to remove from the breakpoint manager.
Breakpoint com.google.security.zynamics.binnavi.API.debug.BreakpointManager.setBreakpoint ( final Module  module,
final Address  address 
)

Sets a regular breakpoint at the given address.

Parameters:
module The module the breakpoint is tied to. This argument can be null.
address The address of the breakpoint.
Returns:
The set breakpoint. Null is returned if no breakpoint was set.
Breakpoint com.google.security.zynamics.binnavi.API.debug.BreakpointManager.setEchoBreakpoint ( final Module  module,
final Address  address 
)

Sets an echo breakpoint at the given address.

Parameters:
module The module the breakpoint is tied to. This argument can be null.
address The address of the breakpoint.
Returns:
The set breakpoint. Null is returned if no breakpoint was set.
String com.google.security.zynamics.binnavi.API.debug.BreakpointManager.toString (  ) 

Returns a string representation of the breakpoint manager.

Returns:
A string representation of the breakpoint manager.