Implement a JS runtime fuzzing target in the JS shell
Categories
(Core :: JavaScript Engine, enhancement, P1)
Tracking
()
People
(Reporter: decoder, Assigned: decoder)
References
Details
(Keywords: sec-want, Whiteboard: [adv-main71-])
Attachments
(1 file)
This bug is about implementing a JS runtime target for libFuzzer in the JS shell. The purpose of this target is to have the ability to write libFuzzer targets for JS in JS. Since the fuzztests environment only provides minimal support for performing tasks in JS (e.g. no helper functions, no evaluate/print), it is best to implement this directly in shell/js.cpp.
| Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Backed out changeset f19a3fa75500 (bug 1578248) for mozbuild bustages on a CLOSED TREE.
Backout link: https://hg.mozilla.org/integration/autoland/rev/31c9b2cb97c13eb7c90852422d2d23e3c8dcb442
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=f19a3fa755007f58181b68ea009a1097cd635384&selectedJob=264974104
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=264974104&repo=autoland&lineNumber=4447
Log snippet:
[task 2019-09-04T16:52:39.685Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1332, in files_info
[task 2019-09-04T16:52:39.685Z] paths, _ = self.read_relevant_mozbuilds(paths)
[task 2019-09-04T16:52:39.685Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1296, in read_relevant_mozbuilds
[task 2019-09-04T16:52:39.685Z] self.config, metadata=metadata):
[task 2019-09-04T16:52:39.685Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1050, in read_mozbuild
[task 2019-09-04T16:52:39.685Z] raise bre
[task 2019-09-04T16:52:39.685Z] BuildReaderError:
[task 2019-09-04T16:52:39.685Z] ==============================
[task 2019-09-04T16:52:39.685Z] FATAL ERROR PROCESSING MOZBUILD FILE
[task 2019-09-04T16:52:39.685Z] ==============================
[task 2019-09-04T16:52:39.686Z]
[task 2019-09-04T16:52:39.686Z] The error occurred while processing the following file:
[task 2019-09-04T16:52:39.686Z]
[task 2019-09-04T16:52:39.686Z] /builds/worker/checkouts/gecko/js/src/shell/moz.build
[task 2019-09-04T16:52:39.686Z]
[task 2019-09-04T16:52:39.686Z] The underlying problem is a Python syntax error on line 25:
[task 2019-09-04T16:52:39.686Z]
[task 2019-09-04T16:52:39.686Z] if CONFIG['FUZZING_INTERFACES']
[task 2019-09-04T16:52:39.686Z]
[task 2019-09-04T16:52:39.686Z] ^
[task 2019-09-04T16:52:39.686Z]
[task 2019-09-04T16:52:39.686Z] Fix the syntax error and try again.
[task 2019-09-04T16:52:39.686Z]
[taskcluster 2019-09-04 16:52:40.458Z] === Task Finished ===
[taskcluster 2019-09-04 16:52:45.683Z] Unsuccessful task run with exit code: 1 completed in 59.43 seconds
Comment 6•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4b4934973f09
https://hg.mozilla.org/mozilla-central/rev/84163d7206f1
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Description
•