Skip to content

Commit 14ef1b5

Browse files
NathanJPhillipssmowton
authored andcommitted
Merge pull request diffblue#82 from trtikm/trtikm/december_demo_sprint
Bug-fixes: making taint analyser working correctly after the clean-ups; Improved documentation files.
1 parent e6a9c10 commit 14ef1b5

File tree

10 files changed

+615
-17
lines changed

10 files changed

+615
-17
lines changed

regression/december_demo_sprint/DSpace/APP/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Installation on Ubuntu:
1919
git clone https://github.com/DSpace/DSpace
2020
2. Enter the directory type the following commands:
2121
git checkout 462ed4437c2f60812af1c207d8309212dbf893f6 .
22-
cd DSpace
2322
mvn clean package
2423
3. Copy built binaries into the installation directory by typing this command
2524
into the terminal:
25+
cd ..
2626
python ./copy_binaries.py
2727

regression/december_demo_sprint/Encuestame/APP/README.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Installation on Ubuntu:
2929
git clone https://github.com/smowton/encuestame/
3030
2. Rename the created directory "encuestame" to "Encuestame"
3131
3. Enter the directory and build with maven:
32-
cd Encuestame/
3332
git checkout taint_analysis .
3433
mvn clean package -DskipTests
3534
4. Copy the resulting files to ../BENCHMARK (relative path to this README.txt
Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
Openolat
22
~~~~~~~~
33

4-
OpenOLAT is a learning platform offering an extensive set of features that is written in Java.
5-
The code is open source and is hosted on a public Mercurial repository.
4+
OpenOLAT is a learning platform offering an extensive set of features that is
5+
written in Java. The code is open source and is hosted on a public Mercurial
6+
repository.
67

78
Home web: http://www.openolat.com/
89
Repo URL: http://hg.openolat.org/openolat105/
910

1011
Installation on Ubuntu:
1112

1213
1. Install TortoiseHg (http://tortoisehg.bitbucket.org/)
13-
2. Use TortoiseHg to clone the OpenOlat source code from http://hg.openolat.org/openolat105/
14-
3. Open terminal in the directory where you cloned OpenOlat into and type there: mvn clean package
15-
16-
The resulting WAR file "openolat-lms-10.5-SNAPSHOT.war" is then located in the sub-directory: ./target
17-
18-
!!! Copy the resulting WAR/JAR file(s) to ../BENCHMARK directory (relative path to this README.txt file)
19-
to be consistent with structure of this evaluation !!!
14+
2. Use TortoiseHg to clone the OpenOlat source code from:
15+
http://hg.openolat.org/openolat105/
16+
3. Update to revision: 6509
17+
4. Open terminal in the directory where you cloned OpenOlat into and type there:
18+
mvn clean package
19+
5. Copy content of the created sub-directory "target" into a directory
20+
"../../BENCHMARK". Note that the destination directory perhaps does not
21+
exist (so create it then).
2022

2123
----
2224

23-
Note: There is a GIT fork of Openolat (https://github.com/klemens/openolat.git). I tried to build the
24-
commit ece4e16b2567e7b62da8c578bf8b7a6b09766579, but the build has failed. So, do not use it!!
25+
Note: There is a GIT fork of Openolat (https://github.com/klemens/openolat.git).
26+
I tried to build the commit ece4e16b2567e7b62da8c578bf8b7a6b09766579, but
27+
the build has failed. So, do not use it!!
28+

regression/december_demo_sprint/TOY_APPS/Fotoalbum/APP/README.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Repository: https://github.com/foto-andreas/slideshow
1212
git clone https://github.com/foto-andreas/slideshow
1313
2. Rename the created directory "slideshow" to "Fotoalbum"
1414
3. Enter the directory and checkout the right commit:
15-
cd Fotoalbum/
1615
git checkout 924a537fce365a19b7db84bb542143acbc771e6b .
1716
4. Build with maven:
1817
mvn clean package

regression/december_demo_sprint/TOY_APPS/SuggestionBox/APP/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Installation on Ubuntu:
1313

1414
1. Open a terminal in the directory of this readme file and clone:
1515
git clone https://github.com/Tirrumala/SuggestionBox
16-
2. Enter the directory and build with maven:
16+
2. Then type this commands to build the application:
1717
cd SuggestionBox/SuggestionBox/
1818
git checkout a55074e07008c1a50042f472694d465db182d874 .
1919
mvn clean package

regression/december_demo_sprint/TOY_APPS/mediaManager/APP/README.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Installation on Ubuntu:
1919
1. Open a terminal in the directory of this readme file and clone:
2020
git clone https://github.com/jamescoll/mediaManager
2121
2. Enter the directory and checkout the right commit:
22-
cd mediaManager/
2322
git checkout bd8ffff7d4116d06a9ddfc6f53c2283ce18034bf .
2423
3. And build the application with maven:
2524
mvn clean package

regression/december_demo_sprint/TRAINING/taint_traces_04/APP/taint_traces_04/Main.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,33 @@
11
public class Main {
22

3+
public void dummy_alloc() {
4+
OtherBase1 dummy1 = new OtherBase1();
5+
OtherBase2 dummy2 = new OtherBase2();
6+
Other dummy3 = new Other();
7+
}
8+
39
public OtherBase1 foo() {
10+
dummy_alloc();
411
OtherBase1 ptr = new Other();
512
return ptr;
613
}
714

815
public void baz0() {
16+
dummy_alloc();
917
OtherBase1 ptr = foo();
1018
int i = ptr.someMethod();
1119
taint_sink_X1_arg_0(i);
1220
}
1321

1422
public void baz1() {
23+
dummy_alloc();
1524
Other ptr = new Other();
1625
int i = ptr.someMethod();
1726
taint_sink_X1_arg_0(i);
1827
}
1928

2029
public void baz2(Other ptr) {
30+
dummy_alloc();
2131
int i = ptr.someMethod();
2232
taint_sink_X1_arg_0(i);
2333
}

report_from_both_demos/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.aux
2+
*.log
3+
*.synctex.gz
4+
report_from_November_and_December_demos.pdf
5+

0 commit comments

Comments
 (0)