Skip to content

Comparative language fuzz testing: Programming languages vs. fat fingers. In PLATEAU 2012: 4th Annual International Workshop on Evaluation and Usability of Programming Languages and Tools--Systems, Programming, Languages and Applications: Software for Humanity (SPLASH 2012).

Notifications You must be signed in to change notification settings

istlab/fuzzer-fat-fingers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

fuzzer-fat-fingers

License

Copyright [2012] [Diomidis Spinellis [email protected], Vassilios Karakoidas [email protected]]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Repository Structure

  • pub/ : PLATAEU 2012, Publication (LaTeX format)
  • src/
    • fuzz/ : Fuzzer implementation (Perl) and main execution script (run.sh)
    • lang/ : Scripts for compilation and execution of programs in the selected languages
    • run/ : Temporary directory, used when the benchmark is running.
    • stats/ : Data analysis scripts (Python)
    • tasks/ : Rosseta Code task implementations

Execution

To execute the fuzzer scripts on some or all tasks, you need to execute the run.sh script, located in src/fuzz directory of the repository.

Usage: $0 [-l lang] [-t task] [-v]
-f fuzzfunc Execute only the specified fuzz function
-l lang   Run only specified language
-t task   Run only specified task
-v    Verify tasks, to not fuzz

If no parameter is specified, the shell script will execute all the tasks available in the src/tasks/ directory for all the languages that are specified in the src/lang directory.

Selected languages (based on popularity/IEEE Article)

  • Java (OpenJDK 1.6.0_18)
  • C (gcc 4.4.5)
  • C++ (g++ 4.4.5)
  • PHP (PHP 5.3.3-7)
  • C# (mono 2.6.7, CLI v2.0)
  • Python (python 2.6.6)
  • Perl (perl 5.10.1)
  • Javascript (spidermonkey smjs 1.8.0)
  • Haskell (ghc 6.12.1)
  • Ruby (ruby 1.8.7)
  • Fortran (gfortran 4.4)
  • Not Included

Selected Tasks

We want each task to be available in all the languages, to be non-trivial and easy to test via its standard input and standard output.

About

Comparative language fuzz testing: Programming languages vs. fat fingers. In PLATEAU 2012: 4th Annual International Workshop on Evaluation and Usability of Programming Languages and Tools--Systems, Programming, Languages and Applications: Software for Humanity (SPLASH 2012).

Resources

Stars

Watchers

Forks

Packages

No packages published