Include common extensions in symbol mapper
Summary:
Spamming everyone who got bitten by this. We upgraded the libphutil library system recently, but the "use of undeclared function" lint check used to run only on files you touched and now runs on every file in every library you use. This means that if you don't have pcntl or ldap installed, you'll get errors about use of functions from them on every change.
Instead, ship with a list of functions which are provided by extensions that we'll ignore when calculating dependencies, so not having pcntl doesn't mean you have to excuse through irrelevant errrors every time.
Test Plan: Ran script with an unknown function, got it in the map; added it to the extension list, it vanished from the map.
Reviewers: vrana, btrahan, allenjohnashton, ddfisher, keebuhm, phleet, nodren
Reviewed By: vrana
CC: aran
Maniphest Tasks: T1347
Differential Revision: https://secure.phabricator.com/D2728
2012-06-12 21:54:26 +02:00
|
|
|
apc_add
|
|
|
|
apc_bin_dump
|
|
|
|
apc_bin_dumpfile
|
|
|
|
apc_bin_load
|
|
|
|
apc_bin_loadfile
|
|
|
|
apc_cache_info
|
|
|
|
apc_cas
|
|
|
|
apc_clear_cache
|
|
|
|
apc_compile_file
|
|
|
|
apc_dec
|
|
|
|
apc_define_constants
|
|
|
|
apc_delete
|
|
|
|
apc_delete_file
|
|
|
|
apc_exists
|
|
|
|
apc_fetch
|
|
|
|
apc_inc
|
|
|
|
apc_load_constants
|
|
|
|
apc_sma_info
|
|
|
|
apc_store
|
|
|
|
bcadd
|
|
|
|
bccomp
|
|
|
|
bcdiv
|
|
|
|
bcmod
|
|
|
|
bcmul
|
|
|
|
bcpow
|
|
|
|
bcpowmod
|
|
|
|
bcscale
|
|
|
|
bcsqrt
|
|
|
|
bcsub
|
|
|
|
curl_close
|
|
|
|
curl_copy_handle
|
|
|
|
curl_errno
|
|
|
|
curl_error
|
|
|
|
curl_escape
|
|
|
|
curl_exec
|
|
|
|
curl_getinfo
|
|
|
|
curl_init
|
|
|
|
curl_multi_add_handle
|
|
|
|
curl_multi_close
|
|
|
|
curl_multi_exec
|
|
|
|
curl_multi_getcontent
|
|
|
|
curl_multi_info_read
|
|
|
|
curl_multi_init
|
|
|
|
curl_multi_remove_handle
|
|
|
|
curl_multi_select
|
|
|
|
curl_reset
|
|
|
|
curl_setopt
|
|
|
|
curl_setopt_array
|
|
|
|
curl_share_close
|
|
|
|
curl_share_init
|
|
|
|
curl_share_setopt
|
|
|
|
curl_unescape
|
|
|
|
curl_version
|
2012-08-21 02:26:42 +02:00
|
|
|
gzrewind
|
|
|
|
gzclose
|
|
|
|
gzeof
|
|
|
|
gzgetc
|
|
|
|
gzgets
|
|
|
|
gzgetss
|
|
|
|
gzread
|
|
|
|
gzopen
|
|
|
|
gzpassthru
|
|
|
|
gzseek
|
|
|
|
gztell
|
|
|
|
gzwrite
|
|
|
|
gzputs
|
|
|
|
gzfile
|
|
|
|
gzcompress
|
|
|
|
gzuncompress
|
|
|
|
gzdeflate
|
|
|
|
gzinflate
|
|
|
|
gzencode
|
|
|
|
gzdecode
|
Include common extensions in symbol mapper
Summary:
Spamming everyone who got bitten by this. We upgraded the libphutil library system recently, but the "use of undeclared function" lint check used to run only on files you touched and now runs on every file in every library you use. This means that if you don't have pcntl or ldap installed, you'll get errors about use of functions from them on every change.
Instead, ship with a list of functions which are provided by extensions that we'll ignore when calculating dependencies, so not having pcntl doesn't mean you have to excuse through irrelevant errrors every time.
Test Plan: Ran script with an unknown function, got it in the map; added it to the extension list, it vanished from the map.
Reviewers: vrana, btrahan, allenjohnashton, ddfisher, keebuhm, phleet, nodren
Reviewed By: vrana
CC: aran
Maniphest Tasks: T1347
Differential Revision: https://secure.phabricator.com/D2728
2012-06-12 21:54:26 +02:00
|
|
|
image2wbmp
|
|
|
|
image_type_to_extension
|
|
|
|
image_type_to_mime_type
|
|
|
|
imagealphablending
|
|
|
|
imageantialias
|
|
|
|
imagearc
|
|
|
|
imagechar
|
|
|
|
imagecharup
|
|
|
|
imagecolorallocate
|
|
|
|
imagecolorallocatealpha
|
|
|
|
imagecolorat
|
|
|
|
imagecolorclosest
|
|
|
|
imagecolorclosestalpha
|
|
|
|
imagecolorclosesthwb
|
|
|
|
imagecolordeallocate
|
|
|
|
imagecolorexact
|
|
|
|
imagecolorexactalpha
|
|
|
|
imagecolormatch
|
|
|
|
imagecolorresolve
|
|
|
|
imagecolorresolvealpha
|
|
|
|
imagecolorset
|
|
|
|
imagecolorsforindex
|
|
|
|
imagecolorstotal
|
|
|
|
imagecolortransparent
|
|
|
|
imageconvolution
|
|
|
|
imagecopy
|
|
|
|
imagecopymerge
|
|
|
|
imagecopymergegray
|
|
|
|
imagecopyresampled
|
|
|
|
imagecopyresized
|
|
|
|
imagecreate
|
|
|
|
imagecreatefromgd
|
|
|
|
imagecreatefromgd2
|
|
|
|
imagecreatefromgd2part
|
|
|
|
imagecreatefromgif
|
|
|
|
imagecreatefromjpeg
|
|
|
|
imagecreatefrompng
|
|
|
|
imagecreatefromstring
|
|
|
|
imagecreatefromwbmp
|
|
|
|
imagecreatefromxbm
|
|
|
|
imagecreatetruecolor
|
|
|
|
imagedashedline
|
|
|
|
imagedestroy
|
|
|
|
imageellipse
|
|
|
|
imagefill
|
|
|
|
imagefilledarc
|
|
|
|
imagefilledellipse
|
|
|
|
imagefilledpolygon
|
|
|
|
imagefilledrectangle
|
|
|
|
imagefilltoborder
|
|
|
|
imagefilter
|
|
|
|
imagefontheight
|
|
|
|
imagefontwidth
|
|
|
|
imagegammacorrect
|
|
|
|
imagegd
|
|
|
|
imagegd2
|
|
|
|
imagegif
|
|
|
|
imageinterlace
|
|
|
|
imageistruecolor
|
|
|
|
imagejpeg
|
|
|
|
imagelayereffect
|
|
|
|
imageline
|
|
|
|
imageloadfont
|
|
|
|
imagepalettecopy
|
|
|
|
imagepng
|
|
|
|
imagepolygon
|
|
|
|
imagerectangle
|
|
|
|
imagerotate
|
|
|
|
imagesavealpha
|
|
|
|
imagesetbrush
|
|
|
|
imagesetpixel
|
|
|
|
imagesetstyle
|
|
|
|
imagesetthickness
|
|
|
|
imagesettile
|
|
|
|
imagestring
|
|
|
|
imagestringup
|
|
|
|
imagesx
|
|
|
|
imagesy
|
|
|
|
imagetruecolortopalette
|
|
|
|
imagetypes
|
|
|
|
imagewbmp
|
|
|
|
imagexbm
|
|
|
|
ldap_connect
|
|
|
|
ldap_close
|
|
|
|
ldap_bind
|
|
|
|
ldap_sasl_bind
|
|
|
|
ldap_unbind
|
|
|
|
ldap_read
|
|
|
|
ldap_list
|
|
|
|
ldap_search
|
|
|
|
ldap_free_result
|
|
|
|
ldap_count_entries
|
|
|
|
ldap_first_entry
|
|
|
|
ldap_next_entry
|
|
|
|
ldap_get_entries
|
|
|
|
ldap_first_attribute
|
|
|
|
ldap_next_attribute
|
|
|
|
ldap_get_attributes
|
|
|
|
ldap_get_values
|
|
|
|
ldap_get_values_len
|
|
|
|
ldap_get_dn
|
|
|
|
ldap_explode_dn
|
|
|
|
ldap_dn2ufn
|
|
|
|
ldap_add
|
|
|
|
ldap_delete
|
|
|
|
ldap_modify
|
|
|
|
ldap_mod_add
|
|
|
|
ldap_mod_replace
|
|
|
|
ldap_mod_del
|
|
|
|
ldap_errno
|
|
|
|
ldap_err2str
|
|
|
|
ldap_error
|
|
|
|
ldap_compare
|
|
|
|
ldap_sort
|
|
|
|
ldap_rename
|
|
|
|
ldap_get_option
|
|
|
|
ldap_set_option
|
|
|
|
ldap_first_reference
|
|
|
|
ldap_next_reference
|
|
|
|
ldap_parse_reference
|
|
|
|
ldap_parse_result
|
|
|
|
ldap_start_tls
|
|
|
|
ldap_set_rebind_proc
|
|
|
|
ldap_control_paged_result
|
|
|
|
ldap_control_paged_result_response
|
2012-07-12 01:55:21 +02:00
|
|
|
mb_convert_case
|
|
|
|
mb_strtoupper
|
|
|
|
mb_strtolower
|
|
|
|
mb_language
|
|
|
|
mb_internal_encoding
|
|
|
|
mb_http_input
|
|
|
|
mb_http_output
|
|
|
|
mb_detect_order
|
|
|
|
mb_substitute_character
|
|
|
|
mb_parse_str
|
|
|
|
mb_output_handler
|
|
|
|
mb_preferred_mime_name
|
|
|
|
mb_strlen
|
|
|
|
mb_strpos
|
|
|
|
mb_strrpos
|
|
|
|
mb_stripos
|
|
|
|
mb_strripos
|
|
|
|
mb_strstr
|
|
|
|
mb_strrchr
|
|
|
|
mb_stristr
|
|
|
|
mb_strrichr
|
|
|
|
mb_substr_count
|
|
|
|
mb_substr
|
|
|
|
mb_strcut
|
|
|
|
mb_strwidth
|
|
|
|
mb_strimwidth
|
|
|
|
mb_convert_encoding
|
|
|
|
mb_detect_encoding
|
|
|
|
mb_list_encodings
|
|
|
|
mb_encoding_aliases
|
|
|
|
mb_convert_kana
|
|
|
|
mb_encode_mimeheader
|
|
|
|
mb_decode_mimeheader
|
|
|
|
mb_convert_variables
|
|
|
|
mb_encode_numericentity
|
|
|
|
mb_decode_numericentity
|
|
|
|
mb_send_mail
|
|
|
|
mb_get_info
|
|
|
|
mb_check_encoding
|
|
|
|
mb_regex_encoding
|
|
|
|
mb_regex_set_options
|
|
|
|
mb_ereg
|
|
|
|
mb_eregi
|
|
|
|
mb_ereg_replace
|
|
|
|
mb_eregi_replace
|
|
|
|
mb_ereg_replace_callback
|
|
|
|
mb_split
|
|
|
|
mb_ereg_match
|
|
|
|
mb_ereg_search
|
|
|
|
mb_ereg_search_pos
|
|
|
|
mb_ereg_search_regs
|
|
|
|
mb_ereg_search_init
|
|
|
|
mb_ereg_search_getregs
|
|
|
|
mb_ereg_search_getpos
|
|
|
|
mb_ereg_search_setpos
|
|
|
|
mbregex_encoding
|
|
|
|
mbereg
|
|
|
|
mberegi
|
|
|
|
mbereg_replace
|
|
|
|
mberegi_replace
|
|
|
|
mbsplit
|
|
|
|
mbereg_match
|
|
|
|
mbereg_search
|
|
|
|
mbereg_search_pos
|
|
|
|
mbereg_search_regs
|
|
|
|
mbereg_search_init
|
|
|
|
mbereg_search_getregs
|
|
|
|
mbereg_search_getpos
|
|
|
|
mbereg_search_setpos
|
2012-08-01 20:02:20 +02:00
|
|
|
mysql_connect
|
|
|
|
mysql_pconnect
|
|
|
|
mysql_close
|
|
|
|
mysql_select_db
|
|
|
|
mysql_query
|
|
|
|
mysql_unbuffered_query
|
|
|
|
mysql_db_query
|
|
|
|
mysql_list_dbs
|
|
|
|
mysql_list_tables
|
|
|
|
mysql_list_fields
|
|
|
|
mysql_list_processes
|
|
|
|
mysql_error
|
|
|
|
mysql_errno
|
|
|
|
mysql_affected_rows
|
|
|
|
mysql_insert_id
|
|
|
|
mysql_result
|
|
|
|
mysql_num_rows
|
|
|
|
mysql_num_fields
|
|
|
|
mysql_fetch_row
|
|
|
|
mysql_fetch_array
|
|
|
|
mysql_fetch_assoc
|
|
|
|
mysql_fetch_object
|
|
|
|
mysql_data_seek
|
|
|
|
mysql_fetch_lengths
|
|
|
|
mysql_fetch_field
|
|
|
|
mysql_field_seek
|
|
|
|
mysql_free_result
|
|
|
|
mysql_field_name
|
|
|
|
mysql_field_table
|
|
|
|
mysql_field_len
|
|
|
|
mysql_field_type
|
|
|
|
mysql_field_flags
|
|
|
|
mysql_escape_string
|
|
|
|
mysql_real_escape_string
|
|
|
|
mysql_stat
|
|
|
|
mysql_thread_id
|
|
|
|
mysql_client_encoding
|
|
|
|
mysql_ping
|
|
|
|
mysql_get_client_info
|
|
|
|
mysql_get_host_info
|
|
|
|
mysql_get_proto_info
|
|
|
|
mysql_get_server_info
|
|
|
|
mysql_info
|
|
|
|
mysql_set_charset
|
|
|
|
mysql
|
|
|
|
mysql_fieldname
|
|
|
|
mysql_fieldtable
|
|
|
|
mysql_fieldlen
|
|
|
|
mysql_fieldtype
|
|
|
|
mysql_fieldflags
|
|
|
|
mysql_selectdb
|
|
|
|
mysql_freeresult
|
|
|
|
mysql_numfields
|
|
|
|
mysql_numrows
|
|
|
|
mysql_listdbs
|
|
|
|
mysql_listtables
|
|
|
|
mysql_listfields
|
|
|
|
mysql_db_name
|
|
|
|
mysql_dbname
|
|
|
|
mysql_tablename
|
|
|
|
mysql_table_name
|
|
|
|
mysqli_affected_rows
|
|
|
|
mysqli_autocommit
|
|
|
|
mysqli_change_user
|
|
|
|
mysqli_character_set_name
|
|
|
|
mysqli_close
|
|
|
|
mysqli_commit
|
|
|
|
mysqli_connect
|
|
|
|
mysqli_connect_errno
|
|
|
|
mysqli_connect_error
|
|
|
|
mysqli_data_seek
|
|
|
|
mysqli_dump_debug_info
|
|
|
|
mysqli_debug
|
|
|
|
mysqli_errno
|
|
|
|
mysqli_error
|
|
|
|
mysqli_error_list
|
|
|
|
mysqli_stmt_execute
|
|
|
|
mysqli_execute
|
|
|
|
mysqli_fetch_field
|
|
|
|
mysqli_fetch_fields
|
|
|
|
mysqli_fetch_field_direct
|
|
|
|
mysqli_fetch_lengths
|
|
|
|
mysqli_fetch_all
|
|
|
|
mysqli_fetch_array
|
|
|
|
mysqli_fetch_assoc
|
|
|
|
mysqli_fetch_object
|
|
|
|
mysqli_fetch_row
|
|
|
|
mysqli_field_count
|
|
|
|
mysqli_field_seek
|
|
|
|
mysqli_field_tell
|
|
|
|
mysqli_free_result
|
|
|
|
mysqli_get_connection_stats
|
|
|
|
mysqli_get_client_stats
|
|
|
|
mysqli_get_charset
|
|
|
|
mysqli_get_client_info
|
|
|
|
mysqli_get_client_version
|
|
|
|
mysqli_get_host_info
|
|
|
|
mysqli_get_proto_info
|
|
|
|
mysqli_get_server_info
|
|
|
|
mysqli_get_server_version
|
|
|
|
mysqli_get_warnings
|
|
|
|
mysqli_init
|
|
|
|
mysqli_info
|
|
|
|
mysqli_insert_id
|
|
|
|
mysqli_kill
|
|
|
|
mysqli_more_results
|
|
|
|
mysqli_multi_query
|
|
|
|
mysqli_next_result
|
|
|
|
mysqli_num_fields
|
|
|
|
mysqli_num_rows
|
|
|
|
mysqli_options
|
|
|
|
mysqli_ping
|
|
|
|
mysqli_poll
|
|
|
|
mysqli_prepare
|
|
|
|
mysqli_report
|
|
|
|
mysqli_query
|
|
|
|
mysqli_real_connect
|
|
|
|
mysqli_real_escape_string
|
|
|
|
mysqli_real_query
|
|
|
|
mysqli_reap_async_query
|
|
|
|
mysqli_rollback
|
|
|
|
mysqli_select_db
|
|
|
|
mysqli_set_charset
|
|
|
|
mysqli_stmt_affected_rows
|
|
|
|
mysqli_stmt_attr_get
|
|
|
|
mysqli_stmt_attr_set
|
|
|
|
mysqli_stmt_bind_param
|
|
|
|
mysqli_stmt_bind_result
|
|
|
|
mysqli_stmt_close
|
|
|
|
mysqli_stmt_data_seek
|
|
|
|
mysqli_stmt_errno
|
|
|
|
mysqli_stmt_error
|
|
|
|
mysqli_stmt_error_list
|
|
|
|
mysqli_stmt_fetch
|
|
|
|
mysqli_stmt_field_count
|
|
|
|
mysqli_stmt_free_result
|
|
|
|
mysqli_stmt_get_result
|
|
|
|
mysqli_stmt_get_warnings
|
|
|
|
mysqli_stmt_init
|
|
|
|
mysqli_stmt_insert_id
|
|
|
|
mysqli_stmt_more_results
|
|
|
|
mysqli_stmt_next_result
|
|
|
|
mysqli_stmt_num_rows
|
|
|
|
mysqli_stmt_param_count
|
|
|
|
mysqli_stmt_prepare
|
|
|
|
mysqli_stmt_reset
|
|
|
|
mysqli_stmt_result_metadata
|
|
|
|
mysqli_stmt_send_long_data
|
|
|
|
mysqli_stmt_store_result
|
|
|
|
mysqli_stmt_sqlstate
|
|
|
|
mysqli_sqlstate
|
|
|
|
mysqli_ssl_set
|
|
|
|
mysqli_stat
|
|
|
|
mysqli_store_result
|
|
|
|
mysqli_thread_id
|
|
|
|
mysqli_thread_safe
|
|
|
|
mysqli_use_result
|
|
|
|
mysqli_warning_count
|
|
|
|
mysqli_refresh
|
|
|
|
mysqli_escape_string
|
|
|
|
mysqli_set_opt
|
Include common extensions in symbol mapper
Summary:
Spamming everyone who got bitten by this. We upgraded the libphutil library system recently, but the "use of undeclared function" lint check used to run only on files you touched and now runs on every file in every library you use. This means that if you don't have pcntl or ldap installed, you'll get errors about use of functions from them on every change.
Instead, ship with a list of functions which are provided by extensions that we'll ignore when calculating dependencies, so not having pcntl doesn't mean you have to excuse through irrelevant errrors every time.
Test Plan: Ran script with an unknown function, got it in the map; added it to the extension list, it vanished from the map.
Reviewers: vrana, btrahan, allenjohnashton, ddfisher, keebuhm, phleet, nodren
Reviewed By: vrana
CC: aran
Maniphest Tasks: T1347
Differential Revision: https://secure.phabricator.com/D2728
2012-06-12 21:54:26 +02:00
|
|
|
pcntl_fork
|
|
|
|
pcntl_waitpid
|
|
|
|
pcntl_wait
|
|
|
|
pcntl_signal
|
|
|
|
pcntl_signal_dispatch
|
|
|
|
pcntl_wifexited
|
|
|
|
pcntl_wifstopped
|
|
|
|
pcntl_wifsignaled
|
|
|
|
pcntl_wexitstatus
|
|
|
|
pcntl_wtermsig
|
|
|
|
pcntl_wstopsig
|
|
|
|
pcntl_exec
|
|
|
|
pcntl_alarm
|
|
|
|
pcntl_get_last_error
|
|
|
|
pcntl_errno
|
|
|
|
pcntl_strerror
|
|
|
|
pcntl_getpriority
|
|
|
|
pcntl_setpriority
|
|
|
|
pcntl_sigprocmask
|
|
|
|
posix_kill
|
|
|
|
posix_getpid
|
|
|
|
posix_getppid
|
|
|
|
posix_getuid
|
|
|
|
posix_setuid
|
|
|
|
posix_geteuid
|
|
|
|
posix_seteuid
|
|
|
|
posix_getgid
|
|
|
|
posix_setgid
|
|
|
|
posix_getegid
|
|
|
|
posix_setegid
|
|
|
|
posix_getgroups
|
|
|
|
posix_getlogin
|
|
|
|
posix_getpgrp
|
|
|
|
posix_setsid
|
|
|
|
posix_setpgid
|
|
|
|
posix_getpgid
|
|
|
|
posix_getsid
|
|
|
|
posix_uname
|
|
|
|
posix_times
|
|
|
|
posix_ctermid
|
|
|
|
posix_ttyname
|
|
|
|
posix_isatty
|
|
|
|
posix_getcwd
|
|
|
|
posix_mkfifo
|
|
|
|
posix_mknod
|
|
|
|
posix_access
|
|
|
|
posix_getgrnam
|
|
|
|
posix_getgrgid
|
|
|
|
posix_getpwnam
|
|
|
|
posix_getpwuid
|
|
|
|
posix_getrlimit
|
|
|
|
posix_get_last_error
|
|
|
|
posix_errno
|
|
|
|
posix_strerror
|
|
|
|
posix_initgroups
|
|
|
|
socket_accept
|
|
|
|
socket_bind
|
|
|
|
socket_clear_error
|
|
|
|
socket_close
|
|
|
|
socket_connect
|
|
|
|
socket_create
|
|
|
|
socket_create_listen
|
|
|
|
socket_create_pair
|
|
|
|
socket_get_option
|
|
|
|
socket_get_status
|
|
|
|
socket_getopt
|
|
|
|
socket_getpeername
|
|
|
|
socket_getsockname
|
|
|
|
socket_import_stream
|
|
|
|
socket_last_error
|
|
|
|
socket_listen
|
|
|
|
socket_read
|
|
|
|
socket_recv
|
|
|
|
socket_recvfrom
|
|
|
|
socket_select
|
|
|
|
socket_send
|
|
|
|
socket_sendto
|
|
|
|
socket_set_block
|
|
|
|
socket_set_blocking
|
|
|
|
socket_set_nonblock
|
|
|
|
socket_set_option
|
|
|
|
socket_set_timeout
|
|
|
|
socket_setopt
|
|
|
|
socket_shutdown
|
|
|
|
socket_strerror
|
|
|
|
socket_write
|