1#!/usr/bin/env python 2# 3# Copyright (C) 2014 The Android Open Source Project 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17arm = """ 18Build fingerprint: 'Android/aosp_arm/generic_arm:4.4.3.43.43.43/AOSP/enh06302258:eng/test-keys' 19Revision: '0' 20ABI: 'arm' 21signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 22 r0 00000000 r1 00002dd9 r2 00000006 r3 00000000 23 r4 f710edd8 r5 00000006 r6 00000000 r7 0000010c 24 r8 f71b9df4 r9 ab0b5028 sl f7175695 fp f710edd0 25 ip 00002dd9 sp f710ed18 lr f7175ef1 pc f719a4e0 cpsr 60070010 26 d0 ffffffffffffffff d1 0000000000000031 27 d2 0000000000000037 d3 0000000000000033 28 d4 0000000000000000 d5 0000000000000000 29 d6 0000000000000000 d7 0000000000000000 30 d8 0000000000000000 d9 0000000000000000 31 d10 0000000000000000 d11 0000000000000000 32 d12 0000000000000000 d13 0000000000000000 33 d14 0000000000000000 d15 0000000000000000 34 d16 0000000000000000 d17 0000000000000fff 35 d18 0000000000000000 d19 0000000000000000 36 d20 0000000000000000 d21 0000000000000000 37 d22 0000000000000000 d23 0000000000000000 38 d24 0000000000000000 d25 0000000000000000 39 d26 0000000000000000 d27 0000000000000000 40 d28 0000000000000000 d29 0000000000000000 41 d30 0000000000000000 d31 0000000000000000 42 scr 00000000 43 44backtrace: 45 #00 pc 000374e0 /system/lib/libc.so (tgkill+12) 46 #01 pc 00012eed /system/lib/libc.so (pthread_kill+52) 47 #02 pc 00013997 /system/lib/libc.so (raise+10) 48 #03 pc 0001047d /system/lib/libc.so (__libc_android_abort+36) 49 #04 pc 0000eb1c /system/lib/libc.so (abort+4) 50 #05 pc 00000c6f /system/xbin/crasher 51 #06 pc 000126b3 /system/lib/libc.so (__pthread_start(void*)+30) 52 #07 pc 000107fb /system/lib/libc.so (__start_thread+6) 53""" 54 55arm64 = """ 56Build fingerprint: 'Android/aosp_arm64/generic_arm64:4.4.3.43.43.43/AOSP/enh06302258:eng/test-keys' 57Revision: '0' 58ABI: 'arm64' 59signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 60 x0 0000000000000000 x1 0000000000002df1 x2 0000000000000006 x3 000000559dc73040 61 x4 ffffffffffffffff x5 0000000000000005 x6 0000000000000001 x7 0000000000000020 62 x8 0000000000000083 x9 0000005563d21000 x10 0101010101010101 x11 0000000000000001 63 x12 0000000000000001 x13 0000005563d21000 x14 0000005563d21000 x15 0000000000000000 64 x16 0000005563d32f20 x17 0000000000000001 x18 0000000000000000 x19 000000559dc73040 65 x20 0000007f844dcbb0 x21 0000007f84639000 x22 0000000000000000 x23 0000000000000006 66 x24 0000007f845b2000 x25 0000007ff8f33bc0 x26 0000007f843df000 x27 000000559dc730c0 67 x28 0000007f84639788 x29 0000007f844dc9c0 x30 0000007f845b38c4 68 sp 0000007f844dc9c0 pc 0000007f845f28e0 69 v0 2f2f2f2f2f2f2f2f v1 5f6474656e62696c v2 000000000000006f v3 0000000000000000 70 v4 8020080280200800 v5 0000000000000000 v6 0000000000000000 v7 8020080280200802 71 v8 0000000000000000 v9 0000000000000000 v10 0000000000000000 v11 0000000000000000 72 v12 0000000000000000 v13 0000000000000000 v14 0000000000000000 v15 0000000000000000 73 v16 4010040140100401 v17 0000aaa800000000 v18 8020080280200800 v19 0000000000000000 74 v20 0000000000000000 v21 0000000000000000 v22 0000000000000000 v23 0000000000000000 75 v24 0000000000000000 v25 0000000000000000 v26 0000000000000000 v27 0000000000000000 76 v28 0000000000000000 v29 0000000000000000 v30 0000000000000000 v31 0000000000000000 77 78backtrace: 79 #00 pc 00000000000588e0 /system/lib64/libc.so (tgkill+8) 80 #01 pc 00000000000198c0 /system/lib64/libc.so (pthread_kill+160) 81 #02 pc 000000000001ab34 /system/lib64/libc.so (raise+28) 82 #03 pc 00000000000148bc /system/lib64/libc.so (abort+60) 83 #04 pc 00000000000016e0 /system/xbin/crasher64 84 #05 pc 00000000000017f0 /system/xbin/crasher64 85 #06 pc 0000000000018958 /system/lib64/libc.so (__pthread_start(void*)+52) 86 #07 pc 0000000000014e90 /system/lib64/libc.so (__start_thread+16) 87""" 88 89mips = """ 90Build fingerprint: 'Android/aosp_mips/generic_mips:4.4.3.43.43.43/AOSP/enh06302258:eng/test-keys' 91Revision: '0' 92ABI: 'mips' 93pid: 958, tid: 960, name: crasher >>> crasher <<< 94signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 95 zr 00000000 at 802babc0 v0 00000000 v1 77b99dd0 96 a0 000003be a1 000003c0 a2 00000006 a3 00000000 97 t0 00000000 t1 9e7f5440 t2 00000020 t3 ffffff18 98 t4 77a9c000 t5 00000001 t6 00000000 t7 00000000 99 s0 000003c0 s1 77b99dd8 s2 00000000 s3 00000006 100 s4 77db2028 s5 000003be s6 77c39fa8 s7 77b99dd0 101 t8 00000000 t9 77c89e80 k0 00000000 k1 00000000 102 gp 77cce350 sp 77b99c78 s8 77db2020 ra 77c3b48c 103 hi 00000000 lo 00000008 bva 7fff7008 epc 77c89e94 104 105backtrace: 106 #00 pc 00067e94 /system/lib/libc.so (tgkill+20) 107 #01 pc 0001948c /system/lib/libc.so (pthread_kill+244) 108 #02 pc 0001b0e8 /system/lib/libc.so (raise+60) 109 #03 pc 00012908 /system/lib/libc.so (abort+104) 110 #04 pc 000012a4 /system/xbin/crasher 111 #05 pc 00018008 /system/lib/libc.so (__pthread_start(void*)+96) 112 #06 pc 00013198 /system/lib/libc.so (__start_thread+36) 113""" 114 115x86 = """ 116Build fingerprint: 'Android/aosp_x86_64/generic_x86_64:4.4.3.43.43.43/AOSP/enh06302258:eng/test-keys' 117Revision: '0' 118ABI: 'x86' 119pid: 1566, tid: 1568, name: crasher >>> crasher <<< 120signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 121 eax 00000000 ebx 0000061e ecx 00000620 edx 00000006 122 esi f7679dd8 edi 00000000 123 xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b 124 eip f7758ea6 ebp 00000620 esp f7679c60 flags 00000282 125 126backtrace: 127 #00 pc 00076ea6 /system/lib/libc.so (tgkill+22) 128 #01 pc 0001dc8b /system/lib/libc.so (pthread_kill+155) 129 #02 pc 0001f294 /system/lib/libc.so (raise+36) 130 #03 pc 00017a04 /system/lib/libc.so (abort+84) 131 #04 pc 00001099 /system/xbin/crasher 132 #05 pc 0001cd58 /system/lib/libc.so (__pthread_start(void*)+56) 133 #06 pc 00018169 /system/lib/libc.so (__start_thread+25) 134 #07 pc 0000ed76 /system/lib/libc.so (__bionic_clone+70) 135""" 136 137x86_64 = """ 138Build fingerprint: 'Android/aosp_x86_64/generic_x86_64:4.4.3.43.43.43/AOSP/enh06302258:eng/test-keys' 139Revision: '0' 140ABI: 'x86_64' 141pid: 1608, tid: 1610, name: crasher64 >>> crasher64 <<< 142signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 143 rax 0000000000000000 rbx 000000000000064a rcx ffffffffffffffff rdx 0000000000000006 144 rsi 000000000000064a rdi 0000000000000648 145 r8 0000000000000001 r9 00007fe218110c98 r10 0000000000000008 r11 0000000000000206 146 r12 0000000000000000 r13 0000000000000006 r14 00007fe218111ba0 r15 0000000000000648 147 cs 0000000000000033 ss 000000000000002b 148 rip 00007fe218201807 rbp 00007fe218111bb0 rsp 00007fe218111a18 eflags 0000000000000206 149 150backtrace: 151 #00 pc 0000000000077807 /system/lib64/libc.so (tgkill+7) 152 #01 pc 000000000002243f /system/lib64/libc.so (pthread_kill+143) 153 #02 pc 0000000000023551 /system/lib64/libc.so (raise+17) 154 #03 pc 000000000001ce6d /system/lib64/libc.so (abort+61) 155 #04 pc 0000000000001385 /system/xbin/crasher64 156 #05 pc 00000000000014a8 /system/xbin/crasher64 157 #06 pc 00000000000215ae /system/lib64/libc.so (__pthread_start(void*)+46) 158 #07 pc 000000000001d3eb /system/lib64/libc.so (__start_thread+11) 159 #08 pc 00000000000138f5 /system/lib64/libc.so (__bionic_clone+53) 160""" 161