Skip to content

Commit 96612a7

Browse files
authored
Merge pull request #2 from secure-software-engineering/feature/merge-old-project
Merge SWAN core project
2 parents cf1b71f + 6a769d5 commit 96612a7

File tree

139 files changed

+10480
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+10480
-0
lines changed

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,24 @@ buildNumber.properties
103103
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
104104
!/.mvn/wrapper/maven-wrapper.jar
105105

106+
### Eclipse ###
107+
108+
.metadata
109+
bin/
110+
tmp/
111+
*.tmp
112+
*.bak
113+
*.swp
114+
*~.nib
115+
local.properties
116+
.settings/
117+
.loadpath
118+
.recommenders
119+
120+
### Eclipse Patch ###
121+
# Eclipse Core
122+
.project
123+
124+
# JDT-specific (Eclipse Java Development Tools)
125+
.classpath
106126
# End of https://www.gitignore.io/api/java,maven,intellij

swan/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2018, Fraunhofer IEM
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

swan/META-INF/MANIFEST.MF

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: SWAN
4+
Bundle-SymbolicName: SWAN
5+
Bundle-Version: 1.0.0.qualifier
6+
Require-Bundle: org.junit
7+
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
8+
Main-Class: de.fraunhofer.iem.swan.Main

swan/README.md

Lines changed: 21 additions & 0 deletions

swan/ant.settings.ssebuild

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
soot.jar=lib/soot-trunk.jar
2+
soot-infoflow.jar=lib/soot-infoflow.jar
3+
soot-infoflow-android.jar=lib/soot-infoflow-android.jar
4+
5+
weka.jar=lib/weka.jar
6+
7+
SuSi.jar=build/jar/SuSi.jar

swan/ant.settings.template

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
soot.jar=
2+
soot-infoflow.jar=
3+
soot-infoflow-android.jar=
4+
5+
weka.jar=lib/weka.jar
6+
7+
SuSi.jar=build/jar/SuSi.jar

swan/build.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<project default="compile" name="swan">
2+
<property file="ant.settings"/>
3+
<target name="settings">
4+
<fail
5+
message="Please copy ant.settings.template to ant.settings, and set the variables in it."
6+
unless="weka.jar"
7+
/>
8+
</target>
9+
10+
11+
<target name="clean">
12+
<delete quiet="true" dir="build" />
13+
</target>
14+
15+
16+
<target name="compile" depends="settings">
17+
<mkdir dir="build/classes" />
18+
<javac includeantruntime="true" source="1.7" target="1.7" destdir="build/classes" debug="true" encoding="iso-8859-1">
19+
<src path="src" />
20+
21+
<classpath>
22+
<pathelement location="${weka.jar}" />
23+
<pathelement location="${soot.jar}" />
24+
<pathelement location="${soot-infoflow.jar}" />
25+
<pathelement location="${soot-infoflow-android.jar}" />
26+
</classpath>
27+
</javac>
28+
</target>
29+
30+
<target name="jar" depends="settings,compile">
31+
32+
<jar destfile="${SuSi.jar}" manifest="META-INF/MANIFEST.MF">
33+
<fileset dir="build/classes"/>
34+
</jar>
35+
36+
</target>
37+
38+
</project>
156 KB
Binary file not shown.
158 KB
Binary file not shown.
837 KB
Binary file not shown.

0 commit comments

Comments
 (0)