Public Member Functions

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

List of all members.

Public Member Functions

Trace start (final String name, final String description, final List< TracePoint > addresses) throws CouldntSaveDataException
void stop ()
String toString ()
 TraceLogger (final Debugger debugger, final Module module)
 TraceLogger (final Debugger debugger, final Project project)

Detailed Description

Using this class it is possible to create trace logs of echo breakpoint events.


Constructor & Destructor Documentation

com.google.security.zynamics.binnavi.API.debug.TraceLogger.TraceLogger ( final Debugger  debugger,
final Module  module 
)

Creates a new trace logger.

Parameters:
debugger The debugger that sets the echo breakpoints.
module The module the logged trace belongs to.
com.google.security.zynamics.binnavi.API.debug.TraceLogger.TraceLogger ( final Debugger  debugger,
final Project  project 
)

Creates a new trace logger.

Parameters:
debugger The debugger that sets the echo breakpoints.
project The project the logged trace belongs to.

Member Function Documentation

Trace com.google.security.zynamics.binnavi.API.debug.TraceLogger.start ( final String  name,
final String  description,
final List< TracePoint addresses 
) throws CouldntSaveDataException

Starts trace logging with this logger.

Parameters:
name The name of the new trace.
description The description of the new trace.
addresses List of addresses where echo breakpoints should be set.
Returns:
The created event trace.
Exceptions:
CouldntSaveDataException Thrown if the event trace could not be written to the database.
void com.google.security.zynamics.binnavi.API.debug.TraceLogger.stop (  ) 

Removes all echo breakpoints and stops trace logging.

String com.google.security.zynamics.binnavi.API.debug.TraceLogger.toString (  ) 

Returns a string representation of the trace logger.

Returns:
A string representation of the trace logger.