[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/csmith] 69963a: Added two options: --[no]global-variables



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/csmith
  Commit: 69963ae18ca46cec8e03ab598061d9d27969fd9b
      https://github.com/csmith-project/csmith/commit/69963ae18ca46cec8e03ab598061d9d27969fd9b
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M src/Block.cpp
    M src/CGOptions.cpp
    M src/CGOptions.h
    M src/CVQualifiers.cpp
    M src/Probabilities.cpp
    M src/RandomProgramGenerator.cpp
    M src/VariableSelector.cpp

  Log Message:
  -----------
  Added two options: --[no]global-variables

Passing --no-global-variables to csmith will force
the generator to skip generating global variables.

One implication of this change is that all the generated
programs will output the same checksum (i.e. 0), because
checksums are computed using global variables.