Skip to content

Commit

Permalink
Add pthread symbols to the API leak detector (#2810)
Browse files Browse the repository at this point in the history
b/302335657

Change-Id: I9e5ebf92ecfd17ed3d61977baf203dd44ea2f441
  • Loading branch information
y4vor authored Apr 3, 2024
1 parent 7e6c766 commit e797850
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 84 deletions.
16 changes: 16 additions & 0 deletions starboard/tools/api_leak_detector/api_leak_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,22 @@
'mprotect',
'msync',
'stat',
'pthread_cond_broadcast',
'pthread_cond_destroy',
'pthread_cond_init',
'pthread_cond_signal',
'pthread_cond_timedwait',
'pthread_cond_wait',
'pthread_condattr_destroy'
'pthread_condattr_getclock',
'pthread_condattr_init',
'pthread_condattr_setclock',
'pthread_mutex_destroy',
'pthread_mutex_init',
'pthread_mutex_lock',
'pthread_mutex_unlock',
'pthread_mutex_trylock',
'pthread_once',
]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,9 @@ mbsnrtowcs
mbsrtowcs
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,9 @@ ntohs
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
7 changes: 0 additions & 7 deletions starboard/tools/api_leak_detector/stub/debug/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,9 @@ mbsrtowcs
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,9 @@ mbsrtowcs
memrchr
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,9 @@ memrchr
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
7 changes: 0 additions & 7 deletions starboard/tools/api_leak_detector/stub/devel/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,9 @@ memrchr
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,9 @@ mbsrtowcs
memrchr
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,9 @@ memrchr
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
7 changes: 0 additions & 7 deletions starboard/tools/api_leak_detector/stub/gold/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,9 @@ memrchr
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,9 @@ mbsrtowcs
memrchr
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,9 @@ memrchr
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down
7 changes: 0 additions & 7 deletions starboard/tools/api_leak_detector/stub/qa/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,9 @@ memrchr
open
poll
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_lock
pthread_mutex_unlock
pthread_once
pthread_setspecific
putc
putwc
Expand Down

0 comments on commit e797850

Please sign in to comment.