These POCs can be compiled using either of the following commands:
clang
clang++ commenting-out.cpp -o commenting-out
./commenting-outGCC
g++ commenting-out.cpp -o commenting-out
./commenting-outwhere commenting-out is substituted for the relevant POC. Vulnerable code viewers for reviewing the source code can be found in the parent README.
- Confirmed working on Apple clang++ version 12.0.5
- Confirmed working on Ubuntu g++ version 7.5.0
- Confirmed working on Apple clang++ version 12.0.5
- Confirmed working on Ubuntu g++ version 7.5.0
- Does not work on Apple clang++ version 12.0.5
- Does not work on Ubuntu g++ version 7.5.0
- Confirmed working on Apple clang++ version 12.0.5 (MacOS) and clang++ 6.0.0 (Ubuntu)
- Does not work on Ubuntu g++ version 7.5.0