Package FuzzManager :: Package Collector :: Module tests
[hide private]
[frames] | no frames]

Module tests

source code

Tests


Author: Christian Holler (:decoder)

License:

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Contact: choller@mozilla.com

Classes [hide private]
  TestCollectorSubmit
  TestCollectorRefresh
Variables [hide private]
  testServerURL = 'http://127.0.0.1:8000/rest/'
  testAuthCreds = ('admin', 'admin')
  haveServer = False
  asanTraceCrash = '\nASAN:SIGSEGV\n============================...
  exampleTestCase = 'function init() {\n while ( {}, this) !(...
  __package__ = 'FuzzManager.Collector'
  e = ConnectionError(MaxRetryError("HTTPConnectionPool(host='12...
Variables Details [hide private]

asanTraceCrash

Value:
'''
ASAN:SIGSEGV
=================================================================
==5854==ERROR: AddressSanitizer: SEGV on unknown address 0x00000014 (p\
c 0x0810845f sp 0xffc57860 bp 0xffc57f18 T0)
    #0 0x810845e in js::AbstractFramePtr::asRematerializedFrame() cons\
t /srv/repos/mozilla-central/js/src/shell/../jit/RematerializedFrame.h\
:114
...

exampleTestCase

Value:
'''function init() {
    while ( {}, this) !(Object === "Infinity");      
}
eval("init()");
'''

e

Value:
ConnectionError(MaxRetryError("HTTPConnectionPool(host='127.0.0.1', po\
rt=8000): Max retries exceeded with url: /rest/ (Caused by <class 'soc\
ket.error'>: [Errno 111] Connection refused)",),)