Skip to content

Commit

Permalink
Compile janalyzer-taint/taint-map1 test sources
Browse files Browse the repository at this point in the history
Add pom.xml for compilation,
move sources
remove obsolete pre-compiled class files.
  • Loading branch information
peterschrammel committed Dec 31, 2024
1 parent e87ef79 commit b84035e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
1 change: 1 addition & 0 deletions jbmc/regression/janalyzer-taint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<module>taint-basic2</module>
<module>taint-interface1</module>
<module>taint-interproc1</module>
<module>taint-map1</module>
</modules>

</project>
Binary file removed jbmc/regression/janalyzer-taint/taint-map1/map1.class
Binary file not shown.
30 changes: 30 additions & 0 deletions jbmc/regression/janalyzer-taint/taint-map1/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.cprover.regression</groupId>
<artifactId>regression.janalyzer-taint.taint-map1</artifactId>
<version>1.0-SNAPSHOT</version>

<parent>
<groupId>org.cprover.regression</groupId>
<artifactId>regression.janalyzer-taint</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion jbmc/regression/janalyzer-taint/taint-map1/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
map1
--taint taint.json
--taint taint.json -cp target/classes
^EXIT=0$
^SIGNAL=0$
^file map1.java line 12( function .*)?: There is a flow \(taint rule my_sink\)$
Expand Down

0 comments on commit b84035e

Please sign in to comment.