summaryrefslogtreecommitdiff
path: root/scripts/update_lit_checks.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-11-01 15:22:46 -0700
committerGitHub <noreply@github.com>2023-11-01 15:22:46 -0700
commitf1d5b26ff1346a549e8413af6060175f32f381b1 (patch)
tree76c05a346847c92662921128c332b564b8d84835 /scripts/update_lit_checks.py
parentb14bf894b2888807f39f48b4c75a2bc68944efc8 (diff)
downloadbinaryen-f1d5b26ff1346a549e8413af6060175f32f381b1.tar.gz
binaryen-f1d5b26ff1346a549e8413af6060175f32f381b1.tar.bz2
binaryen-f1d5b26ff1346a549e8413af6060175f32f381b1.zip
Fuzzer: Better handling of globals from initial content (#6072)
Previously the fuzzer never added gets or sets of globals from initial content. That was an oversight, I'm pretty sure - it's just that the code that sets up the lists from which we pick globals for gets and sets was in another place. That is, any globals in the initial content file were never used in new random code the fuzzer generates (only new globals the fuzzer generated were used there). This PR allows us to use those globals, but also ignores them with some probability, to avoid breaking patterns like "once" globals (that we want to only be used from initial content, at least much of the time). Also simplify the code here: we don't need isInvalidGlobal just to handle the hang limit global, which is already handled by not being added to the lists we pick names from anyhow.
Diffstat (limited to 'scripts/update_lit_checks.py')
0 files changed, 0 insertions, 0 deletions