mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 01:27:00 +08:00
Merge remote-tracking branch 'origin/GP-4801_Dan_deprecateModelDbgConnectors--SQUASHED'
This commit is contained in:
+3
-2
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
package agent.dbgeng.dbgeng;
|
package agent.dbgeng.dbgeng;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
import static org.junit.Assume.*;
|
import static org.junit.Assume.assumeTrue;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
@@ -45,6 +45,7 @@ import ghidra.test.AbstractGhidraHeadlessIntegrationTest;
|
|||||||
import ghidra.util.Msg;
|
import ghidra.util.Msg;
|
||||||
import ghidra.util.NumericUtilities;
|
import ghidra.util.NumericUtilities;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class DbgEngTest extends AbstractGhidraHeadlessIntegrationTest {
|
public class DbgEngTest extends AbstractGhidraHeadlessIntegrationTest {
|
||||||
|
|
||||||
private interface DummyLibIf extends StdCallLibrary {
|
private interface DummyLibIf extends StdCallLibrary {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,8 +17,11 @@ package agent.dbgeng.manager.impl;
|
|||||||
|
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.manager.DbgManager;
|
import agent.dbgeng.manager.DbgManager;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class SpawnedDbgManagerTest extends AbstractDbgManagerTest {
|
public class SpawnedDbgManagerTest extends AbstractDbgManagerTest {
|
||||||
@Override
|
@Override
|
||||||
protected CompletableFuture<Void> startManager(DbgManager manager) {
|
protected CompletableFuture<Void> startManager(DbgManager manager) {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,10 +15,13 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengBreakpointsTest;
|
import agent.dbgeng.model.AbstractModelForDbgengBreakpointsTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengBreakpointsTest extends AbstractModelForDbgengBreakpointsTest {
|
public class GadpModelForDbgengBreakpointsTest extends AbstractModelForDbgengBreakpointsTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengFactoryTest;
|
import agent.dbgeng.model.AbstractModelForDbgengFactoryTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengFactoryTest extends AbstractModelForDbgengFactoryTest {
|
public class GadpModelForDbgengFactoryTest extends AbstractModelForDbgengFactoryTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+5
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,13 +15,17 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengFrameActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengFrameActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengFrameActivationTest
|
public class GadpModelForDbgengFrameActivationTest
|
||||||
extends AbstractModelForDbgengFrameActivationTest {
|
extends AbstractModelForDbgengFrameActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getStackPattern() {
|
protected PathPattern getStackPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[].Stack[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[].Stack[]"));
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -20,6 +20,7 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengInterpreterTest;
|
import agent.dbgeng.model.AbstractModelForDbgengInterpreterTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengInterpreterTest extends AbstractModelForDbgengInterpreterTest {
|
public class GadpModelForDbgengInterpreterTest extends AbstractModelForDbgengInterpreterTest {
|
||||||
|
|
||||||
// NB: testLaunchViaInterpreterShowInProcessContainer fails
|
// NB: testLaunchViaInterpreterShowInProcessContainer fails
|
||||||
|
|||||||
+6
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,13 +17,17 @@ package agent.dbgeng.model.gadp;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengProcessActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengProcessActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengProcessActivationTest
|
public class GadpModelForDbgengProcessActivationTest
|
||||||
extends AbstractModelForDbgengProcessActivationTest {
|
extends AbstractModelForDbgengProcessActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getProcessPattern() {
|
protected PathPattern getProcessPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0].Processes[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0].Processes[]"));
|
||||||
}
|
}
|
||||||
@@ -38,6 +42,7 @@ public class GadpModelForDbgengProcessActivationTest
|
|||||||
return PathUtils.parse("Sessions[0]");
|
return PathUtils.parse("Sessions[0]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getIdFromCapture(String line) {
|
public String getIdFromCapture(String line) {
|
||||||
return line.split("\\s+")[1];
|
return line.split("\\s+")[1];
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengRootAttacherTest;
|
import agent.dbgeng.model.AbstractModelForDbgengRootAttacherTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengRootAttacherTest extends AbstractModelForDbgengRootAttacherTest {
|
public class GadpModelForDbgengRootAttacherTest extends AbstractModelForDbgengRootAttacherTest {
|
||||||
|
|
||||||
// NB: testListAttachable fails with OTE - [] not invalidated
|
// NB: testListAttachable fails with OTE - [] not invalidated
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengRootLauncherTest;
|
import agent.dbgeng.model.AbstractModelForDbgengRootLauncherTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengRootLauncherTest extends AbstractModelForDbgengRootLauncherTest {
|
public class GadpModelForDbgengRootLauncherTest extends AbstractModelForDbgengRootLauncherTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioCloneExitTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioCloneExitTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengScenarioCloneExitTest
|
public class GadpModelForDbgengScenarioCloneExitTest
|
||||||
extends AbstractModelForDbgengScenarioCloneExitTest {
|
extends AbstractModelForDbgengScenarioCloneExitTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+3
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -20,9 +20,11 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioForkExitTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioForkExitTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengScenarioForkExitTest
|
public class GadpModelForDbgengScenarioForkExitTest
|
||||||
extends AbstractModelForDbgengScenarioForkExitTest {
|
extends AbstractModelForDbgengScenarioForkExitTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
@Ignore("Specimen is currently defunct")
|
@Ignore("Specimen is currently defunct")
|
||||||
@Test
|
@Test
|
||||||
public void testScenario() throws Throwable {
|
public void testScenario() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioMemoryTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioMemoryTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengScenarioMemoryTest extends AbstractModelForDbgengScenarioMemoryTest {
|
public class GadpModelForDbgengScenarioMemoryTest extends AbstractModelForDbgengScenarioMemoryTest {
|
||||||
|
|
||||||
// NB: Fails on validateCompletionThread
|
// NB: Fails on validateCompletionThread
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioStackTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioStackTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengScenarioStackTest extends AbstractModelForDbgengScenarioStackTest {
|
public class GadpModelForDbgengScenarioStackTest extends AbstractModelForDbgengScenarioStackTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioX64RegistersTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioX64RegistersTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengScenarioX64RegistersTest
|
public class GadpModelForDbgengScenarioX64RegistersTest
|
||||||
extends AbstractModelForDbgengScenarioX64RegistersTest {
|
extends AbstractModelForDbgengScenarioX64RegistersTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-3
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -19,8 +19,9 @@ import org.junit.Ignore;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengSessionActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengSessionActivationTest;
|
||||||
|
|
||||||
@Ignore("Don't know how to make multiple sessions")
|
@Ignore("Don't know how to make multiple sessions, deprecated")
|
||||||
public class GadpModelForDbgengSessionActivationTest extends AbstractModelForDbgengSessionActivationTest {
|
public class GadpModelForDbgengSessionActivationTest
|
||||||
|
extends AbstractModelForDbgengSessionActivationTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
return new GadpDbgengModelHost();
|
return new GadpDbgengModelHost();
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengSteppableTest;
|
import agent.dbgeng.model.AbstractModelForDbgengSteppableTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengSteppableTest extends AbstractModelForDbgengSteppableTest {
|
public class GadpModelForDbgengSteppableTest extends AbstractModelForDbgengSteppableTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+6
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,13 +17,17 @@ package agent.dbgeng.model.gadp;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengThreadActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengThreadActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengThreadActivationTest
|
public class GadpModelForDbgengThreadActivationTest
|
||||||
extends AbstractModelForDbgengThreadActivationTest {
|
extends AbstractModelForDbgengThreadActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getThreadPattern() {
|
protected PathPattern getThreadPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[]"));
|
||||||
}
|
}
|
||||||
@@ -38,6 +42,7 @@ public class GadpModelForDbgengThreadActivationTest
|
|||||||
return PathUtils.parse("Sessions[0]");
|
return PathUtils.parse("Sessions[0]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getIdFromCapture(String line) {
|
public String getIdFromCapture(String line) {
|
||||||
return line.split("\\s+")[1];
|
return line.split("\\s+")[1];
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.gadp;
|
package agent.dbgeng.model.gadp;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengX64RegistersTest;
|
import agent.dbgeng.model.AbstractModelForDbgengX64RegistersTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class GadpModelForDbgengX64RegistersTest extends AbstractModelForDbgengX64RegistersTest {
|
public class GadpModelForDbgengX64RegistersTest extends AbstractModelForDbgengX64RegistersTest {
|
||||||
|
|
||||||
// NB: Fails testWriteRegisters
|
// NB: Fails testWriteRegisters
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,11 +15,14 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.DbgEngInJvmDebuggerModelFactory;
|
import agent.dbgeng.DbgEngInJvmDebuggerModelFactory;
|
||||||
import agent.dbgeng.dbgeng.DbgEngTest;
|
import agent.dbgeng.dbgeng.DbgEngTest;
|
||||||
import agent.dbgeng.model.AbstractDbgengModelHost;
|
import agent.dbgeng.model.AbstractDbgengModelHost;
|
||||||
import ghidra.dbg.DebuggerModelFactory;
|
import ghidra.dbg.DebuggerModelFactory;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmDbgengModelHost extends AbstractDbgengModelHost {
|
public class InVmDbgengModelHost extends AbstractDbgengModelHost {
|
||||||
@Override
|
@Override
|
||||||
public DebuggerModelFactory getModelFactory() {
|
public DebuggerModelFactory getModelFactory() {
|
||||||
|
|||||||
+6
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,10 +15,15 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengBreakpointsTest;
|
import agent.dbgeng.model.AbstractModelForDbgengBreakpointsTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengBreakpointsTest extends AbstractModelForDbgengBreakpointsTest {
|
public class InVmModelForDbgengBreakpointsTest extends AbstractModelForDbgengBreakpointsTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengFactoryTest;
|
import agent.dbgeng.model.AbstractModelForDbgengFactoryTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengFactoryTest extends AbstractModelForDbgengFactoryTest {
|
public class InVmModelForDbgengFactoryTest extends AbstractModelForDbgengFactoryTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+5
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,13 +15,17 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengFrameActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengFrameActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengFrameActivationTest
|
public class InVmModelForDbgengFrameActivationTest
|
||||||
extends AbstractModelForDbgengFrameActivationTest {
|
extends AbstractModelForDbgengFrameActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getStackPattern() {
|
protected PathPattern getStackPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[].Stack[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[].Stack[]"));
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -21,6 +21,7 @@ import org.junit.Test;
|
|||||||
import agent.dbgeng.model.AbstractModelForDbgengInterpreterTest;
|
import agent.dbgeng.model.AbstractModelForDbgengInterpreterTest;
|
||||||
import ghidra.dbg.error.DebuggerModelTerminatingException;
|
import ghidra.dbg.error.DebuggerModelTerminatingException;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengInterpreterTest extends AbstractModelForDbgengInterpreterTest {
|
public class InVmModelForDbgengInterpreterTest extends AbstractModelForDbgengInterpreterTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+6
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,13 +17,17 @@ package agent.dbgeng.model.invm;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengProcessActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengProcessActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengProcessActivationTest
|
public class InVmModelForDbgengProcessActivationTest
|
||||||
extends AbstractModelForDbgengProcessActivationTest {
|
extends AbstractModelForDbgengProcessActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getProcessPattern() {
|
protected PathPattern getProcessPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0].Processes[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0].Processes[]"));
|
||||||
}
|
}
|
||||||
@@ -38,6 +42,7 @@ public class InVmModelForDbgengProcessActivationTest
|
|||||||
return PathUtils.parse("Sessions[0]");
|
return PathUtils.parse("Sessions[0]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getIdFromCapture(String line) {
|
public String getIdFromCapture(String line) {
|
||||||
return line.split("\\s+")[1];
|
return line.split("\\s+")[1];
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -20,6 +20,7 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengRootAttacherTest;
|
import agent.dbgeng.model.AbstractModelForDbgengRootAttacherTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengRootAttacherTest extends AbstractModelForDbgengRootAttacherTest {
|
public class InVmModelForDbgengRootAttacherTest extends AbstractModelForDbgengRootAttacherTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengRootLauncherTest;
|
import agent.dbgeng.model.AbstractModelForDbgengRootLauncherTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengRootLauncherTest extends AbstractModelForDbgengRootLauncherTest {
|
public class InVmModelForDbgengRootLauncherTest extends AbstractModelForDbgengRootLauncherTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioCloneExitTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioCloneExitTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengScenarioCloneExitTest
|
public class InVmModelForDbgengScenarioCloneExitTest
|
||||||
extends AbstractModelForDbgengScenarioCloneExitTest {
|
extends AbstractModelForDbgengScenarioCloneExitTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+3
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -20,9 +20,11 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioForkExitTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioForkExitTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengScenarioForkExitTest
|
public class InVmModelForDbgengScenarioForkExitTest
|
||||||
extends AbstractModelForDbgengScenarioForkExitTest {
|
extends AbstractModelForDbgengScenarioForkExitTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
@Ignore("Specimen is currently defunct")
|
@Ignore("Specimen is currently defunct")
|
||||||
@Test
|
@Test
|
||||||
public void testScenario() throws Throwable {
|
public void testScenario() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioMemoryTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioMemoryTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengScenarioMemoryTest extends AbstractModelForDbgengScenarioMemoryTest {
|
public class InVmModelForDbgengScenarioMemoryTest extends AbstractModelForDbgengScenarioMemoryTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioStackTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioStackTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengScenarioStackTest extends AbstractModelForDbgengScenarioStackTest {
|
public class InVmModelForDbgengScenarioStackTest extends AbstractModelForDbgengScenarioStackTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioX64RegistersTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioX64RegistersTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengScenarioX64RegistersTest
|
public class InVmModelForDbgengScenarioX64RegistersTest
|
||||||
extends AbstractModelForDbgengScenarioX64RegistersTest {
|
extends AbstractModelForDbgengScenarioX64RegistersTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-3
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -19,8 +19,9 @@ import org.junit.Ignore;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengSessionActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengSessionActivationTest;
|
||||||
|
|
||||||
@Ignore("Don't know how to make multiple sessions")
|
@Ignore("Don't know how to make multiple sessions, deprecated")
|
||||||
public class InVmModelForDbgengSessionActivationTest extends AbstractModelForDbgengSessionActivationTest {
|
public class InVmModelForDbgengSessionActivationTest
|
||||||
|
extends AbstractModelForDbgengSessionActivationTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
return new InVmDbgengModelHost();
|
return new InVmDbgengModelHost();
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengSteppableTest;
|
import agent.dbgeng.model.AbstractModelForDbgengSteppableTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengSteppableTest extends AbstractModelForDbgengSteppableTest {
|
public class InVmModelForDbgengSteppableTest extends AbstractModelForDbgengSteppableTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+6
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,13 +17,17 @@ package agent.dbgeng.model.invm;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengThreadActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengThreadActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengThreadActivationTest
|
public class InVmModelForDbgengThreadActivationTest
|
||||||
extends AbstractModelForDbgengThreadActivationTest {
|
extends AbstractModelForDbgengThreadActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getThreadPattern() {
|
protected PathPattern getThreadPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0].Processes[].Threads[]"));
|
||||||
}
|
}
|
||||||
@@ -38,6 +42,7 @@ public class InVmModelForDbgengThreadActivationTest
|
|||||||
return PathUtils.parse("Sessions[0]");
|
return PathUtils.parse("Sessions[0]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getIdFromCapture(String line) {
|
public String getIdFromCapture(String line) {
|
||||||
return line.split("\\s+")[1];
|
return line.split("\\s+")[1];
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgeng.model.invm;
|
package agent.dbgeng.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengX64RegistersTest;
|
import agent.dbgeng.model.AbstractModelForDbgengX64RegistersTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgengX64RegistersTest extends AbstractModelForDbgengX64RegistersTest {
|
public class InVmModelForDbgengX64RegistersTest extends AbstractModelForDbgengX64RegistersTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+3
-3
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -21,8 +21,7 @@ import static org.junit.Assert.assertNotNull;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.*;
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import agent.dbgeng.dbgeng.*;
|
import agent.dbgeng.dbgeng.*;
|
||||||
import agent.dbgeng.dbgeng.DebugBreakpoint.BreakFlags;
|
import agent.dbgeng.dbgeng.DebugBreakpoint.BreakFlags;
|
||||||
@@ -37,6 +36,7 @@ import ghidra.dbg.util.PathUtils;
|
|||||||
import ghidra.test.AbstractGhidraHeadlessIntegrationTest;
|
import ghidra.test.AbstractGhidraHeadlessIntegrationTest;
|
||||||
import ghidra.util.Msg;
|
import ghidra.util.Msg;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class DbgModelSetContextMWETest extends AbstractGhidraHeadlessIntegrationTest {
|
public class DbgModelSetContextMWETest extends AbstractGhidraHeadlessIntegrationTest {
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
|||||||
+3
-3
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -22,8 +22,7 @@ import java.nio.ByteBuffer;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.*;
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import com.sun.jna.Pointer;
|
import com.sun.jna.Pointer;
|
||||||
import com.sun.jna.WString;
|
import com.sun.jna.WString;
|
||||||
@@ -53,6 +52,7 @@ import agent.dbgmodel.jna.dbgmodel.UnknownWithUtils;
|
|||||||
import ghidra.test.AbstractGhidraHeadlessIntegrationTest;
|
import ghidra.test.AbstractGhidraHeadlessIntegrationTest;
|
||||||
import ghidra.util.NumericUtilities;
|
import ghidra.util.NumericUtilities;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class DbgModelTest extends AbstractGhidraHeadlessIntegrationTest {
|
public class DbgModelTest extends AbstractGhidraHeadlessIntegrationTest {
|
||||||
protected static HostDataModelAccess cachedAccess = null;
|
protected static HostDataModelAccess cachedAccess = null;
|
||||||
protected static DebugClient cachedClient = null;
|
protected static DebugClient cachedClient = null;
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,10 +15,13 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengBreakpointsTest;
|
import agent.dbgeng.model.AbstractModelForDbgengBreakpointsTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelBreakpointsTest extends AbstractModelForDbgengBreakpointsTest {
|
public class InVmModelForDbgmodelBreakpointsTest extends AbstractModelForDbgengBreakpointsTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,9 +15,12 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengFactoryTest;
|
import agent.dbgeng.model.AbstractModelForDbgengFactoryTest;
|
||||||
import ghidra.dbg.testutil.TestDebuggerModelProvider.ModelHost.WithoutThreadValidation;
|
import ghidra.dbg.testutil.TestDebuggerModelProvider.ModelHost.WithoutThreadValidation;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelFactoryTest extends AbstractModelForDbgengFactoryTest {
|
public class InVmModelForDbgmodelFactoryTest extends AbstractModelForDbgengFactoryTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+5
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,13 +15,17 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengFrameActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengFrameActivationTest;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelFrameActivationTest
|
public class InVmModelForDbgmodelFrameActivationTest
|
||||||
extends AbstractModelForDbgengFrameActivationTest {
|
extends AbstractModelForDbgengFrameActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getStackPattern() {
|
protected PathPattern getStackPattern() {
|
||||||
return new PathPattern(
|
return new PathPattern(
|
||||||
PathUtils.parse("Sessions[0x0].Processes[].Threads[].Stack.Frames[]"));
|
PathUtils.parse("Sessions[0x0].Processes[].Threads[].Stack.Frames[]"));
|
||||||
|
|||||||
+2
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -32,6 +32,7 @@ import ghidra.dbg.test.AbstractDebuggerModelTest;
|
|||||||
import ghidra.dbg.test.ProvidesTargetViaLaunchSpecimen;
|
import ghidra.dbg.test.ProvidesTargetViaLaunchSpecimen;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelInterpreterTest extends AbstractModelForDbgengInterpreterTest
|
public class InVmModelForDbgmodelInterpreterTest extends AbstractModelForDbgengInterpreterTest
|
||||||
implements ProvidesTargetViaLaunchSpecimen {
|
implements ProvidesTargetViaLaunchSpecimen {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+6
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,15 +17,19 @@ package agent.dbgmodel.model.invm;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengProcessActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengProcessActivationTest;
|
||||||
import ghidra.dbg.target.TargetInterpreter;
|
import ghidra.dbg.target.TargetInterpreter;
|
||||||
import ghidra.dbg.target.TargetObject;
|
import ghidra.dbg.target.TargetObject;
|
||||||
import ghidra.dbg.util.PathPattern;
|
import ghidra.dbg.util.PathPattern;
|
||||||
import ghidra.dbg.util.PathUtils;
|
import ghidra.dbg.util.PathUtils;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelProcessActivationTest
|
public class InVmModelForDbgmodelProcessActivationTest
|
||||||
extends AbstractModelForDbgengProcessActivationTest {
|
extends AbstractModelForDbgengProcessActivationTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
protected PathPattern getProcessPattern() {
|
protected PathPattern getProcessPattern() {
|
||||||
return new PathPattern(PathUtils.parse("Sessions[0x0].Processes[]"));
|
return new PathPattern(PathUtils.parse("Sessions[0x0].Processes[]"));
|
||||||
}
|
}
|
||||||
@@ -40,6 +44,7 @@ public class InVmModelForDbgmodelProcessActivationTest
|
|||||||
return PathUtils.parse("Sessions[0x0]");
|
return PathUtils.parse("Sessions[0x0]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getIdFromCapture(String line) {
|
public String getIdFromCapture(String line) {
|
||||||
return "0x" + line.split("\\s+")[3];
|
return "0x" + line.split("\\s+")[3];
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -20,6 +20,7 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengRootAttacherTest;
|
import agent.dbgeng.model.AbstractModelForDbgengRootAttacherTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelRootAttacherTest extends AbstractModelForDbgengRootAttacherTest {
|
public class InVmModelForDbgmodelRootAttacherTest extends AbstractModelForDbgengRootAttacherTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengRootLauncherTest;
|
import agent.dbgeng.model.AbstractModelForDbgengRootLauncherTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelRootLauncherTest extends AbstractModelForDbgengRootLauncherTest {
|
public class InVmModelForDbgmodelRootLauncherTest extends AbstractModelForDbgengRootLauncherTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioCloneExitTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioCloneExitTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelScenarioCloneExitTest
|
public class InVmModelForDbgmodelScenarioCloneExitTest
|
||||||
extends AbstractModelForDbgengScenarioCloneExitTest {
|
extends AbstractModelForDbgengScenarioCloneExitTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+3
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -20,9 +20,11 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioForkExitTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioForkExitTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelScenarioForkExitTest
|
public class InVmModelForDbgmodelScenarioForkExitTest
|
||||||
extends AbstractModelForDbgengScenarioForkExitTest {
|
extends AbstractModelForDbgengScenarioForkExitTest {
|
||||||
|
|
||||||
|
@Override
|
||||||
@Ignore("Specimen is currently defunct")
|
@Ignore("Specimen is currently defunct")
|
||||||
@Test
|
@Test
|
||||||
public void testScenario() throws Throwable {
|
public void testScenario() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -17,6 +17,8 @@ package agent.dbgmodel.model.invm;
|
|||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioMemoryTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioMemoryTest;
|
||||||
import ghidra.dbg.target.TargetModule;
|
import ghidra.dbg.target.TargetModule;
|
||||||
import ghidra.dbg.target.TargetProcess;
|
import ghidra.dbg.target.TargetProcess;
|
||||||
@@ -24,6 +26,7 @@ import ghidra.dbg.util.PathUtils;
|
|||||||
import ghidra.program.model.address.Address;
|
import ghidra.program.model.address.Address;
|
||||||
import ghidra.program.model.address.AddressRange;
|
import ghidra.program.model.address.AddressRange;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelScenarioMemoryTest
|
public class InVmModelForDbgmodelScenarioMemoryTest
|
||||||
extends AbstractModelForDbgengScenarioMemoryTest {
|
extends AbstractModelForDbgengScenarioMemoryTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,10 +15,13 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioStackTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioStackTest;
|
||||||
import ghidra.dbg.target.TargetProcess;
|
import ghidra.dbg.target.TargetProcess;
|
||||||
import ghidra.program.model.address.Address;
|
import ghidra.program.model.address.Address;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelScenarioStackTest extends AbstractModelForDbgengScenarioStackTest {
|
public class InVmModelForDbgmodelScenarioStackTest extends AbstractModelForDbgengScenarioStackTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -15,8 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package agent.dbgmodel.model.invm;
|
package agent.dbgmodel.model.invm;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengScenarioX64RegistersTest;
|
import agent.dbgeng.model.AbstractModelForDbgengScenarioX64RegistersTest;
|
||||||
|
|
||||||
|
@Ignore("deprecated")
|
||||||
public class InVmModelForDbgmodelScenarioX64RegistersTest
|
public class InVmModelForDbgmodelScenarioX64RegistersTest
|
||||||
extends AbstractModelForDbgengScenarioX64RegistersTest {
|
extends AbstractModelForDbgengScenarioX64RegistersTest {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-3
@@ -5,7 +5,7 @@
|
|||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@@ -19,8 +19,9 @@ import org.junit.Ignore;
|
|||||||
|
|
||||||
import agent.dbgeng.model.AbstractModelForDbgengSessionActivationTest;
|
import agent.dbgeng.model.AbstractModelForDbgengSessionActivationTest;
|
||||||
|
|
||||||
@Ignore("Don't know how to make multiple sessions")
|
@Ignore("Don't know how to make multiple sessions, deprecated")
|
||||||
public class InVmModelForDbgmodelSessionActivationTest extends AbstractModelForDbgengSessionActivationTest {
|
public class InVmModelForDbgmodelSessionActivationTest
|
||||||
|
extends AbstractModelForDbgengSessionActivationTest {
|
||||||
@Override
|
@Override
|
||||||
public ModelHost modelHost() throws Throwable {
|
public ModelHost modelHost() throws Throwable {
|
||||||
return new InVmDbgmodelModelHost();
|
return new InVmDbgmodelModelHost();
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user