repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
soot | soot-master/src/test/java/soot/asm/backend/targets/Arrays.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 2,057 | 16.589744 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Bean.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,104 | 24.113636 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Comparable.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 980 | 30.645161 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/CompareArithmeticInstructions2.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 2,115 | 19.745098 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/CompareArithmeticInstuctions.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 2,113 | 19.72549 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/CompareInstructions.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 2,460 | 19.172131 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/ConstantPool.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,521 | 31.382979 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/ControlStructures.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,397 | 20.507692 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Dups.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,010 | 24.923077 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/ExceptionMethods.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 939 | 32.571429 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/ExtendedArithmeticLib.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,764 | 17.776596 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/InnerClass.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,035 | 23.666667 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/InnerStaticClass.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,060 | 24.261905 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/InstanceOfCasts.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,109 | 28.210526 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/LineNumbers.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 938 | 29.290323 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/LogicalOperations.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,464 | 19.068493 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Measurable.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 886 | 30.678571 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Modifiers.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,169 | 21.941176 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Monitor.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 976 | 24.710526 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/MyAnnotatedAnnotation.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 924 | 32.035714 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/MyEnum.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 891 | 28.733333 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/MyTestAnnotation.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,269 | 27.222222 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Returns.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,044 | 25.125 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/Stores.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,301 | 21.448276 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/TryCatch.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,030 | 24.775 | 71 | java |
soot | soot-master/src/test/java/soot/asm/backend/targets/nullTypes.java | package soot.asm.backend.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 1,032 | 26.184211 | 71 | java |
soot | soot-master/src/test/java/soot/baf/ASMBackendMockingTest.java | package soot.baf;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation... | 9,522 | 25.67507 | 97 | java |
soot | soot-master/src/test/java/soot/java10/LoadingTest.java | /*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2014 Raja Vallee-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 2.... | 3,093 | 29.633663 | 120 | java |
soot | soot-master/src/test/java/soot/java9/LoadingTest.java | /*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2014 Raja Vallee-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 2.... | 2,426 | 27.892857 | 120 | java |
soot | soot-master/src/test/java/soot/jbco/jimpleTransformations/ClassRenamerTest.java | /*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 1999 Raja Vallee-Rai
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 2.1 of the
*... | 5,991 | 36.685535 | 125 | java |
soot | soot-master/src/test/java/soot/jimple/MethodHandleTest.java | package soot.jimple;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundat... | 4,834 | 33.29078 | 121 | java |
soot | soot-master/src/test/java/soot/jimple/toolkit/callgraph/TypeBasedReflectionModelTest.java | package soot.jimple.toolkit.callgraph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Fre... | 7,494 | 35.207729 | 151 | java |
soot | soot-master/src/test/java/soot/jimple/toolkits/scalar/DeadAssignmentEliminatorTest.java | package soot.jimple.toolkits.scalar;
import static org.junit.Assert.assertEquals;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2020 Raja Vallee-Rai and others
* %%
* This program is free software: ... | 7,171 | 33.315789 | 124 | java |
soot | soot-master/src/test/java/soot/jimple/toolkits/typing/TypingMinimizeTest.java | package soot.jimple.toolkits.typing;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free ... | 19,758 | 29.586687 | 125 | java |
soot | soot-master/src/test/java/soot/toolkits/exceptions/ExceptionTestUtility.java | package soot.toolkits.exceptions;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 20,767 | 33.962963 | 91 | java |
soot | soot-master/src/test/java/soot/toolkits/exceptions/MethodThrowableSetTest.java | package soot.toolkits.exceptions;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 7,089 | 33.754902 | 125 | java |
soot | soot-master/src/test/java/soot/toolkits/exceptions/ThrowableSetTest.java | package soot.toolkits.exceptions;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 56,058 | 34.570431 | 141 | java |
soot | soot-master/src/test/java/soot/toolkits/exceptions/UnitThrowAnalysisTest.java | package soot.toolkits.exceptions;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Sof... | 63,824 | 49.058824 | 114 | java |
soot | soot-master/src/test/java/soot/toolkits/exceptions/targets/MethodThrowableSetClass.java | package soot.toolkits.exceptions.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the ... | 2,552 | 18.052239 | 71 | java |
soot | soot-master/src/test/java/soot/toolkits/exceptions/targets/MyException.java | package soot.toolkits.exceptions.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the ... | 987 | 28.939394 | 71 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/EnhancedUnitGraphTest.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2019 Shawn Meier
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either ve... | 2,747 | 29.876404 | 99 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/EnhancedUnitGraphTestUtility.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2019 Shawn Meier
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either ve... | 1,454 | 32.068182 | 100 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/GraphComparer.java | /**
* This class is a piece of test infrastructure. It compares various
* varieties of control flow graphs.
*/
package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute i... | 42,282 | 33.601473 | 249 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/PseudoTopologicalOrdererTest.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software... | 1,031 | 32.290323 | 84 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/PseudoTopologicalOrdererTestBase.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software... | 10,809 | 34.326797 | 123 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/SCCFastTest.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software... | 1,896 | 27.742424 | 91 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/SlowPseudoTopologicalOrdererTest.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software... | 1,043 | 32.677419 | 88 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/TestDominance.java | package soot.toolkits.graph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (c) 2014 Tim Henderson, Case Western Reserve University
* Cleveland, Ohio 44106
* All Rights Reserved.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU ... | 10,498 | 26.701847 | 93 | java |
soot | soot-master/src/test/java/soot/toolkits/graph/targets/TestException.java | package soot.toolkits.graph.targets;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2019 Shawn Meier
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, e... | 1,118 | 25.642857 | 71 | java |
soot | soot-master/src/test/java/soot/toolkits/purity/BinarySearchTree.java | package soot.toolkits.purity;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Softwar... | 3,032 | 24.487395 | 78 | java |
soot | soot-master/src/test/java/soot/toolkits/purity/PurityTest.java | package soot.toolkits.purity;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Softwar... | 2,834 | 18.155405 | 79 | java |
soot | soot-master/src/test/java/soot/toolkits/scalar/ArrayPackedSetTest.java | package soot.toolkits.scalar;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Softwar... | 4,483 | 19.663594 | 71 | java |
soot | soot-master/src/test/java/soot/toolkits/scalar/ArraySparseSetTest.java | package soot.toolkits.scalar;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Softwar... | 2,430 | 23.555556 | 71 | java |
soot | soot-master/src/test/java/soot/toolkits/scalar/CombinedDUAnalysisTest.java | package soot.toolkits.scalar;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Softwar... | 3,570 | 34.356436 | 110 | java |
soot | soot-master/src/test/java/soot/util/BitVector_intersects_Test.java | package soot.util;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundatio... | 3,521 | 25.681818 | 75 | java |
soot | soot-master/src/test/java/soot/util/LargePriorityQueueTest.java | package soot.util;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundatio... | 6,398 | 22.43956 | 71 | java |
soot | soot-master/src/test/java/soot/util/MediumPriorityQueueTest.java | package soot.util;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundatio... | 6,033 | 21.102564 | 71 | java |
soot | soot-master/src/test/java/soot/util/SmallPriorityQueueTest.java | package soot.util;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundatio... | 5,038 | 23.342995 | 72 | java |
soot | soot-master/src/test/java/soot/util/backend/SootASMClassWriterTest.java | package soot.util.backend;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software F... | 6,024 | 31.219251 | 101 | java |
soot | soot-master/src/test/java/soot/util/queue/ChunkedQueueTest.java | package soot.util.queue;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 2018 Raja Vallée-Rai and others
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Fou... | 4,122 | 27.047619 | 71 | java |
soot | soot-master/src/test/resources/Clinit/src/soot/A.java | package soot;
public class A implements IA {
private static String a;
static {
a = "A";
System.out.println("<soot.A: void clinit()>");
}
}
| 147 | 13.8 | 48 | java |
soot | soot-master/src/test/resources/Clinit/src/soot/A1.java | package soot;
public class A1 extends A {
public String a1 = "A1";
}
| 71 | 11 | 27 | java |
soot | soot-master/src/test/resources/Clinit/src/soot/IA.java | package soot;
public interface IA {
public static String x = "x";
}
| 71 | 11 | 31 | java |
soot | soot-master/src/test/resources/Clinit/src/soot/Main.java | package soot;
public class Main {
public static void main(String[] args) {
A1 a1 = new A1();
// query? => EntryPoints::clinitOf(A1).
// should return "<soot.A: void clinit()>" and "<soot.IA: void clinit()>"
// but current implementation will return an empty set.
System.out.println(a1.a1);
}
}
| 310 | 21.214286 | 75 | java |
soot | soot-master/src/test/resources/SimpleClass/Example.java | public class Example{
public void foo(){
int a = 0;
int b = 2;
bar(a, b);
}
public void bar(int a, int b){
int c = a*b;
int d = 0;
System.out.println(c);
}
} | 224 | 14 | 34 | java |
soot | soot-master/tutorial/addattributes/Main.java | /* Soot - a J*va Optimization and Annotation Framework
* Copyright (C) 1997-2000 Raja Vallee-Rai
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licens... | 2,173 | 27.605263 | 75 | java |
soot | soot-master/tutorial/createclass/Main.java | /* Soot - a J*va Optimization Framework
* Copyright (C) 1997-1999 Raja Vallee-Rai
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your ... | 4,800 | 37.717742 | 145 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/GenHelloWorld.java | package dk.brics.soot;
import soot.*;
import soot.jimple.*;
import soot.options.*;
import soot.util.*;
import soot.dava.*;
import soot.grimp.*;
import java.util.Arrays;
import java.io.*;
public class GenHelloWorld
{
public static void main(String[] args) {
System.out.println("Generating class...");
SootClass sCl... | 4,556 | 34.325581 | 92 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/RunLiveAnalysis.java | package dk.brics.soot;
import soot.*;
import soot.options.Options;
import soot.toolkits.graph.*;
import soot.toolkits.scalar.*;
import java.io.File;
import java.util.List;
public class RunLiveAnalysis
{
public static void main(String[] args) {
args = new String[] {"testers.LiveVarsClass"};
if (args.length == ... | 2,095 | 28.111111 | 70 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/RunVeryBusyAnalysis.java | package dk.brics.soot;
import java.io.File;
import java.util.List;
import dk.brics.soot.analyses.SimpleVeryBusyExpressions;
import dk.brics.soot.analyses.VeryBusyExpressions;
import soot.Body;
import soot.NormalUnitPrinter;
import soot.Scene;
import soot.SootClass;
import soot.SootMethod;
import soot.Unit;
import soot... | 2,448 | 28.865854 | 74 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/analyses/FlowAnalysisTemplate.java | package dk.brics.soot.analyses;
import soot.toolkits.graph.DirectedGraph;
import soot.toolkits.scalar.BackwardFlowAnalysis;
// Change to extend ForwardFlowAnalysis or others as appropriate
public class FlowAnalysisTemplate<N, A> extends BackwardFlowAnalysis<N, A> {
public FlowAnalysisTemplate(DirectedGraph<N> g) {
... | 926 | 21.071429 | 76 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/analyses/SimpleVeryBusyExpressions.java | package dk.brics.soot.analyses;
import java.util.*;
import dk.brics.soot.flowsets.ValueArraySparseSet;
import soot.Local;
import soot.Unit;
import soot.ValueBox;
import soot.jimple.BinopExpr;
import soot.jimple.internal.AbstractBinopExpr;
import soot.toolkits.graph.DirectedGraph;
import soot.toolkits.scalar.BackwardF... | 6,456 | 31.285 | 99 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/analyses/VeryBusyExpressions.java | package dk.brics.soot.analyses;
import java.util.List;
import soot.Unit;
import soot.jimple.internal.AbstractBinopExpr;
/**
* Provides an interface for querying the expressions that are very busy
* before and after a unit in a method.
* @author rni Einarsson
*/
public interface VeryBusyExpressions {
/**
... | 973 | 31.466667 | 97 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/annotations/TagBusyExpressions.java | package dk.brics.soot.annotations;
import dk.brics.soot.transformations.VeryBusyExpsTagger;
import soot.*;
public class TagBusyExpressions {
public static void main(String[] args) {
PackManager.v().getPack("jtp").add(new
Transform("jtp." + VeryBusyExpsTagger.PHASE_NAME,
VeryBusyExpsTagger.v()));
Ma... | 340 | 20.3125 | 56 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/flowsets/ValueArraySparseSet.java | package dk.brics.soot.flowsets;
import java.util.Arrays;
import java.util.List;
import soot.toolkits.scalar.AbstractFlowSet;
import soot.toolkits.scalar.FlowSet;
import soot.EquivTo;
/**
* This class is the exact copy of soot.toolkits.scalar.ArraySparseSet with two exceptions.
* <ol>
* <li>The contains method has... | 6,220 | 25.699571 | 91 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/dk/brics/soot/transformations/VeryBusyExpsTagger.java | package dk.brics.soot.transformations;
import java.util.Map;
import dk.brics.soot.analyses.SimpleVeryBusyExpressions;
import dk.brics.soot.analyses.VeryBusyExpressions;
import soot.*;
import soot.tagkit.ColorTag;
import soot.tagkit.StringTag;
import soot.toolkits.graph.ExceptionalUnitGraph;
public class VeryBusyExp... | 2,302 | 39.403509 | 87 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/testers/LiveVarsClass.java | package testers;
public class LiveVarsClass {
public static void main(String[] args) {
int x, y, z;
x = 10;
while (x > 1) {
y = x/2;
if (y > 3) x = x - y;
z = x - 4;
if (z > 0) x = x/2;
z = z - 1;
}
System.out.println(x);
}
}
| 254 | 14 | 41 | java |
soot | soot-master/tutorial/guide/examples/analysis_framework/src/testers/VeryBusyClass.java | package testers;
public class VeryBusyClass
{
public static void main(String[] args) {
int x = 10;
int a = x - 1;
int b = x - 2;
while (x > 0) {
System.out.println(a*b - x);
x = x - 1;
}
System.out.println(a*b);
}
}
| 239 | 13.117647 | 42 | java |
soot | soot-master/tutorial/guide/examples/call_graph/src/dk/brics/soot/callgraphs/CallGraphExample.java | package dk.brics.soot.callgraphs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import soot.MethodOrMethodContext;
import soot.PackManager;
import soot.Scene;
import soot.SceneTransformer;
import soot.SootClass;
import soot.SootMethod;
imp... | 1,632 | 27.649123 | 94 | java |
soot | soot-master/tutorial/guide/examples/call_graph/src/testers/CallGraphs.java | package testers;
public class CallGraphs
{
public static void main(String[] args) {
doStuff();
}
public static void doStuff() {
new A().foo();
}
}
class A
{
public void foo() {
bar();
}
public void bar() {
}
} | 229 | 9.454545 | 41 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/foo/Foo.java | package dk.brics.soot.intermediate.foo;
public class Foo {
private int i;
public Foo() {
i = 7;
}
public void foo(int j) {
i = j;
}
public int getInt() {
return i;
}
}
| 191 | 8.6 | 39 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/foo/FooTest.java | package dk.brics.soot.intermediate.foo;
public class FooTest {
public static void main(String[] args) {
FooTest ft = new FooTest();
System.out.println(ft.test());
}
public int test() {
Foo f = new Foo();
f.foo(9);
FooTest ft = new FooTest();
f = g(42);
int i = m(f);
return f.getInt();
}
publ... | 454 | 13.21875 | 41 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/foonalasys/FooCallgraphCreator.java | package dk.brics.soot.intermediate.foonalasys;
import dk.brics.soot.intermediate.representation.Method;
import soot.util.dot.DotGraph;
public class FooCallgraphCreator {
public FooCallgraphCreator(Method[] methods) {
// TODO Auto-generated constructor stub
}
public DotGraph getCallGraphAsDot() {
return null;... | 327 | 18.294118 | 56 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/foonalasys/Foonalasys.java | package dk.brics.soot.intermediate.foonalasys;
import java.io.IOException;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import dk.brics.soot.intermediate.representation.Method;
import dk.brics.soot.intermediate.representation.Statement;
import dk.brics.soot.intermediate.translation.Ja... | 3,621 | 28.688525 | 79 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/main/Main.java | package dk.brics.soot.intermediate.main;
import java.io.IOException;
import dk.brics.soot.intermediate.foonalasys.*;
public class Main {
public static void main(String[] args) throws IOException {
String program_name = null;
long time0 = System.currentTimeMillis();
System.out.println("Loading classes...... | 1,166 | 24.369565 | 77 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/FooAssignment.java | package dk.brics.soot.intermediate.representation;
public class FooAssignment extends Statement {
@Override
public <T> T process(StatementProcessor<T> v) {
return v.dispatch(this);
}
}
| 194 | 16.727273 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/FooInit.java | package dk.brics.soot.intermediate.representation;
public class FooInit extends Statement {
@Override
public <T> T process(StatementProcessor<T> v) {
return v.dispatch(this);
}
}
| 187 | 16.090909 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/FooMethodCall.java | package dk.brics.soot.intermediate.representation;
public class FooMethodCall extends MethodCall {
public FooMethodCall(Method target) {
super(target, new Variable[0]);
}
@Override
public <T> T process(StatementProcessor<T> v) {
return v.dispatch(this);
}
}
| 271 | 17.133333 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/Method.java | package dk.brics.soot.intermediate.representation;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import soot.SootMethod;
public class Method {
private String name = "";
private Variable[] params;
private List<Statement> sl;
private Set<Return> rs;
... | 1,319 | 20.639344 | 75 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/MethodCall.java | package dk.brics.soot.intermediate.representation;
public abstract class MethodCall extends Statement {
/** The target method */
private Method target;
/** The arguments given */
private Variable[] args;
public MethodCall(Method target, Variable[] args) {
this.target = target;
this.args... | 517 | 16.266667 | 55 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/MethodHead.java | package dk.brics.soot.intermediate.representation;
public class MethodHead extends Statement {
/** The parameter variables for the method */
public Variable[] params;
public MethodHead(Variable[] params) {
this.params = params;
}
@Override
public <T> T process(StatementProcessor<T> v) {
re... | 461 | 16.769231 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/Nop.java | package dk.brics.soot.intermediate.representation;
public class Nop extends Statement {
@Override
public <T> T process(StatementProcessor<T> v) {
return v.dispatch(this);
}
}
| 183 | 15.727273 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/Return.java | package dk.brics.soot.intermediate.representation;
public class Return extends Statement {
@Override
public <T> T process(StatementProcessor<T> v) {
return v.dispatch(this);
}
}
| 187 | 16.090909 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/SomeMethodCall.java | package dk.brics.soot.intermediate.representation;
public class SomeMethodCall extends MethodCall {
public SomeMethodCall(Method target, Variable[] args) {
super(target, args);
}
@Override
public <T> T process(StatementProcessor<T> v) {
return v.dispatch(this);
}
}
| 281 | 16.625 | 56 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/Statement.java | package dk.brics.soot.intermediate.representation;
import java.util.*;
import dk.brics.soot.intermediate.representation.Variable.Type;
/** Superclass of all statements.
* <p>
* A statements belongs to the body of some method.
* It has control flow edges to and from other statements.
*/
public abstract class... | 2,729 | 23.375 | 82 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/StatementProcessor.java | package dk.brics.soot.intermediate.representation;
public class StatementProcessor<T> {
/**
* Constructs a new Statement processor.
*/
public StatementProcessor() {}
/**
* Processes an {@link FooMethodCall}.
* This invokes {@link #pre(Statment)},
* if that returns null then {@link #process(FooMethodCa... | 4,881 | 21.706977 | 75 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/ToStringVisitor.java | package dk.brics.soot.intermediate.representation;
public class ToStringVisitor extends StatementProcessor<String> {
@Override
public String process(FooMethodCall s) {
return ""+s.getAssignmentTarget()+" = "+s.getTarget().getName()+"()";
}
@Override
public String process(SomeMethodCall s) {
return ""+s.ge... | 1,076 | 19.320755 | 71 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/representation/Variable.java | package dk.brics.soot.intermediate.representation;
public class Variable {
public enum Type {OTHER, FOO};
public Type type;
public Variable(Type type) {
this.type = type;
}
public String toString() {
switch (this.type) {
case FOO: return "Foo f";
case OTHER: return "Other f";
}
return "null";... | 327 | 13.909091 | 50 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/translation/ExprTranslator.java | package dk.brics.soot.intermediate.translation;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import soot.IntType;
import soot.Local;
import soot.RefType;
import soot.SootClass;
import soot.SootMethod;
import soot.Type;
import soot.Value;
import soot.ValueBox;
import soot.jimple.Arra... | 6,296 | 27.493213 | 75 | java |
soot | soot-master/tutorial/guide/examples/intermediate_representation/src/dk/brics/soot/intermediate/translation/JavaTranslator.java | package dk.brics.soot.intermediate.translation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import soot.ArrayType;
import soot.Hierarchy;
import soot.RefType;
import soot.Scene;
... | 5,132 | 28.164773 | 99 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.