Add stdin, stdout, stderr to ignored export list

Cherry-picked from: 253f592
This commit is contained in:
Chun Kuan Lee 2018-06-02 17:30:16 +00:00 committed by Patrick Lodder
parent 4598ec33fc
commit a7ed71e78f
No known key found for this signature in database
GPG key ID: 2D3A345B98D0DC1F

View file

@ -48,7 +48,8 @@ MAX_VERSIONS = {
# Ignore symbols that are exported as part of every executable
IGNORE_EXPORTS = {
b'_edata', b'_end', b'_init', b'__bss_start', b'_fini', b'_IO_stdin_used'
b'_edata', b'_end', b'_init', b'__bss_start', b'_fini', b'_IO_stdin_used',
b'stdin', b'stdout', b'stderr'
}
READELF_CMD = os.getenv('READELF', '/usr/bin/readelf')
CPPFILT_CMD = os.getenv('CPPFILT', '/usr/bin/c++filt')