Search in sources :

Example 11 with DetachReply

use of com.google.security.zynamics.binnavi.debug.connection.packets.replies.DetachReply in project binnavi by google.

the class CDebuggerSynchronizerTest method testDetachSucc.

@Test
public void testDetachSucc() throws DebugExceptionWrapper {
    mockDebugger.connect();
    debuggerSynchronizer.receivedEvent(new DetachReply(0, 0));
    assertFalse(mockDebugger.isConnected());
}
Also used : DetachReply(com.google.security.zynamics.binnavi.debug.connection.packets.replies.DetachReply) Test(org.junit.Test)

Aggregations

DetachReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.DetachReply)11 Test (org.junit.Test)11 MockDebugger (com.google.security.zynamics.binnavi.Debug.Debugger.MockDebugger)7 ModuleTargetSettings (com.google.security.zynamics.binnavi.debug.debugger.ModuleTargetSettings)7 TargetProcessThread (com.google.security.zynamics.binnavi.debug.models.processmanager.TargetProcessThread)6 CAddress (com.google.security.zynamics.zylib.disassembly.CAddress)6 TargetInformationReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.TargetInformationReply)5 DebuggerOptions (com.google.security.zynamics.binnavi.debug.models.targetinformation.DebuggerOptions)5 RegisterDescription (com.google.security.zynamics.binnavi.debug.models.targetinformation.RegisterDescription)5 TargetInformation (com.google.security.zynamics.binnavi.debug.models.targetinformation.TargetInformation)5 ArrayList (java.util.ArrayList)5 MemoryMapReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.MemoryMapReply)4 MemoryMap (com.google.security.zynamics.binnavi.debug.models.processmanager.MemoryMap)4 MemorySection (com.google.security.zynamics.binnavi.debug.models.processmanager.MemorySection)4 RelocatedAddress (com.google.security.zynamics.binnavi.disassembly.RelocatedAddress)3 BreakpointConditionSetReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.BreakpointConditionSetReply)2 BreakpointHitReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.BreakpointHitReply)2 BreakpointSetReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.BreakpointSetReply)2 BreakpointsRemovedReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.BreakpointsRemovedReply)2 DebuggerClosedUnexpectedlyReply (com.google.security.zynamics.binnavi.debug.connection.packets.replies.DebuggerClosedUnexpectedlyReply)2