Back to index

enigmail  1.4.3
Namespaces | Functions | Variables
find_OOM_errors.py File Reference

Go to the source code of this file.

Namespaces

namespace  find_OOM_errors

Functions

def find_OOM_errors.run
 Utility functions.
def find_OOM_errors.get_js_files
def find_OOM_errors.in_blacklist
 Blacklisting.
def find_OOM_errors.add_to_blacklist
def find_OOM_errors.count_lines
def find_OOM_errors.clean_voutput
 Output cleaning.
def find_OOM_errors.remove_failed_allocation_backtraces
def find_OOM_errors.clean_output

Variables

string find_OOM_errors.usage
string find_OOM_errors.help
string find_OOM_errors.command_template = 'shell/js'
 Consts, etc.
dictionary find_OOM_errors.blacklist = {}
tuple find_OOM_errors.whitelist = set()
tuple find_OOM_errors.parser = OptionParser(usage=usage)
 Program.
string find_OOM_errors.type = "int"
list find_OOM_errors.files = ["../jit-test/tests/arguments/args-createontrace.js"]
tuple find_OOM_errors.log = file("../OOM_log", "w")
int find_OOM_errors.num_failures = 0
tuple find_OOM_errors.command = (command_template + ' -O')
tuple find_OOM_errors.max = re.match(".*OOM max count: (\d+).*", out, flags=re.DOTALL)
tuple find_OOM_errors.problem = str((out, err, exit))
 The regression tests ends above.
string find_OOM_errors.vcommand = "valgrind --dsymutil=yes -q --log-file=OOM_valgrind_log_file "
tuple find_OOM_errors.vout = file("OOM_valgrind_log_file")
tuple find_OOM_errors.sans_alloc_sites = remove_failed_allocation_backtraces(vout)
tuple find_OOM_errors.double_free = err.find("pointer being freed was not allocated")
tuple find_OOM_errors.oom_detected = err.find("out of memory")
tuple find_OOM_errors.multiple_oom_detected = err.find("out of memory\nout of memory")
int find_OOM_errors.segfault_detected = 11
 find_OOM_errors.expected_num_failures = OPTIONS.regression
 find_OOM_errors.all
 find_OOM_errors.pipe