mirror of
https://github.com/github/codeql.git
synced 2026-05-21 14:47:10 +02:00
This leverages the existing alias analysis to identify functions which have no reads or writes of the AllAliasedMemory virtual variable, and therefore have no global side effects. A recursion over the call graph identifies functions which have no indirect global side effects, and calls to those functions have their global side effect instructions removed.