Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1397946

Browse files
Merge pull request #7 from CodeIntelligenceTesting/test-tutorials
refactor: cleanup tutorial projects & update versions
2 parents e04730e + 3f51f90 commit 1397946

File tree

21 files changed

+14
-382
lines changed

21 files changed

+14
-382
lines changed

‎example-projects/advanced-setup/gradle/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id("java-library")
33
id("org.jetbrains.kotlin.jvm") version "1.7.20"
4-
id("com.code-intelligence.cifuzz") version "1.16.0"
4+
id("com.code-intelligence.cifuzz") version "1.17.0"
55
}
66

77
repositories {

‎example-projects/advanced-setup/gradle/testsuite/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id("org.jetbrains.kotlin.jvm") version "1.7.20"
33
id("java-library")
4-
id("com.code-intelligence.cifuzz") version "1.16.0"
4+
id("com.code-intelligence.cifuzz") version "1.17.0"
55
}
66

77
repositories {

‎example-projects/simple-setup/gradle-junit-4-and-5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'java'
3-
id "com.code-intelligence.cifuzz" version "1.16.0"
3+
id "com.code-intelligence.cifuzz" version "1.17.0"
44

55
}
66

‎example-projects/simple-setup/gradle-kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
application
33
id("org.jetbrains.kotlin.jvm") version "1.7.20"
4-
id("com.code-intelligence.cifuzz") version "1.16.0"
4+
id("com.code-intelligence.cifuzz") version "1.17.0"
55
}
66

77
repositories {

‎example-projects/simple-setup/gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id "com.code-intelligence.cifuzz" version "1.16.0"
3+
id "com.code-intelligence.cifuzz" version "1.17.0"
44
}
55

66
repositories {

‎example-projects/simple-setup/maven-junit-4-and-5/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<extension>
3838
<groupId>com.code-intelligence</groupId>
3939
<artifactId>cifuzz-maven-extension</artifactId>
40-
<version>1.6.0</version>
40+
<version>1.7.0</version>
4141
</extension>
4242
</extensions>
4343
</build>

‎example-projects/simple-setup/maven/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<extension>
3737
<groupId>com.code-intelligence</groupId>
3838
<artifactId>cifuzz-maven-extension</artifactId>
39-
<version>1.6.0</version>
39+
<version>1.7.0</version>
4040
</extension>
4141
</extensions>
4242
</build>

‎tutorials/c_cpp/bazel/src/explore_me.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <cstring>
44
using namespace std;
55

6-
// just a function with multiple paths that can be discoverd by a fuzzer
76
void exploreMe(int a, int b, string c) {
87
if (a >= 20000) {
98
if (b >= 2000000) {

‎tutorials/c_cpp/cmake/src/explore_me.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
#include <cstring>
44
using namespace std;
55

6-
// just a function with multiple paths that can be discoverd by a fuzzer
76
void exploreMe(int a, int b, string c) {
87
if (a >= 20000) {
98
if (b >= 2000000) {
109
if (b - a < 100000) {
1110
if (c == "FUZZING") {
12-
// Trigger a heap buffer overflow
1311
char *s = (char *)malloc(8);
1412
strcpy(s, "too long");
1513
printf("%s\n", s);

‎tutorials/java/gradle/build.gradle

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
1-
/*
2-
* This file was generated by the Gradle 'init' task.
3-
*
4-
* This generated file contains a sample Java application project to get you started.
5-
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
6-
* User Manual available at https://docs.gradle.org/7.5.1/userguide/building_java_projects.html
7-
*/
8-
91
plugins {
10-
// Apply the application plugin to add support for building a CLI application in Java.
112
id 'application'
123
}
134

145
repositories {
15-
// Use Maven Central for resolving dependencies.
166
mavenCentral()
177
}
188

19-
20-
dependencies {
21-
22-
}
23-
249
application {
25-
// Define the main class for the application.
2610
mainClass = 'com.example.App'
27-
}
11+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /