mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
796e5f9648
We would like to be able to log and audit the symbols we use in openssl so that we might catch when a new platform symbols is referecned Add such a script (just on unix platforms for now) that gathers the used symbols not belonging to libcrypto or libssl, and compare it to a prior known set of used symbols. Error out if a new symbol is found Add this script to the ci workflow in CI to capture newly introduced platform symbols Fixes #22330 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22478)
232 lines
3.4 KiB
Plaintext
232 lines
3.4 KiB
Plaintext
CryptGenRandom
|
|
RegisterEventSourceW
|
|
ReportEventW
|
|
CryptAcquireContextW
|
|
CryptReleaseContext
|
|
DeregisterEventSource
|
|
CertFindCertificateInStore
|
|
CertFreeCertificateContext
|
|
CertOpenSystemStoreW
|
|
CertCloseStore
|
|
GetUserObjectInformationW
|
|
GetProcessWindowStation
|
|
MessageBoxW
|
|
GetCurrentProcess
|
|
ReadConsoleW
|
|
ReadConsoleA
|
|
SetConsoleMode
|
|
GetConsoleMode
|
|
CreateSemaphoreA
|
|
GetExitCodeThread
|
|
WaitForSingleObject
|
|
ReleaseSemaphore
|
|
GetCurrentProcessId
|
|
TryEnterCriticalSection
|
|
LeaveCriticalSection
|
|
EnterCriticalSection
|
|
InitializeCriticalSection
|
|
SystemTimeToFileTime
|
|
GetSystemTime
|
|
TlsFree
|
|
TlsSetValue
|
|
TlsGetValue
|
|
GetSystemTimeAsFileTime
|
|
RtlCaptureContext
|
|
RtlLookupFunctionEntry
|
|
UnhandledExceptionFilter
|
|
SetUnhandledExceptionFilter
|
|
IsProcessorFeaturePresent
|
|
IsDebuggerPresent
|
|
GetStartupInfoW
|
|
QueryPerformanceCounter
|
|
InitializeSListHead
|
|
DeleteCriticalSection
|
|
TerminateProcess
|
|
TlsAlloc
|
|
GetCurrentThreadId
|
|
AcquireSRWLockShared
|
|
AcquireSRWLockExclusive
|
|
RtlVirtualUnwind
|
|
ConvertFiberToThread
|
|
ConvertThreadToFiberEx
|
|
SwitchToFiber
|
|
DeleteFiber
|
|
CreateFiberEx
|
|
GetSystemDirectoryA
|
|
FreeLibrary
|
|
GetProcAddress
|
|
LoadLibraryA
|
|
FormatMessageA
|
|
GetLastError
|
|
SetLastError
|
|
CloseHandle
|
|
LoadLibraryW
|
|
GetEnvironmentVariableW
|
|
GetStdHandle
|
|
GetFileType
|
|
WriteFile
|
|
GetModuleHandleW
|
|
MultiByteToWideChar
|
|
WideCharToMultiByte
|
|
GetACP
|
|
GetModuleHandleExW
|
|
GetSystemInfo
|
|
VirtualAlloc
|
|
VirtualProtect
|
|
VirtualFree
|
|
VirtualLock
|
|
FindClose
|
|
FindFirstFileW
|
|
FindNextFileW
|
|
Sleep
|
|
InitializeSRWLock
|
|
ReleaseSRWLockExclusive
|
|
ReleaseSRWLockShared
|
|
__current_exception
|
|
__C_specific_handler
|
|
wcsstr
|
|
__current_exception_context
|
|
strstr
|
|
strchr
|
|
memmove
|
|
strrchr
|
|
memcmp
|
|
memset
|
|
memcpy
|
|
memchr
|
|
__std_type_info_destroy_list
|
|
__stdio_common_vsprintf
|
|
__stdio_common_vfprintf
|
|
__stdio_common_vsscanf
|
|
ftell
|
|
fseek
|
|
fread
|
|
_fileno
|
|
__stdio_common_vswprintf
|
|
_wfopen
|
|
fopen
|
|
setvbuf
|
|
fflush
|
|
ferror
|
|
feof
|
|
clearerr
|
|
setbuf
|
|
fclose
|
|
fputs
|
|
__acrt_iob_func
|
|
__stdio_common_vsprintf_s
|
|
fwrite
|
|
fgets
|
|
_setmode
|
|
strtoul
|
|
atoi
|
|
strtol
|
|
tolower
|
|
strspn
|
|
strcspn
|
|
strncpy
|
|
strncmp
|
|
strcmp
|
|
strcat_s
|
|
isspace
|
|
_strdup
|
|
isdigit
|
|
strncpy_s
|
|
strcpy_s
|
|
_gmtime64_s
|
|
__timezone
|
|
_mktime64
|
|
_time64
|
|
qsort
|
|
malloc
|
|
realloc
|
|
calloc
|
|
free
|
|
terminate
|
|
signal
|
|
_initialize_narrow_environment
|
|
_beginthreadex
|
|
_endthreadex
|
|
_register_onexit_function
|
|
strerror_s
|
|
_execute_onexit_table
|
|
raise
|
|
_crt_atexit
|
|
_exit
|
|
_crt_at_quick_exit
|
|
_errno
|
|
_cexit
|
|
_initterm_e
|
|
_configure_narrow_argv
|
|
_initialize_onexit_table
|
|
_initterm
|
|
_seh_filter_dll
|
|
_chmod
|
|
_stat64i32
|
|
_fstat64i32
|
|
getenv
|
|
GetStartupInfoW
|
|
RtlLookupFunctionEntry
|
|
RtlVirtualUnwind
|
|
UnhandledExceptionFilter
|
|
GetSystemTime
|
|
SystemTimeToFileTime
|
|
CloseHandle
|
|
InitializeCriticalSection
|
|
EnterCriticalSection
|
|
LeaveCriticalSection
|
|
TryEnterCriticalSection
|
|
DeleteCriticalSection
|
|
ReleaseSemaphore
|
|
WaitForSingleObject
|
|
GetCurrentThreadId
|
|
SetUnhandledExceptionFilter
|
|
GetExitCodeThread
|
|
CreateSemaphoreA
|
|
SetLastError
|
|
GetLastError
|
|
GetCurrentProcess
|
|
TerminateProcess
|
|
IsProcessorFeaturePresent
|
|
QueryPerformanceCounter
|
|
RtlCaptureContext
|
|
GetCurrentProcessId
|
|
GetSystemTimeAsFileTime
|
|
DisableThreadLibraryCalls
|
|
InitializeSListHead
|
|
IsDebuggerPresent
|
|
GetModuleHandleW
|
|
memcpy
|
|
memset
|
|
__current_exception_context
|
|
strchr
|
|
memcmp
|
|
memchr
|
|
strstr
|
|
memmove
|
|
__std_type_info_destroy_list
|
|
__current_exception
|
|
__C_specific_handler
|
|
_errno
|
|
_endthreadex
|
|
terminate
|
|
_initterm
|
|
_initterm_e
|
|
_seh_filter_dll
|
|
_configure_narrow_argv
|
|
_initialize_narrow_environment
|
|
_initialize_onexit_table
|
|
_register_onexit_function
|
|
_execute_onexit_table
|
|
_crt_atexit
|
|
_crt_at_quick_exit
|
|
_cexit
|
|
_beginthreadex
|
|
_time64
|
|
strncmp
|
|
strcmp
|
|
qsort
|
|
_stat64i32
|
|
atoi
|
|
__stdio_common_vsprintf
|