Skip to content

Commit

Permalink
Merge pull request mozilla-services#453 from lauraxt/skiplist_3
Browse files Browse the repository at this point in the history
Skiplist changes for version 3
  • Loading branch information
lauraxt committed Mar 21, 2012
2 parents 1b6a9e3 + fd378b5 commit 9ca178c
Showing 1 changed file with 112 additions and 78 deletions.
190 changes: 112 additions & 78 deletions scripts/config/processorconfig.py.dist
Original file line number Diff line number Diff line change
Expand Up @@ -138,105 +138,139 @@ irrelevantSignatureRegEx.default = '|'.join([
'google_breakpad::ExceptionHandler::HandleInvalidParameter.*',
'libicudata.so@.*',
'_ZdlPv',
'MOZ_Crash',
'MOZ_Assert',
])

prefixSignatureRegEx = cm.Option()
prefixSignatureRegEx.doc = 'a regular expression matching frame signatures that should always be coupled with the following frame signature when generating an overall signature'
prefixSignatureRegEx = '|'.join([
'@0x0',
'strchr',
'strstr',
'strlen',
'PL_strlen',
'strcmp',
'strcpy',
'strncpy',
'.*strdup',
'wcslen',
'memcpy',
'memmove',
'memcmp',
'memset',
'.*calloc',
'malloc',
'realloc',
'.*free',
'arena_dalloc_small',
'.*abort',
'_alloca_probe.*',
'arena_alloc',
'arena_dalloc',
'nsObjCExceptionLogAbort(\(.*?\)){0,1}',
'libobjc.A.dylib@0x1568.',
'objc_msgSend',
'_purecall',
'PL_DHashTableOperate',
'EtwEventEnabled',
'RtlpFreeHandleForAtom',
'RtlpDeCommitFreeBlock',
'RtlpAllocateAffinityIndex',
'RtlAddAccessAllowedAce',
'RtlQueryPerformanceFrequency',
'RtlpWaitOnCriticalSection',
'RtlpWaitForCriticalSection',
'_PR_MD_ATOMIC_(INC|DEC)REMENT',
'nsCOMPtr.*',
'nsRefPtr.*',
'operator new\([^,\)]+\)',
'CFRelease',
'objc_exception_throw',
'[-+]\[NSException raise(:format:(arguments:)?)?\]',
'mozalloc_handle_oom',
'nsTArray_base<.*',
'nsTArray<.*',
'WaitForSingleObject(Ex)?',
'WaitForMultipleObjects(Ex)?',
'NtUserWaitMessage',
'NtUserMessageCall',
'mozalloc_abort.*',
'NS_DebugBreak_P.*',
'PR_AtomicIncrement',
'PR_AtomicDecrement',
'moz_xmalloc',
'__libc_android_abort',
'mozilla::ipc::RPCChannel::EnteredCxxStack',
'mozilla::ipc::RPCChannel::CxxStackFrame::CxxStackFrame',
'mozilla::ipc::RPCChannel::Send',
'mozilla::ipc::RPCChannel::Call',
'RtlDeleteCriticalSection',
'PR_DestroyLock',
'.*abort',
'_ZdaPvRKSt9nothrow_t\"',
'__swrite',
'dvmAbort',
'JNI_CreateJavaVM',
'dvmStringLen',
'(libxul\.so|xul\.dll|XUL)@0x.*',
'_VEC_memzero',
'arena_dalloc_small',
'arena_malloc',
'arena_malloc_small',
'arena_ralloc',
'arena_run_dalloc',
'arena_run_reg_alloc',
'arena_run_reg_dalloc',
'arena_run_tree_insert',
'.*calloc',
'cert_.*',
'CERT_.*',
'CFRelease',
'_chkstk',
'CrashInJS',
'__delayLoadHelper2',
'dvmAbort',
'dvmStringLen',
'EtwEventEnabled',
'fastcopy_I',
'fastzero_I',
'.*free',
'GCGraphBuilder::NoteXPCOMChild',
'ialloc',
'isalloc',
'moz_xrealloc',
'arena_malloc',
'arena_run_reg_dalloc',
'arena_run_dalloc',
'je_malloc',
'je_realloc',
'JNI_CreateJavaVM',
'_JNIEnv::CallObjectMethod',
'kill',
'__libc_android_abort',
'libobjc.A.dylib@0x1568.',
'(libxul\.so|xul\.dll|XUL)@0x.*',
'LL_.*',
'malloc',
'_MD_.*',
'memcmp',
'memcpy',
'memmove',
'memset',
'mozalloc_abort.*',
'mozalloc_handle_oom',
'mozilla::AndroidBridge::AutoLocalJNIFrame::~AutoLocalJNIFrame',
'mozilla::ipc::RPCChannel::Call',
'mozilla::ipc::RPCChannel::CxxStackFrame::CxxStackFrame',
'mozilla::ipc::RPCChannel::EnteredCxxStack',
'mozilla::ipc::RPCChannel::Send',
'moz_xmalloc',
'moz_xrealloc',
'nsCOMPtr.*',
'NS_DebugBreak_P.*',
'[-+]\[NSException raise(:format:(arguments:)?)?\]',
'nsObjCExceptionLogAbort(\(.*?\)){0,1}',
'nsRefPtr.*',
'nsTArray<.*',
'nsTArray_base<.*',
'NtUser.*',
'objc_exception_throw',
'objc_msgSend',
'operator new\([^,\)]+\)',
'PL_.*',
'port_.*',
'PORT_.*',
'_PR_.*',
'PR_.*',
'pthread_mutex_lock',
'_purecall',
'raise',
'sigprocmask',
'sigblock',
'setjmp',
'fastcopy_I',
'realloc',
'recv',
'_RTC_Terminate',
'CrashInJS',
'fastzero_I',
'_VEC_memcpy',
'_chkstk',
'_alloca_probe.*',
'Rtl.*',
'_Rtl.*',
'__Rtl.*',
'SEC_.*Item',
'seckey_.*',
'SECKEY_.*',
'send',
'setjmp',
'sigblock',
'sigprocmask',
'SocketAccept',
'SocketAcceptRead',
'SocketAvailable',
'SocketAvailable64',
'SocketBind',
'SocketClose',
'SocketConnect',
'SocketGetName',
'SocketGetPeerName',
'SocketListen',
'SocketPoll',
'SocketRead',
'SocketRecv',
'SocketSend',
'SocketShutdown',
'SocketSync',
'SocketTransmitFile',
'SocketWrite',
'SocketWritev',
'ssl_.*',
'SSL_.*',
'ssl3_.*',
'strchr',
'strcmp',
'strcpy',
'.*strdup',
'strlen',
'strncpy',
'strstr',
'__swrite',
'TouchBadMemory',
'_VEC_memcpy',
'_VEC_memzero',
'WaitForMultipleObjects(Ex)?',
'WaitForSingleObject(Ex)?',
'wcslen',
'__wrap_realloc',
'WSARecv.*',
'WSASend.*',
'_ZdaPvRKSt9nothrow_t\"',

])

signaturesWithLineNumbersRegEx = cm.Option()
Expand Down

0 comments on commit 9ca178c

Please sign in to comment.