Inherits com::google::security::zynamics::binnavi::APIHelpers::ApiObject< CThread >.
List of all members.
Detailed Description
Represents a single thread of the target process.
Member Function Documentation
void com.google.security.zynamics.binnavi.API.debug.Thread.addListener |
( |
final IThreadListener |
listener |
) |
|
Adds an object that is notified about changes in the thread.
- Parameters:
-
| listener | The listener object that is notified about changes in the thread. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object is already listening on the thread. |
Address com.google.security.zynamics.binnavi.API.debug.Thread.getCurrentAddress |
( |
|
) |
|
Returns the current program counter address of the thread. This value is only useful if the thread is suspended.
- Returns:
- The current program counter value of the thread.
List<Register> com.google.security.zynamics.binnavi.API.debug.Thread.getRegisters |
( |
|
) |
|
Returns the current register values of the thread. These values are only useful if the thread is suspended.
- Returns:
- A list of register values.
ThreadState com.google.security.zynamics.binnavi.API.debug.Thread.getState |
( |
|
) |
|
Returns the current state of the thread.
- Returns:
- The current state of the thread.
long com.google.security.zynamics.binnavi.API.debug.Thread.getThreadId |
( |
|
) |
|
Returns the thread ID of the thread.
- Returns:
- The thread ID of the thread.
void com.google.security.zynamics.binnavi.API.debug.Thread.removeListener |
( |
final IThreadListener |
listener |
) |
|
Removes a listener object from the thread.
- Parameters:
-
| listener | The listener object to remove from the thread. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object was not listening on the thread. |
String com.google.security.zynamics.binnavi.API.debug.Thread.toString |
( |
|
) |
|
Returns a string representation of the thread.
- Returns:
- A string representation of the thread.