Giter VIP home page Giter VIP logo

counting_benchmarks's Introduction

About

The repo is used to generate string constraints based on the regexes from the papers and the internet.

regex_source

benchmark-cnt-set-automata

The regexes coming from the OOPSLA'20 paper "Regex Matching with Counting-Set Automata".

benchmark-ca-main

The regexes coming from the USENIX Security'22 paper "Counting in Regexes Considered Harmful: Exposing ReDoS Vulnerability of Nonbacktracking Matchers".

VTLeeLab-LinguaFranca-FSE19-7a763c4

The regexes coming from the FSE'19 paper "Why Aren’t Regular Expressions a Lingua Franca? An Empirical Study on the Re-use and Portability of Regular Expressions". Its extracted regexes are stored in extracted.

scripts

python

The python scripts used to generate string constraints.

  • benchmarks_selected_to_smt2.py : The script to translate the regexes from regex_source/benchmarks-ca-main/Benchmarks-selected.
  • VTEELAb_FSE19_regex_extractor.py : The script to extract the regexes from the regex_source/VTLeeLab-LinguaFranca-FSE19-7a763c4 dataset.
  • runner.py : The multiple threads runner interface.
  • utils.py : The utility functions.

bash

The bash scripts used to generate string constraints.

  • stringfuzz_gen_counting_bench.sh : The script to generate string constraints with counting operator by stringfuzz.

reg2script

The tool to translate regexes to string constraints in smtlib2 format.

counting_benchmarks's People

Contributors

simplexiaohu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.