-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(c): refactoring flex benchmarks (#50)
* refactor: flex-1 * refactor: flex-2 * refactor: flex-3 * refactor: flex-4 * refactor: flex-5 * refactor: flex-6 * refactor: remove old source codes
- Loading branch information
1 parent
b534cd2
commit a835fcd
Showing
274 changed files
with
330 additions
and
69,485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dockerignore | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
autopoint \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
jq \ | ||
libtool \ | ||
texinfo \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN export BUGGY_PATH=$(cat metadata.json | jq -r ".buggyPath") \ | ||
&& git clone https://github.com/westes/flex.git $BUGGY_PATH \ | ||
&& cd $BUGGY_PATH \ | ||
&& git checkout d3de49f84224b18c5287653f20525291b24cc26e \ | ||
&& ./autogen.sh \ | ||
&& ./configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"language": "c", | ||
"id": "flex-1", | ||
|
||
"buggyPath": "buggy", | ||
"referencePath": null, | ||
|
||
"buildCommand": "make -j`nproc`", | ||
"testCommand": null, | ||
|
||
"categories": ["safety", "memory-leak"], | ||
|
||
"leak": { | ||
"source": { | ||
"file": "src/buf.c", | ||
"line": 175 | ||
}, | ||
"sink": { | ||
"file": "src/buf.c", | ||
"line": 182 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dockerignore | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
autopoint \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
jq \ | ||
libtool \ | ||
texinfo \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN export BUGGY_PATH=$(cat metadata.json | jq -r ".buggyPath") \ | ||
&& git clone https://github.com/westes/flex.git $BUGGY_PATH \ | ||
&& cd $BUGGY_PATH \ | ||
&& git checkout d3de49f84224b18c5287653f20525291b24cc26e \ | ||
&& ./autogen.sh \ | ||
&& ./configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"language": "c", | ||
"id": "flex-1", | ||
|
||
"buggyPath": "buggy", | ||
"referencePath": null, | ||
|
||
"buildCommand": "make -j`nproc`", | ||
"testCommand": null, | ||
|
||
"categories": ["safety", "memory-leak"], | ||
|
||
"leak": { | ||
"source": { | ||
"file": "src/buf.c", | ||
"line": 196 | ||
}, | ||
"sink": { | ||
"file": "src/buf.c", | ||
"line": 203 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dockerignore | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
autopoint \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
jq \ | ||
libtool \ | ||
texinfo \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN export BUGGY_PATH=$(cat metadata.json | jq -r ".buggyPath") \ | ||
&& git clone https://github.com/westes/flex.git $BUGGY_PATH \ | ||
&& cd $BUGGY_PATH \ | ||
&& git checkout d3de49f84224b18c5287653f20525291b24cc26e \ | ||
&& ./autogen.sh \ | ||
&& ./configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"language": "c", | ||
"id": "flex-1", | ||
|
||
"buggyPath": "buggy", | ||
"referencePath": null, | ||
|
||
"buildCommand": "make -j`nproc`", | ||
"testCommand": null, | ||
|
||
"categories": ["safety", "memory-leak"], | ||
|
||
"leak": { | ||
"source": { | ||
"file": "src/dfa.c", | ||
"line": 285 | ||
}, | ||
"sink": { | ||
"file": "src/dfa.c", | ||
"line": 298 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dockerignore | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
autopoint \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
jq \ | ||
libtool \ | ||
texinfo \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN export BUGGY_PATH=$(cat metadata.json | jq -r ".buggyPath") \ | ||
&& git clone https://github.com/westes/flex.git $BUGGY_PATH \ | ||
&& cd $BUGGY_PATH \ | ||
&& git checkout d3de49f84224b18c5287653f20525291b24cc26e \ | ||
&& ./autogen.sh \ | ||
&& ./configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"language": "c", | ||
"id": "flex-1", | ||
|
||
"buggyPath": "buggy", | ||
"referencePath": null, | ||
|
||
"buildCommand": "make -j`nproc`", | ||
"testCommand": null, | ||
|
||
"categories": ["safety", "memory-leak"], | ||
|
||
"leak": { | ||
"source": { | ||
"file": "src/misc.c", | ||
"line": 109 | ||
}, | ||
"sink": { | ||
"file": "src/misc.c", | ||
"line": 111 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dockerignore | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
autopoint \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
jq \ | ||
libtool \ | ||
texinfo \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN export BUGGY_PATH=$(cat metadata.json | jq -r ".buggyPath") \ | ||
&& git clone https://github.com/westes/flex.git $BUGGY_PATH \ | ||
&& cd $BUGGY_PATH \ | ||
&& git checkout d3de49f84224b18c5287653f20525291b24cc26e \ | ||
&& ./autogen.sh \ | ||
&& ./configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"language": "c", | ||
"id": "flex-1", | ||
|
||
"buggyPath": "buggy", | ||
"referencePath": null, | ||
|
||
"buildCommand": "make -j`nproc`", | ||
"testCommand": null, | ||
|
||
"categories": ["safety", "memory-leak"], | ||
|
||
"leak": { | ||
"source": { | ||
"file": "src/sym.c", | ||
"line": 120 | ||
}, | ||
"sink": { | ||
"file": "src/sym.c", | ||
"line": 120 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dockerignore | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
autopoint \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
jq \ | ||
libtool \ | ||
texinfo \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN export BUGGY_PATH=$(cat metadata.json | jq -r ".buggyPath") \ | ||
&& git clone https://github.com/westes/flex.git $BUGGY_PATH \ | ||
&& cd $BUGGY_PATH \ | ||
&& git checkout d3de49f84224b18c5287653f20525291b24cc26e \ | ||
&& ./autogen.sh \ | ||
&& ./configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"language": "c", | ||
"id": "flex-1", | ||
|
||
"buggyPath": "buggy", | ||
"referencePath": null, | ||
|
||
"buildCommand": "make -j`nproc`", | ||
"testCommand": null, | ||
|
||
"categories": ["safety", "memory-leak"], | ||
|
||
"leak": { | ||
"source": { | ||
"file": "src/sym.c", | ||
"line": 180 | ||
}, | ||
"sink": { | ||
"file": "src/sym.c", | ||
"line": 180 | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.