(addr)
| 38 | return sysroot_path + binary_name |
| 39 | |
| 40 | def 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 | |
| 47 | class Symbolizer(object): |
| 48 | def __init__(self): |
no outgoing calls
no test coverage detected