Skip to content

Commit

Permalink
Merge pull request #491 from CROSSINGTUD/issue_171_281
Browse files Browse the repository at this point in the history
Add requested changes from issue 171 and 281
  • Loading branch information
schlichtig authored Dec 1, 2023
2 parents 6975441 + e687526 commit 428c4f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public CrySLResultsReporter getAnalysisListener() {
logger.info("Loaded " + rules.size() + " CrySL rules");
logger.info("Running CogniCrypt Analysis");
scanner.scan(rules);
logger.info("Terminated CogniCrypt Analysis");
logger.info("Finished CogniCrypt Analysis");
System.gc();
return errorListener.getErrors();
}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ CogniCrypt<sub>SAST</sub> can also be run on Android Applications using the Andr
* The absolute path to the directory of the CrySL rules.

```
java -cp <path-to-analysis-jar> -Xmx8g -Xss60m de.fraunhofer.iem.crypto.CogniCryptAndroid \
java -cp <path-to-analysis-jar> -Xmx8g -Xss60m de.fraunhofer.iem.crypto.CogniCryptAndroidAnalysis \
<path-to-apk> <path-to-android-platforms> <path-to-crysl-rules>
```
As an optional fourth parameter one can specify an output folder:
```
java -cp <path-to-analysis-jar> -Xmx8g -Xss60m de.fraunhofer.iem.crypto.CogniCryptAndroid \
java -cp <path-to-analysis-jar> -Xmx8g -Xss60m de.fraunhofer.iem.crypto.CogniCryptAndroidAnalysis \
<path-to-apk> <path-to-android-platforms> <path-to-crysl-rules> <output-dir>
```

Expand Down
5 changes: 1 addition & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,13 @@
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<!-- This plugin flattens the poms and removes not needed elements.
However, for the deployment, it is required to keep the metadata
fields.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.3.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>ossrh</flattenMode>
</configuration>
<executions>
<execution>
Expand All @@ -137,7 +135,6 @@
</execution>
</executions>
</plugin>
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down

0 comments on commit 428c4f3

Please sign in to comment.