Ubuntu20.04 # Other Ubuntu Long-Term Support (LTS) versions are also acceptable.sudo apt install build-essential # install gcc, g++ and make
sudo apt install cmake # install cmakeHybridAlgSolver/
├── Membership
├── Parser
├── Solver # Solving Regular Expression Intersection Non-emptiness
├── String
├── solver.cpp
├── ...
└── IntersectionK.cpp #main codecd HybridAlgSolver # Enter the root directory of the project
mkdir build && cd build # create build directory
cmake .. # load cmakelist file
make # compile into .exe file
./IntersectionK [RegexFile] # running command\w*
hos\w*name:2024
hostname[2024]+
./IntersectionK sat
witness string: hostname:2024Online Algorithms for Detecting Ambiguity of Regex and Generating an Effective Attack String.
cd HybridAlgSolver # Enter the root directory of the project
mkdir build && cd build # create build directory
cmake .. # load cmakelist file
make # compile into .exe file
./DetectAmbiguity [Path of Regex File] [Path of Output File] # runnning command