/
githubmirror
/
efivar
Обзор
Документация
Войти
/
githubmirror
/
efivar
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/abignore
92 строки
4 KB
Peter Jones
abicheck: try to ignore FILE * changing on us in efi_get_logfile()
04 мар 2026, 19:11
04 мар 2026, 19:11
0eacf51
Код
Авторство
О чём код?
# 1 function with some indirect sub-type change: # # [C]'function int efidp_append_instance(const_efidp, const_efidp, efidp*)' at dp.c:259:1 has some indirect sub-type changes: # parameter 1 of type 'typedef const_efidp' has sub-type changes: # underlying type 'const efidp_data*' changed: # in pointed to type 'const efidp_data': # in unqualified underlying type 'typedef efidp_data' at efivar-dp.h:882:1: # underlying type 'union __anonymous_union__' at efivar-dp.h:825:1 changed: # 5 data member insertions: # 'efidp_bt __anonymous_union__::bt' at efivar-dp.h:867:1 # 'efidp_btle __anonymous_union__::btle' at efivar-dp.h:870:1 # 'efidp_dns __anonymous_union__::dns' at efivar-dp.h:871:1 # 'efidp_emmc __anonymous_union__::emmc' at efivar-dp.h:869:1 # 'efidp_wifi __anonymous_union__::wifi' at efivar-dp.h:868:1 # [suppress_type] name = efidp_data type_kind = typedef has_data_member_inserted_at = end soname_regexp = libefi(var|boot|sec)\\.so\\..* # https://bugzilla.redhat.com/show_bug.cgi?id=2030482 (el9 only) # 1 function with some indirect sub-type change: # [C] 'function int _efi_set_variable(efi_guid_t, const char*, uint8_t*, size_t, uint32_t)' at lib.c:33:1 has some indirect sub-type changes: # parameter 1 of type 'typedef efi_guid_t' changed: # underlying type 'struct efi_guid_t' at efivar-types.h:13:1 changed: # type name changed from 'efi_guid_t' to '__anonymous_struct__6' # type size hasn't changed # no data member changes (5 filtered); [suppress_type] name = efi_guid_t type_kind = struct # 1 Added variable: # # 'const __anonymous_struct__ efi_guid_ux_capsule' {efi_guid_ux_capsule@@LIBEFIVAR_1.33} # [suppress_variable] change_kind = added-variable soname_regexp = libefivar\\.so\\..* symbol_name_regexp = ^efi_guid_[[:alnum:]_]+$ # allow new functions that are prefixed correctly [suppress_function] change_kind = added-function soname_regexp = ^libefi(var|boot|sec)\\.so\\..* name_regexp = ^(efidp_|efi_)[[:alnum:]_]+ # allow new variables that are prefixed correctly [suppress_variable] change_kind = added-variable soname_regexp = libefi(var|boot|sec)\\.so\\..* symbol_name_regexp = ^(efidp_|efi_)[[:alnum:]_]+ # glibc breaks FILE pretty often, and we only ever reference it as an opaque # pointer, so there's no real change we're affected by this. # # [C] 'function FILE* efi_get_logfile(void)' at error.c:273:1 has some indirect sub-type changes: # return type changed: # in pointed to type 'typedef FILE' at FILE.h:7:1: # underlying type 'struct _IO_FILE' at struct_FILE.h:51:1 changed: # type size hasn't changed # 3 data member deletions: # 'char _short_backupbuf[1]', at offset 952 (in bits) at struct_FILE.h:77:1 # 'int _unused3', at offset 1568 (in bits) at struct_FILE.h:102:1 # '__uint64_t _total_written', at offset 1600 (in bits) at struct_FILE.h:104:1 # 2 data member changes (2 filtered): # type of '_IO_FILE** _prevchain' changed: # entity changed from '_IO_FILE**' to 'typedef size_t' at stddef.h:229:1 # type size hasn't changed # and name of '_IO_FILE::_prevchain' changed to '_IO_FILE::__pad5' at struct_FILE.h:104:1 # type of 'char _unused2[8]' changed: # type name changed from 'char[8]' to 'char[20]' # array type size changed from 64 to 160 # array type subrange 1 changed length from 8 to 20 # array subrange changed: # upper bound of '<anonymous range>[8]' change from '7' to '19' # and offset changed from 1664 to 1568 (in bits) (by -96 bits) # # Unfortunately I don't see a way to ignore only this specific /change/, only # the entire function whenever the type changes. But it doesn't change on purpose. # [suppress_function] change_kind = function-subtype-change soname_regexp = libefi(var|boot|sec)\\.so\\..* name = efi_get_logfile # same as above... [suppress_function] change_kind = function-subtype-change soname_regexp = libefi(var|boot|sec)\\.so\\..* name = efi_set_verbose