ry4nzhu / bugbasev2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bugs-to-reproduce

This a list of bugs that have been reproduced or some pending bugs that can be hopefully reproduced after further studying. Every bug is described in a docker container.

install docker and start docker

We utilize docker container to reproduce bugs. To install docker on ubuntu(or other linux system alike),

sudo apt-get install docker-engine -y

To start docker engine,

sudo service docker start

build container

For each bug in the list,

cd [bug directory]

Each bug directory should have a Dockerfile in it, with which we could build docker container.

docker image build -t [bug directory or anything you want] .

Note: For mariadb bugs, inside the directory should have a build.sh in it, so we can just type

bash build.sh

to build it with a tag named maria[bug number].

reproduce bug using the container just built

docker run [bug directory]

Note: For mariadb bugs, inside the directory should have a run.sh, simply type

bash run.sh

in the terminal will be able to reproduce that bug.

expected output

After we run the container of bug, we should see some error message from the shell we just execute docker run. For now, since those bugs are very trivial, we are expected to get segmentation fault.

pending bugs

For those bug directories with a dash in their name, that indicates we haven't worked them out but hopefully we will. Therefore, the container built on those bug directories doesn't make sense currently.

MISC

To see the total number of bugs reproducible for now, run bash NumOfBugs.sh in terminal.

About


Languages

Language:C 61.2%Language:Assembly 20.6%Language:HTML 5.6%Language:Tcl 3.6%Language:Shell 2.8%Language:Frege 2.2%Language:JavaScript 0.9%Language:M4 0.8%Language:Makefile 0.6%Language:Yacc 0.4%Language:Python 0.3%Language:Forth 0.2%Language:Roff 0.2%Language:Batchfile 0.1%Language:C++ 0.1%Language:Awk 0.1%Language:Dockerfile 0.1%Language:C# 0.1%Language:CMake 0.1%Language:CSS 0.0%Language:Perl 0.0%Language:Java 0.0%Language:PHP 0.0%Language:Lua 0.0%Language:DTrace 0.0%Language:GDB 0.0%Language:Lex 0.0%Language:NASL 0.0%Language:TeX 0.0%Language:Pawn 0.0%Language:VBScript 0.0%