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