MCPcopy Create free account
hub / github.com/KDE/labplot / guess_arch

Function guess_arch

admin/asan_symbolize.py:40–45  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

38 return sysroot_path + binary_name
39
40def guess_arch(addr):
41 # Guess which arch we're running. 10 = len('0x') + 8 hex digits.
42 if len(addr) > 10:
43 return 'x86_64'
44 else:
45 return 'i386'
46
47class Symbolizer(object):
48 def __init__(self):

Callers 2

__init__Method · 0.85
symbolize_addressMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected