From d23c92fd30325101657feaaaeb87df139048f666 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Fri, 13 Sep 2024 18:31:19 +0200 Subject: [PATCH 01/10] corrected DAE, modify pom --- pom.xml | 2 +- .../DeadAssignmentEliminatorTest.class | Bin 0 -> 507 bytes .../DeadAssignmentEliminatorTest.java | 16 ++++++ sootup.analysis.intraprocedural/pom.xml | 5 -- sootup.apk.frontend/pom.xml | 6 --- sootup.codepropertygraph/pom.xml | 6 +-- sootup.examples/pom.xml | 8 --- sootup.interceptors/pom.xml | 4 ++ .../DeadAssignmentEliminator.java | 6 ++- sootup.java.bytecode.frontend/pom.xml | 9 +--- .../DeadAssignmentEliminatorTest.java | 51 ++++++++++++++++++ sootup.java.sourcecode.frontend/pom.xml | 4 -- sootup.jimple.frontend/pom.xml | 10 ---- sootup.qilin/pom.xml | 8 --- sootup.tests/pom.xml | 19 ++----- 15 files changed, 82 insertions(+), 72 deletions(-) create mode 100644 shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.class create mode 100644 shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.java diff --git a/pom.xml b/pom.xml index 0c4692de33a..5124fc7a905 100644 --- a/pom.xml +++ b/pom.xml @@ -412,7 +412,7 @@ org.slf4j slf4j-simple - 2.0.13 + ${slf4j-simple.version} test diff --git a/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.class b/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.class new file mode 100644 index 0000000000000000000000000000000000000000..e4917eeb2a5d8af9de7099cc5bc9b3f46380021b GIT binary patch literal 507 zcmaJ;-AV#M7(Jt_tJ|7eYGzs_L1>Utx2=Kn1A+a3;{B+DjJdnAjzL$wOfOIu1zq$2 zy;IRQB0&(%z|5KRo$t(W=Hu(_9Y7OB3lT(37&c;vGdLrD$LnM659`;xk?1RixGR0B zjv1nrYBz}lk|r!0OR#^*+xJr?JW>TSYRa|dMlz`1gwj`S6$jdfvGklx{Olf`MR2x1=wwW?oN( z9o`!g6IJ~KhE!Ye{_Q27ELf`@%)-7nms(Q(&$^~xh%z#ik{%H-ofEA&I&IR!H3srO(gz(gF*V0>oh`T6C?y_|b}H^O%;F1DrN#m{S*q(piCFC!nR_0> vCLE<{kY|j3A&wL%N 5) { + x = 40; + System.out.println(x); + temp = temp; + } + System.out.println(x); + x = 20; + temp = 30; + System.out.println(temp); + } +} \ No newline at end of file diff --git a/sootup.analysis.intraprocedural/pom.xml b/sootup.analysis.intraprocedural/pom.xml index 565f130c4de..51b3dbbf7f6 100644 --- a/sootup.analysis.intraprocedural/pom.xml +++ b/sootup.analysis.intraprocedural/pom.xml @@ -17,11 +17,6 @@ org.soot-oss sootup.core - - org.soot-oss - sootup.java.bytecode.frontend - test - org.soot-oss sootup.java.sourcecode.frontend diff --git a/sootup.apk.frontend/pom.xml b/sootup.apk.frontend/pom.xml index 2de8ee940aa..0637d4528ac 100644 --- a/sootup.apk.frontend/pom.xml +++ b/sootup.apk.frontend/pom.xml @@ -19,15 +19,9 @@ - - org.soot-oss - sootup.core - 1.3.1-SNAPSHOT - org.soot-oss sootup.java.core - 1.3.1-SNAPSHOT org.smali diff --git a/sootup.codepropertygraph/pom.xml b/sootup.codepropertygraph/pom.xml index 71b1628ddaf..b698e60b17c 100644 --- a/sootup.codepropertygraph/pom.xml +++ b/sootup.codepropertygraph/pom.xml @@ -20,11 +20,7 @@ org.soot-oss - sootup.core - - - org.soot-oss - sootup.java.core + sootup.analysis.interprocedural org.soot-oss diff --git a/sootup.examples/pom.xml b/sootup.examples/pom.xml index 6644e6aa200..058c3979f69 100644 --- a/sootup.examples/pom.xml +++ b/sootup.examples/pom.xml @@ -16,14 +16,6 @@ org.soot-oss sootup.callgraph - - org.soot-oss - sootup.core - - - org.soot-oss - sootup.java.core - org.soot-oss sootup.java.bytecode.frontend diff --git a/sootup.interceptors/pom.xml b/sootup.interceptors/pom.xml index 4d93d41c3d0..1d6e049b6fb 100644 --- a/sootup.interceptors/pom.xml +++ b/sootup.interceptors/pom.xml @@ -24,6 +24,10 @@ org.soot-oss sootup.java.core + + org.soot-oss + sootup.analysis.intraprocedural + \ No newline at end of file diff --git a/sootup.interceptors/src/main/java/sootup/interceptors/DeadAssignmentEliminator.java b/sootup.interceptors/src/main/java/sootup/interceptors/DeadAssignmentEliminator.java index d3b4fd28b45..a77a0df6bc8 100644 --- a/sootup.interceptors/src/main/java/sootup/interceptors/DeadAssignmentEliminator.java +++ b/sootup.interceptors/src/main/java/sootup/interceptors/DeadAssignmentEliminator.java @@ -22,7 +22,9 @@ */ import java.util.*; +import java.util.stream.Collectors; import javax.annotation.Nonnull; +import sootup.analysis.intraprocedural.reachingdefs.ReachingDefs; import sootup.core.graph.MutableStmtGraph; import sootup.core.jimple.Jimple; import sootup.core.jimple.basic.LValue; @@ -63,6 +65,7 @@ public DeadAssignmentEliminator(boolean eliminateOnlyStackLocals) { @Override public void interceptBody(@Nonnull Body.BodyBuilder builder, @Nonnull View view) { MutableStmtGraph stmtGraph = builder.getStmtGraph(); + Map> reachingDefs = (new ReachingDefs(stmtGraph)).getReachingDefs(); // refactor.. why already here - getNodes as well List stmts = builder.getStmts(); Deque deque = new ArrayDeque<>(stmts.size()); @@ -84,7 +87,6 @@ public void interceptBody(@Nonnull Body.BodyBuilder builder, @Nonnull View view) // Stmt is of the form a = a which is useless if (lhs == rhs && lhs instanceof Local) { - iterator.remove(); continue; } @@ -185,6 +187,8 @@ public void interceptBody(@Nonnull Body.BodyBuilder builder, @Nonnull View view) if (value instanceof Local) { Local local = (Local) value; Collection defs = allDefs.get(local); + List reachableDefs = reachingDefs.get(stmt); + defs = defs.stream().filter(reachableDefs::contains).collect(Collectors.toList()); if (defs != null) { deque.addAll(defs); } diff --git a/sootup.java.bytecode.frontend/pom.xml b/sootup.java.bytecode.frontend/pom.xml index 7de4966e2eb..58648156a64 100644 --- a/sootup.java.bytecode.frontend/pom.xml +++ b/sootup.java.bytecode.frontend/pom.xml @@ -13,14 +13,6 @@ - - org.soot-oss - sootup.core - - - org.soot-oss - sootup.java.core - org.soot-oss sootup.interceptors @@ -61,6 +53,7 @@ org.junit.jupiter junit-jupiter-api + test org.apache.commons diff --git a/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java b/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java index a6ec4082835..68e9595a3d1 100644 --- a/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java +++ b/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java @@ -1,12 +1,18 @@ package sootup.java.bytecode.frontend.interceptors; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import java.nio.file.Path; +import java.nio.file.Paths; import java.util.*; +import java.util.stream.Collectors; +import java.util.stream.Stream; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import sootup.core.graph.MutableStmtGraph; import sootup.core.graph.StmtGraph; +import sootup.core.inputlocation.AnalysisInputLocation; import sootup.core.jimple.basic.Local; import sootup.core.jimple.basic.NoPositionInformation; import sootup.core.jimple.basic.StmtPositionInfo; @@ -16,8 +22,12 @@ import sootup.core.jimple.common.stmt.JIfStmt; import sootup.core.jimple.common.stmt.Stmt; import sootup.core.model.Body; +import sootup.core.model.SourceType; +import sootup.core.signatures.MethodSignature; import sootup.core.types.PrimitiveType; +import sootup.core.util.Utils; import sootup.interceptors.DeadAssignmentEliminator; +import sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation; import sootup.java.core.JavaIdentifierFactory; import sootup.java.core.language.JavaJimple; import sootup.java.core.types.JavaClassType; @@ -26,6 +36,9 @@ @Tag("Java8") public class DeadAssignmentEliminatorTest { + Path classFilePath = + Paths.get("../shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.class"); + /** * * @@ -156,4 +169,42 @@ private static Body.BodyBuilder createBody(boolean essentialOption) { return builder; } + + @Test + public void testDeadAssignmentEliminator() { + AnalysisInputLocation inputLocation = + new PathBasedAnalysisInputLocation.ClassFileBasedAnalysisInputLocation( + classFilePath, + "", + SourceType.Application, + Collections.singletonList(new DeadAssignmentEliminator())); + JavaView view = new JavaView(Collections.singletonList(inputLocation)); + + final MethodSignature methodSignature = + view.getIdentifierFactory() + .getMethodSignature( + "DeadAssignmentEliminatorTest", "tc1", "void", Collections.emptyList()); + Body body = view.getMethod(methodSignature).get().getBody(); + assertFalse(body.getStmts().isEmpty()); + assertEquals( + Stream.of( + "DeadAssignmentEliminatorTest this", + "unknown $stack3, $stack4, $stack5", + "this := @this: DeadAssignmentEliminatorTest", + "l1 = 30", + "l2 = l1", + "if l2 <= 5 goto label1", + "l1 = 40", + "$stack5 = ", + "virtualinvoke $stack5.(l1)", + "label1:", + "$stack3 = ", + "virtualinvoke $stack3.(l1)", + "l2 = 30", + "$stack4 = ", + "virtualinvoke $stack4.(l2)", + "return") + .collect(Collectors.toList()), + Utils.filterJimple(body.toString())); + } } diff --git a/sootup.java.sourcecode.frontend/pom.xml b/sootup.java.sourcecode.frontend/pom.xml index 196ebab3a97..4390bbe8c96 100644 --- a/sootup.java.sourcecode.frontend/pom.xml +++ b/sootup.java.sourcecode.frontend/pom.xml @@ -66,10 +66,6 @@ - - org.soot-oss - sootup.core - org.soot-oss sootup.java.core diff --git a/sootup.jimple.frontend/pom.xml b/sootup.jimple.frontend/pom.xml index ed8cb4639cf..7ebe3c43dd3 100644 --- a/sootup.jimple.frontend/pom.xml +++ b/sootup.jimple.frontend/pom.xml @@ -46,16 +46,6 @@ - - org.soot-oss - sootup.core - - - - org.soot-oss - sootup.java.sourcecode.frontend - - org.soot-oss sootup.java.core diff --git a/sootup.qilin/pom.xml b/sootup.qilin/pom.xml index de300712c35..02d9b2a970d 100644 --- a/sootup.qilin/pom.xml +++ b/sootup.qilin/pom.xml @@ -14,14 +14,6 @@ - - org.soot-oss - sootup.core - - - org.soot-oss - sootup.java.core - org.soot-oss sootup.java.bytecode.frontend diff --git a/sootup.tests/pom.xml b/sootup.tests/pom.xml index e67e39d9e93..ba264fb5f9c 100644 --- a/sootup.tests/pom.xml +++ b/sootup.tests/pom.xml @@ -14,33 +14,20 @@ - - org.soot-oss - sootup.core - - - org.soot-oss - sootup.java.core - - - org.soot-oss - sootup.interceptors - org.soot-oss sootup.java.bytecode.frontend - - - org.soot-oss - sootup.java.sourcecode.frontend + test org.soot-oss sootup.jimple.frontend + test org.soot-oss sootup.callgraph + test org.junit.jupiter From befbb2d8dd29567999e3d195f6beb827e1e1c69b Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Fri, 13 Sep 2024 19:28:34 +0200 Subject: [PATCH 02/10] tests pom update --- sootup.tests/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sootup.tests/pom.xml b/sootup.tests/pom.xml index ba264fb5f9c..b96e4c1e32c 100644 --- a/sootup.tests/pom.xml +++ b/sootup.tests/pom.xml @@ -14,6 +14,11 @@ + + org.soot-oss + sootup.java.sourcecode.frontend + test + org.soot-oss sootup.java.bytecode.frontend From 542affbeae04b694ff57df9e439f839654a65cb2 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Tue, 17 Sep 2024 11:55:40 +0200 Subject: [PATCH 03/10] added slf4j-simple.version --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index fe88ded2ac1..a58c781f5de 100644 --- a/pom.xml +++ b/pom.xml @@ -94,6 +94,7 @@ 3.0.1 true ${basedir}/target + 2.0.5 From af7da597616a822cb61b066f9987ce65e68ec237 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Thu, 19 Sep 2024 11:53:57 +0200 Subject: [PATCH 04/10] added tc --- .../DeadAssignmentEliminatorTest.class | Bin 507 -> 731 bytes .../DeadAssignmentEliminatorTest.java | 10 ++++++++ .../DeadAssignmentEliminatorTest.java | 22 ++++++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.class b/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.class index e4917eeb2a5d8af9de7099cc5bc9b3f46380021b..f9930c0f24066ceeeba279caadbe8d87a7e7903e 100644 GIT binary patch delta 357 zcmZ8d%Syvg5IvKaCWa!KCbiMDzHQPf1r=O~iXeh;cY+IdF^#cOvarFWenaRN2(ATP zsJQS0`~^S7D$cFo!p+Q?b7#((xu5EXX1;&Fz5&?AYHr@%7_bRycp4cfGl<%;i3(gD zQ$S1q0o)fBs=GJKR7f{Bhb2mS%T6zGcktwA||jvaD4H9 zcq=&8u|)9p*X&8BWf0{<%5l#MJT)%pn{;Gz;T(YDre%XHJ(8a3ycQ z|84E3v`h8=J#AhG%<7;oxFj1Ie_AK(AU!;*BrHcXpD?N2VbrP$YeqamXJSrTC_{@H iivSkyQ(^_14|DjgGNTHAjSFdGfCjL2W(dvU6HX> HnHZ!19+VH| diff --git a/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.java b/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.java index c8eda153a66..ee82e76864f 100644 --- a/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.java +++ b/shared-test-resources/bugfixes/DeadAssignmentEliminatorTest.java @@ -13,4 +13,14 @@ void tc1() { temp = 30; System.out.println(temp); } + + void tc2() { + String x = "abc"; + x = "cde"; + if (x.length() > 2) { + x = "3"; + x = "if"; + } + System.out.println(x); + } } \ No newline at end of file diff --git a/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java b/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java index 68e9595a3d1..00e16ed1fed 100644 --- a/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java +++ b/sootup.java.bytecode.frontend/src/test/java/sootup/java/bytecode/frontend/interceptors/DeadAssignmentEliminatorTest.java @@ -206,5 +206,27 @@ public void testDeadAssignmentEliminator() { "return") .collect(Collectors.toList()), Utils.filterJimple(body.toString())); + + final MethodSignature methodSignature1 = + view.getIdentifierFactory() + .getMethodSignature( + "DeadAssignmentEliminatorTest", "tc2", "void", Collections.emptyList()); + Body body1 = view.getMethod(methodSignature1).get().getBody(); + assertFalse(body1.getStmts().isEmpty()); + assertEquals( + Stream.of( + "DeadAssignmentEliminatorTest this", + "unknown $stack2, $stack3", + "this := @this: DeadAssignmentEliminatorTest", + "l1 = \"cde\"", + "$stack2 = virtualinvoke l1.()", + "if $stack2 <= 2 goto label1", + "l1 = \"if\"", + "label1:", + "$stack3 = ", + "virtualinvoke $stack3.(l1)", + "return") + .collect(Collectors.toList()), + Utils.filterJimple(body1.toString())); } } From ea3ee6c53c98569bd4d841852b3ef7ca853fb7e8 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Thu, 19 Sep 2024 18:30:02 +0200 Subject: [PATCH 05/10] dependency management handles version --- pom.xml | 3 +-- sootup.apk.frontend/pom.xml | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index a58c781f5de..690a20152ff 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,6 @@ 3.0.1 true ${basedir}/target - 2.0.5 @@ -447,7 +446,7 @@ org.slf4j slf4j-simple - ${slf4j-simple.version} + 2.0.5 test diff --git a/sootup.apk.frontend/pom.xml b/sootup.apk.frontend/pom.xml index 0637d4528ac..ceab641413d 100644 --- a/sootup.apk.frontend/pom.xml +++ b/sootup.apk.frontend/pom.xml @@ -26,29 +26,24 @@ org.smali dexlib2 - 2.5.2 de.upb.cs.swt axml - 2.1.3 org.mockito mockito-core - 4.0.0 test org.mockito mockito-junit-jupiter - 5.12.0 test junit junit - 4.13.2 test From f0a0263e8bc74746f2d7721cb44cff166a70f8db Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Thu, 19 Sep 2024 18:33:45 +0200 Subject: [PATCH 06/10] junit 5 in apk.frontend --- sootup.apk.frontend/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sootup.apk.frontend/pom.xml b/sootup.apk.frontend/pom.xml index ceab641413d..afbf4b14a14 100644 --- a/sootup.apk.frontend/pom.xml +++ b/sootup.apk.frontend/pom.xml @@ -42,8 +42,8 @@ test - junit - junit + org.junit.jupiter + junit-jupiter-api test From 07c41acf472bbbffa929a5a5cc43d08e9de45913 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Thu, 19 Sep 2024 18:37:44 +0200 Subject: [PATCH 07/10] updated version for slf4j-simple --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 690a20152ff..f0aec771b1a 100644 --- a/pom.xml +++ b/pom.xml @@ -446,7 +446,7 @@ org.slf4j slf4j-simple - 2.0.5 + 2.0.13 test From 98dd836c57b6330d18fe8d422d40d0b99bdf792a Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Thu, 19 Sep 2024 19:32:53 +0200 Subject: [PATCH 08/10] updated tests to junit5 --- .../sootup/apk/frontend/AndroidVersionInfoTest.java | 12 ++++++------ .../test/java/sootup/apk/frontend/ApkToDexTest.java | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sootup.apk.frontend/src/test/java/sootup/apk/frontend/AndroidVersionInfoTest.java b/sootup.apk.frontend/src/test/java/sootup/apk/frontend/AndroidVersionInfoTest.java index 27e06812507..57cea92b572 100644 --- a/sootup.apk.frontend/src/test/java/sootup/apk/frontend/AndroidVersionInfoTest.java +++ b/sootup.apk.frontend/src/test/java/sootup/apk/frontend/AndroidVersionInfoTest.java @@ -5,16 +5,16 @@ import java.io.File; import java.nio.file.Paths; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import sootup.apk.frontend.main.AndroidVersionInfo; -@RunWith(MockitoJUnitRunner.class) +@ExtendWith(MockitoExtension.class) public class AndroidVersionInfoTest { @Mock private File mockJarsFile; @@ -25,7 +25,7 @@ public class AndroidVersionInfoTest { public AndroidVersionInfoTest() {} - @Before + @BeforeEach public void setUp() { // Setting up mocks mockJarsFile = mock(File.class); diff --git a/sootup.apk.frontend/src/test/java/sootup/apk/frontend/ApkToDexTest.java b/sootup.apk.frontend/src/test/java/sootup/apk/frontend/ApkToDexTest.java index fa1b13267db..8ece81fff49 100644 --- a/sootup.apk.frontend/src/test/java/sootup/apk/frontend/ApkToDexTest.java +++ b/sootup.apk.frontend/src/test/java/sootup/apk/frontend/ApkToDexTest.java @@ -1,12 +1,12 @@ package sootup.apk.frontend; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; import java.nio.file.Paths; import java.util.*; import java.util.stream.Collectors; -import org.junit.Test; +import org.junit.jupiter.api.Test; import sootup.core.model.ClassModifier; import sootup.core.model.SootClass; import sootup.core.model.SootMethod; From 320d54640ac7b80a762c3391bf04fce699eef1d0 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Thu, 19 Sep 2024 20:11:20 +0200 Subject: [PATCH 09/10] mockito v5 needs java11 so downgraded to v4 --- pom.xml | 8 +++++++- sootup.apk.frontend/pom.xml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f0aec771b1a..bba6a50164a 100644 --- a/pom.xml +++ b/pom.xml @@ -443,6 +443,12 @@ 5.10.2 test + + org.junit.jupiter + junit-jupiter-engine + 5.10.2 + test + org.slf4j slf4j-simple @@ -458,7 +464,7 @@ org.mockito mockito-junit-jupiter - 5.12.0 + 4.0.0 test diff --git a/sootup.apk.frontend/pom.xml b/sootup.apk.frontend/pom.xml index afbf4b14a14..c2d64551225 100644 --- a/sootup.apk.frontend/pom.xml +++ b/sootup.apk.frontend/pom.xml @@ -43,7 +43,7 @@ org.junit.jupiter - junit-jupiter-api + junit-jupiter-engine test From f84cf6823898fb27bb59ecfad00b66d4cf908e75 Mon Sep 17 00:00:00 2001 From: sahilagichani Date: Fri, 20 Sep 2024 12:49:56 +0200 Subject: [PATCH 10/10] use dependency management --- pom.xml | 2 +- sootup.apk.frontend/pom.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bba6a50164a..d0942e8433f 100644 --- a/pom.xml +++ b/pom.xml @@ -464,7 +464,7 @@ org.mockito mockito-junit-jupiter - 4.0.0 + 5.12.0 test diff --git a/sootup.apk.frontend/pom.xml b/sootup.apk.frontend/pom.xml index c2d64551225..be50a2edcbe 100644 --- a/sootup.apk.frontend/pom.xml +++ b/sootup.apk.frontend/pom.xml @@ -39,6 +39,8 @@ org.mockito mockito-junit-jupiter + + 4.0.0 test