Public Member Functions

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

List of all members.

Public Member Functions

void addListener (final IProcessListener listener)
Memory getMemory ()
MemoryMap getMemoryMap ()
List< MemoryModulegetModules ()
TargetInformation getTargetInformation ()
List< ThreadgetThreads ()
void removeListener (final IProcessListener listener)
String toString ()

Detailed Description

Represents a target process that is being debugged.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.debug.Process.addListener ( final IProcessListener  listener  ) 

Adds an object that is notified about changes in the process.

Parameters:
listener The listener object that is notified about changes in the process.
Exceptions:
IllegalArgumentException Thrown if the listener argument is null.
IllegalStateException Thrown if the listener object is already listening on the process.
Memory com.google.security.zynamics.binnavi.API.debug.Process.getMemory (  ) 

Returns the simulated memory of target process. This memory object contains all the memory data that was already sent from the debug client to com.google.security.zynamics.binnavi.

Returns:
The simulated memory of the target process.
MemoryMap com.google.security.zynamics.binnavi.API.debug.Process.getMemoryMap (  ) 

Returns the memory layout of the target process. The memory map object contains a list of all allocated parts of the target process memory.

Returns:
The memory layout of the target process.
List<MemoryModule> com.google.security.zynamics.binnavi.API.debug.Process.getModules (  ) 

Returns the modules loaded into the address space of the process.

Returns:
The modules loaded into the address space of the process.
TargetInformation com.google.security.zynamics.binnavi.API.debug.Process.getTargetInformation (  ) 

Returns the target information object of the target process.

Returns:
The target information object of the target process.
List<Thread> com.google.security.zynamics.binnavi.API.debug.Process.getThreads (  ) 

Returns all threads that are active in the target process.

Returns:
List of threads of the target process.
void com.google.security.zynamics.binnavi.API.debug.Process.removeListener ( final IProcessListener  listener  ) 

Removes a listener object from the process.

Parameters:
listener The listener object to remove from the process.
Exceptions:
IllegalArgumentException Thrown if the listener argument is null.
IllegalStateException Thrown if the listener object was not listening on the process.
String com.google.security.zynamics.binnavi.API.debug.Process.toString (  ) 

Returns a string representation of the target process.

Returns:
A string representation of the target process.