Changeset View
Changeset View
Standalone View
Standalone View
contrib/devtools/symbol-check.py
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | ELF_ALLOWED_LIBRARIES = { | ||||
"ld-linux-armhf.so.3", # 32-bit ARM dynamic linker | "ld-linux-armhf.so.3", # 32-bit ARM dynamic linker | ||||
# bitcoin-qt only | # bitcoin-qt only | ||||
"libxcb.so.1", # part of X11 | "libxcb.so.1", # part of X11 | ||||
"libxkbcommon.so.0", # keyboard keymapping | "libxkbcommon.so.0", # keyboard keymapping | ||||
"libxkbcommon-x11.so.0", # keyboard keymapping | "libxkbcommon-x11.so.0", # keyboard keymapping | ||||
"libfontconfig.so.1", # font support | "libfontconfig.so.1", # font support | ||||
"libfreetype.so.6", # font parsing | "libfreetype.so.6", # font parsing | ||||
"libdl.so.2", # programming interface to dynamic linker | "libdl.so.2", # programming interface to dynamic linker | ||||
"libdl.so.2", # programming interface to dynamic linker | |||||
"libxcb-icccm.so.4", | |||||
"libxcb-image.so.0", | |||||
"libxcb-shm.so.0", | |||||
"libxcb-keysyms.so.1", | |||||
"libxcb-randr.so.0", | |||||
"libxcb-render-util.so.0", | |||||
"libxcb-render.so.0", | |||||
"libxcb-shape.so.0", | |||||
"libxcb-sync.so.1", | |||||
"libxcb-xfixes.so.0", | |||||
"libxcb-xinerama.so.0", | |||||
"libxcb-xkb.so.1", | |||||
} | } | ||||
ARCH_MIN_GLIBC_VER = { | ARCH_MIN_GLIBC_VER = { | ||||
pixie.EM_386: (2, 1), | pixie.EM_386: (2, 1), | ||||
pixie.EM_X86_64: (2, 2, 5), | pixie.EM_X86_64: (2, 2, 5), | ||||
pixie.EM_ARM: (2, 4), | pixie.EM_ARM: (2, 4), | ||||
pixie.EM_AARCH64: (2, 17), | pixie.EM_AARCH64: (2, 17), | ||||
} | } | ||||
MACHO_ALLOWED_LIBRARIES = { | MACHO_ALLOWED_LIBRARIES = { | ||||
# bitcoind and bitcoin-qt | # bitcoind and bitcoin-qt | ||||
"libc++.1.dylib", # C++ Standard Library | "libc++.1.dylib", # C++ Standard Library | ||||
"libSystem.B.dylib", # libc, libm, libpthread, libinfo | "libSystem.B.dylib", # libc, libm, libpthread, libinfo | ||||
# bitcoin-qt only | # bitcoin-qt only | ||||
"AppKit", # user interface | "AppKit", # user interface | ||||
"ApplicationServices", # common application tasks. | "ApplicationServices", # common application tasks. | ||||
"Carbon", # deprecated c back-compat API | "Carbon", # deprecated c back-compat API | ||||
"ColorSync", | |||||
"CFNetwork", # network services and changes in network configurations | "CFNetwork", # network services and changes in network configurations | ||||
"CoreFoundation", # low level func, data types | "CoreFoundation", # low level func, data types | ||||
"CoreGraphics", # 2D rendering | "CoreGraphics", # 2D rendering | ||||
"CoreServices", # operating system services | "CoreServices", # operating system services | ||||
"CoreText", # interface for laying out text and handling fonts. | "CoreText", # interface for laying out text and handling fonts. | ||||
"CoreVideo", # video processing | "CoreVideo", # video processing | ||||
"Foundation", # base layer functionality for apps/frameworks | "Foundation", # base layer functionality for apps/frameworks | ||||
"ImageIO", # read and write image file formats. | "ImageIO", # read and write image file formats. | ||||
"IOKit", # user-space access to hardware devices and drivers. | "IOKit", # user-space access to hardware devices and drivers. | ||||
"IOSurface", # cross process image/drawing buffers | "IOSurface", # cross process image/drawing buffers | ||||
"libobjc.A.dylib", # Objective-C runtime library | "libobjc.A.dylib", # Objective-C runtime library | ||||
"Metal", # 3D graphics | "Metal", # 3D graphics | ||||
"Security", # access control and authentication | "Security", # access control and authentication | ||||
"QuartzCore", # animation | "QuartzCore", # animation | ||||
"SystemConfiguration", # access network configuration settings | "SystemConfiguration", # access network configuration settings | ||||
"libgssapi_krb5.so.2", | |||||
} | } | ||||
PE_ALLOWED_LIBRARIES = { | PE_ALLOWED_LIBRARIES = { | ||||
"ADVAPI32.dll", # security & registry | "ADVAPI32.dll", # security & registry | ||||
"IPHLPAPI.DLL", # IP helper API | "IPHLPAPI.DLL", # IP helper API | ||||
"KERNEL32.dll", # win32 base APIs | "KERNEL32.dll", # win32 base APIs | ||||
"msvcrt.dll", # C standard library for MSVC | "msvcrt.dll", # C standard library for MSVC | ||||
"SHELL32.dll", # shell API | "SHELL32.dll", # shell API | ||||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |