Skip to content

Commit

Permalink
so far
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakarimipour committed Aug 1, 2024
1 parent b1cdbcb commit 5d9d950
Show file tree
Hide file tree
Showing 40 changed files with 439 additions and 439 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UCR Tainting Checker
# XXX Tainting Checker


## How to run the checker
Expand Down Expand Up @@ -27,7 +27,7 @@ dependencies {
}
```

Now, when you build your project, the UCR Tainting Checker will also run,
Now, when you build your project, the XXX Tainting Checker will also run,
informing you of any potential errors related to TODO.


Expand All @@ -52,6 +52,6 @@ Run these commands from the top-level directory.
`./gradlew publishToMavenLocal`: publish the checker to your local Maven repository.
This is useful for testing before you publish it elsewhere, such as to Maven Central.

The UCR Tainting Checker is built upon the Checker Framework. Please see
The XXX Tainting Checker is built upon the Checker Framework. Please see
the [Checker Framework Manual](https://checkerframework.org/manual/) for
more information about using pluggable type-checkers, including this one.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import org.w3c.dom.Document;
import org.xml.sax.SAXException;

/** Configuration class for the UCR Tainting project. */
/** Configuration class for the XXX Tainting project. */
public class Config {

/**
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/AccessPathTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/ArraySerializationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/CollectionHandlingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/EnhancedForSerializationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/FixVisitorSelectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/InheritanceViolationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/NewTestTemplateTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/PolyTaintedSerializationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import org.junit.runners.Parameterized;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/SerializationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/SpecialCaseFixSerializationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/TaintingLibraryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.junit.runners.Parameterized.Parameters;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/TaintingValidationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.junit.runners.Parameterized.Parameters;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/TypeArgumentReceiverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/TypeArgumentSelectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/tests/TypeArgumentsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import tests.tools.SerializationTestHelper;

/**
* Test runner for tests of the UCR Tainting Checker.
* Test runner for tests of the XXX Tainting Checker.
*
* <p>Tests appear as Java files in the {@code tests/xxxtainting} folder. To add a new test case,
* create a Java file in that directory. The file contains "// ::" comments to indicate expected
Expand Down
36 changes: 18 additions & 18 deletions tests/accesspath/expected-output.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"errors": [
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 229,
"index": 1,
Expand All @@ -13,7 +13,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
1,
Expand All @@ -28,7 +28,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 327,
"index": 2,
Expand All @@ -40,7 +40,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
2,
Expand All @@ -55,7 +55,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 406,
"index": 3,
Expand All @@ -67,7 +67,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
1,
Expand All @@ -82,7 +82,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 491,
"index": 4,
Expand All @@ -94,7 +94,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
1,
Expand All @@ -109,7 +109,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 581,
"index": 5,
Expand All @@ -121,7 +121,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
1,
Expand All @@ -136,7 +136,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 644,
"index": 6,
Expand All @@ -148,7 +148,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Foo.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Foo.java",
"type-variable-position": [
[
0
Expand All @@ -162,7 +162,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 712,
"index": 7,
Expand All @@ -174,7 +174,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
1,
Expand All @@ -189,7 +189,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 791,
"index": 8,
Expand All @@ -201,7 +201,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
1,
Expand All @@ -216,7 +216,7 @@
]
},
{
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"messageKey": "assignment",
"offset": 1154,
"index": 9,
Expand All @@ -228,7 +228,7 @@
{
"annotation": "untainted",
"location": {
"path": "/Users/nima/Developer/UCRTaintingChecker/tests/accesspath/Test.java",
"path": "/Users/zzzz/Developer/XXXTaintingChecker/tests/accesspath/Test.java",
"type-variable-position": [
[
0
Expand Down
Loading

0 comments on commit 5d9d950

Please sign in to comment.