Flutter Engine
The Flutter Engine
Variables
valgrind Namespace Reference

Variables

list VALGRIND_ARGUMENTS
 
list command = VALGRIND_ARGUMENTS + sys.argv[1:]
 
 process
 
 code = process.wait()
 
 output = process.stdout.readlines()
 
 errors = process.stderr.readlines()
 
string LEAK_RE = r"(?:definitely|indirectly) lost:"
 
 LEAK_LINE_MATCHER = re.compile(LEAK_RE)
 
 LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks")
 
list leaks = []
 

Variable Documentation

◆ code

valgrind.code = process.wait()

Definition at line 29 of file valgrind.py.

◆ command

list valgrind.command = VALGRIND_ARGUMENTS + sys.argv[1:]

Definition at line 24 of file valgrind.py.

◆ errors

valgrind.errors = process.stderr.readlines()

Definition at line 31 of file valgrind.py.

◆ LEAK_LINE_MATCHER

valgrind.LEAK_LINE_MATCHER = re.compile(LEAK_RE)

Definition at line 48 of file valgrind.py.

◆ LEAK_OKAY_MATCHER

valgrind.LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks")

Definition at line 49 of file valgrind.py.

◆ LEAK_RE

string valgrind.LEAK_RE = r"(?:definitely|indirectly) lost:"

Definition at line 47 of file valgrind.py.

◆ leaks

list valgrind.leaks = []

Definition at line 50 of file valgrind.py.

◆ output

valgrind.output = process.stdout.readlines()

Definition at line 30 of file valgrind.py.

◆ process

valgrind.process
Initial value:
1= subprocess.Popen(
2 command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Definition at line 27 of file valgrind.py.

◆ VALGRIND_ARGUMENTS

list valgrind.VALGRIND_ARGUMENTS
Initial value:
1= [
2 'valgrind',
3 '--error-exitcode=1',
4 '--leak-check=full',
5 '--trace-children=yes',
6 '--ignore-ranges=0x000-0xFFF', # Used for implicit null checks.
7 '--vex-iropt-level=1' # Valgrind crashes with the default level (2).
8]

Definition at line 14 of file valgrind.py.