Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/binfmt_elf.c elf_load() -> elf_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filep | 4096-ptr_max |
| PARAM_VALUE | 0 | filep->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filep->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filep->f_op | 4096-ptr_max |
| PARAM_VALUE | 2 | eppnt | 4096-ptr_max |
| PARAM_VALUE | 2 | eppnt->p_filesz | 1-u64max |
| PARAM_VALUE | 2 | eppnt->p_type | 1 |
| PARAM_VALUE | 3 | prot | 0-7 |
| PARAM_VALUE | 4 | type | 2,18 |
| BUF_SIZE | 2 | eppnt | (-1),1-65536 |
| BUF_SIZE | 2 | eppnt | (-1),1-65536 |
| DATA_SOURCE | 0 | filep | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | eppnt | $2 |
| DATA_SOURCE | 3 | prot | $3 |
| DATA_SOURCE | 4 | type | $4 |
| DATA_SOURCE | 5 | total_size | $5 |
| FUZZY_MAX | 4 | type | 2 |
| BIT_INFO | 4 | type | 0x2,0x12 |
| NO_OVERFLOW_SIMPLE | 0 | filep->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filep->f_path.moved->d_inode->i_size | |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
fs/compat_binfmt_elf.c elf_load() -> elf_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filep | 4096-ptr_max |
| PARAM_VALUE | 0 | filep->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filep->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filep->f_op | 4096-ptr_max |
| PARAM_VALUE | 2 | eppnt | 4096-ptr_max |
| PARAM_VALUE | 2 | eppnt->p_filesz | 1-u32max |
| PARAM_VALUE | 2 | eppnt->p_type | 1 |
| PARAM_VALUE | 3 | prot | 0-7 |
| PARAM_VALUE | 4 | type | 2,18 |
| PARAM_VALUE | 5 | total_size | 0-u32max |
| DATA_SOURCE | 0 | filep | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | eppnt | $2 |
| DATA_SOURCE | 3 | prot | $3 |
| DATA_SOURCE | 4 | type | $4 |
| DATA_SOURCE | 5 | total_size | $5 |
| FUZZY_MAX | 4 | type | 2 |
| FUZZY_MAX | 5 | total_size | 0 |
| BIT_INFO | 4 | type | 0x2,0x12 |
| UNITS | 1 | addr | unit_byte |