Defined in 3 files as a prototype:

Defined in 3 files as a macro:

Defined in 4 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/kexec_file.c kexec_apply_relocations() -> arch_kexec_apply_relocations_add()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 0 pi->ehdr 6287234174676209664
PARAM_VALUE 0 pi->ehdr->e_shnum 1-u16max
PARAM_VALUE 0 pi->purgatory_buf 1-u64max
PARAM_VALUE 0 pi->sechdrs 1-u64max
PARAM_VALUE 1 section 4096-ptr_max
PARAM_VALUE 1 section->sh_flags 2-u64max
PARAM_VALUE 2 relsec 4096-ptr_max
PARAM_VALUE 2 relsec->sh_info 0-65534
PARAM_VALUE 2 relsec->sh_link 0-65534
PARAM_VALUE 2 relsec->sh_type 4
PARAM_VALUE 3 symtabsec 4096-ptr_max
PARAM_VALUE 3 symtabsec->sh_link 0-65534
BUF_SIZE 0 pi 24
CAPPED_DATA 2 relsec->sh_info 1
CAPPED_DATA 2 relsec->sh_link 1
CAPPED_DATA 3 symtabsec->sh_link 1
PARAM_COMPARE 0 pi->ehdr->e_shnum > $2->sh_info
PARAM_COMPARE 0 pi->ehdr->e_shnum > $2->sh_link
PARAM_COMPARE 0 pi->ehdr->e_shnum > $3->sh_link
CONSTRAINT 2 relsec->sh_info <3064
CONSTRAINT 2 relsec->sh_link <3064
CONSTRAINT 3 symtabsec->sh_link <3064
BIT_INFO 1 section->sh_flags 0x2,0xffffffffffffffff