Skip to content

moyix/codeql_weird_minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To reproduce:

  1. Make sure CodeQL is in your path and the CodeQL repo is available
  2. Run ./repro.sh

You can also play around with setting the OPT environment variable to see how the optimization level for some reason changes the behavior :(

$ OPT=-O0 ./repro.sh

Note: I also just tried this on a Mac and over there both files individually were missed but the two together were both flagged. Mysterious!

About

Minimal example of weird CodeQL behavior

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published