MozillaSecurity / funfuzz

A collection of fuzzers in a harness for testing the SpiderMonkey JavaScript engine.
Mozilla Public License 2.0
631 stars 115 forks source link

Rewrite shell_flags, support new SpiderMonkey shell runtime flags (esp. for wasm) and add tests #158

Closed nth10sd closed 6 years ago

nth10sd commented 6 years ago

…, now supports up to 18.

Modes 3, 5 and 6 do not exist, so repurpose them.

This also fixes #114.

codecov-io commented 6 years ago

Codecov Report

Merging #158 into master will increase coverage by 4.57%. The diff coverage is 91.91%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   33.87%   38.45%   +4.57%     
==========================================
  Files          30       30              
  Lines        2843     2931      +88     
==========================================
+ Hits          963     1127     +164     
+ Misses       1880     1804      -76
Impacted Files Coverage Δ
src/funfuzz/js/loop.py 18.7% <0%> (ø) :arrow_up:
src/funfuzz/js/shell_flags.py 90.34% <89.92%> (+71.49%) :arrow_up:
tests/js/test_shell_flags.py 97.5% <97.05%> (-2.5%) :arrow_down:
src/funfuzz/js/inspect_shell.py 46.53% <0%> (-1.99%) :arrow_down:
src/funfuzz/util/subprocesses.py 24.45% <0%> (-1.57%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b7fe988...846e0be. Read the comment docs.

nth10sd commented 6 years ago

I should add a test for the python harness portion.

nth10sd commented 6 years ago

While writing tests here, I discovered a bug in #157 which I then fixed in rev b0eff8eb93c0292f2efddccf1a0d74bcd24469e9 outside of this PR.