These POCs can be compiled using either of the following commands:
clang
clang commenting-out.c -o commenting-out
./commenting-outGCC
gcc commenting-out.c -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 gcc version 7.5.0
- Confirmed working on Apple clang version 12.0.5
- Confirmed working on Ubuntu gcc version 7.5.0
- Works with warning on Apple clang version 12.0.5
- Does not work on Ubuntu gcc version 7.5.0
- Confirmed working on Apple clang version 12.0.5 (MacOS) and clang 6.0.0 (Ubuntu)
- Confirmed working on Ubuntu gcc 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 gcc version 7.5.0