Flutter Engine
The Flutter Engine
Classes | Variables
dart_profiler_symbols Namespace Reference

Classes

class  Symbol
 

Variables

 parser = optparse.OptionParser()
 
 type
 
 help
 
 options = parser.parse_args()[0]
 
 nm = options.nm
 
 binary = options.binary
 
 output = options.output
 
 p
 
 nm_output
 
 nm_lines = nm_output.decode('utf-8').split('\n')
 
 regex = re.compile("([0-9A-Za-z]+) ([0-9A-Za-z]+) (t|T|w|W) (.*)")
 
list symbols = []
 
 m = regex.match(line)
 
 offset = int(m.group(1), 16)
 
 size = int(m.group(2), 16)
 
 name = m.group(4).split("(")[0]
 
 stream = open(output, "wb")
 
int nameOffset = 0
 

Variable Documentation

◆ binary

dart_profiler_symbols.binary = options.binary

Definition at line 48 of file dart_profiler_symbols.py.

◆ help

dart_profiler_symbols.help

Definition at line 41 of file dart_profiler_symbols.py.

◆ m

dart_profiler_symbols.m = regex.match(line)

Definition at line 64 of file dart_profiler_symbols.py.

◆ name

dart_profiler_symbols.name = m.group(4).split("(")[0]

Definition at line 72 of file dart_profiler_symbols.py.

◆ nameOffset

int dart_profiler_symbols.nameOffset = 0

Definition at line 83 of file dart_profiler_symbols.py.

◆ nm

dart_profiler_symbols.nm = options.nm

Definition at line 45 of file dart_profiler_symbols.py.

◆ nm_lines

dart_profiler_symbols.nm_lines = nm_output.decode('utf-8').split('\n')

Definition at line 60 of file dart_profiler_symbols.py.

◆ nm_output

dart_profiler_symbols.nm_output

Definition at line 59 of file dart_profiler_symbols.py.

◆ offset

dart_profiler_symbols.offset = int(m.group(1), 16)

Definition at line 67 of file dart_profiler_symbols.py.

◆ options

dart_profiler_symbols.options = parser.parse_args()[0]

Definition at line 44 of file dart_profiler_symbols.py.

◆ output

dart_profiler_symbols.output = options.output

Definition at line 51 of file dart_profiler_symbols.py.

◆ p

dart_profiler_symbols.p
Initial value:
1= subprocess.Popen(
2 [nm, "--demangle", "--numeric-sort", "--print-size", binary],
3 stdout=subprocess.PIPE,
4 stderr=subprocess.STDOUT)

Definition at line 55 of file dart_profiler_symbols.py.

◆ parser

dart_profiler_symbols.parser = optparse.OptionParser()

Definition at line 40 of file dart_profiler_symbols.py.

◆ regex

dart_profiler_symbols.regex = re.compile("([0-9A-Za-z]+) ([0-9A-Za-z]+) (t|T|w|W) (.*)")

Definition at line 61 of file dart_profiler_symbols.py.

◆ size

dart_profiler_symbols.size = int(m.group(2), 16)

Definition at line 71 of file dart_profiler_symbols.py.

◆ stream

dart_profiler_symbols.stream = open(output, "wb")

Definition at line 81 of file dart_profiler_symbols.py.

◆ symbols

list dart_profiler_symbols.symbols = []

Definition at line 62 of file dart_profiler_symbols.py.

◆ type

dart_profiler_symbols.type

Definition at line 41 of file dart_profiler_symbols.py.