From f540faab92b3d9d6b5615067aa5ebb9cae867046 Mon Sep 17 00:00:00 2001 From: Laura Thomson Date: Wed, 21 Mar 2012 13:59:29 -0700 Subject: [PATCH] Fixes bug 716345, Add stable NSS and NSPR API to the prefix skiplist --- scripts/config/processorconfig.py.dist | 44 ++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/scripts/config/processorconfig.py.dist b/scripts/config/processorconfig.py.dist index aed3f3335a..4599bfcab2 100644 --- a/scripts/config/processorconfig.py.dist +++ b/scripts/config/processorconfig.py.dist @@ -147,7 +147,6 @@ prefixSignatureRegEx = '|'.join([ 'strchr', 'strstr', 'strlen', - 'PL_strlen', 'strcmp', 'strcpy', 'strncpy', @@ -168,7 +167,6 @@ prefixSignatureRegEx = '|'.join([ 'libobjc.A.dylib@0x1568.', 'objc_msgSend', '_purecall', - 'PL_DHashTableOperate', 'EtwEventEnabled', 'RtlpFreeHandleForAtom', 'RtlpDeCommitFreeBlock', @@ -177,7 +175,6 @@ prefixSignatureRegEx = '|'.join([ 'RtlQueryPerformanceFrequency', 'RtlpWaitOnCriticalSection', 'RtlpWaitForCriticalSection', - '_PR_MD_ATOMIC_(INC|DEC)REMENT', 'nsCOMPtr.*', 'nsRefPtr.*', 'operator new\([^,\)]+\)', @@ -193,8 +190,6 @@ prefixSignatureRegEx = '|'.join([ 'NtUserMessageCall', 'mozalloc_abort.*', 'NS_DebugBreak_P.*', - 'PR_AtomicIncrement', - 'PR_AtomicDecrement', 'moz_xmalloc', '__libc_android_abort', 'mozilla::ipc::RPCChannel::EnteredCxxStack', @@ -202,7 +197,6 @@ prefixSignatureRegEx = '|'.join([ 'mozilla::ipc::RPCChannel::Send', 'mozilla::ipc::RPCChannel::Call', 'RtlDeleteCriticalSection', - 'PR_DestroyLock', '.*abort', '_ZdaPvRKSt9nothrow_t\"', '__swrite', @@ -240,6 +234,44 @@ prefixSignatureRegEx = '|'.join([ 'pthread_mutex_lock', 'mozilla::AndroidBridge::AutoLocalJNIFrame::~AutoLocalJNIFrame', '__wrap_realloc', + 'PL_.*', + 'PR_.*', + '_PR_.*', + 'LL_.*', + '_MD_.*', + 'PORT_.*', + 'port_.*', + 'SEC_.*Item', + 'SECKEY_.*', + 'seckey_.*', + 'CERT_.*', + 'cert_.*', + 'SSL_.*', + 'ssl_.*', + 'ssl3_.*', + 'SocketClose', + 'SocketRead', + 'SocketWrite', + 'SocketAvailable', + 'SocketAvailable64', + 'SocketSync', + 'SocketWritev', + 'SocketConnect', + 'SocketAccept', + 'SocketBind', + 'SocketListen', + 'SocketShutdown', + 'SocketRecv', + 'SocketSend', + 'SocketPoll', + 'SocketAcceptRead', + 'SocketTransmitFile', + 'SocketGetName', + 'SocketGetPeerName', + 'send', + 'recv', + 'WSARecv.*', + 'WSASend.*', ]) signaturesWithLineNumbersRegEx = cm.Option()