Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/apparmor/policy_unpack_test.c policy_unpack_test_inbounds_when_inbounds() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0 |
security/apparmor/policy_unpack_test.c policy_unpack_test_inbounds_when_inbounds() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
security/apparmor/policy_unpack_test.c policy_unpack_test_inbounds_when_inbounds() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack_test.c policy_unpack_test_inbounds_when_out_of_bounds() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack.c aa_unpack_X() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),4-11 |
| STR_LEN | 0 | e | (-1),4-11 |
security/apparmor/policy_unpack.c aa_unpack_array() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | size | 2 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),4,6,10 |
| STR_LEN | 0 | e | (-1),4,6,10 |
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack.c aa_unpack_blob() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | size | 4 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),5,9 |
| STR_LEN | 0 | e | (-1),5,9 |
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack.c aa_unpack_blob() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-u32max |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),5,9 |
| STR_LEN | 0 | e | (-1),5,9 |
security/apparmor/policy_unpack.c aa_unpack_u16_chunk() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 2 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),4-12 |
| STR_LEN | 0 | e | (-1),4-12 |
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack.c aa_unpack_u16_chunk() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-u16max |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),4-12 |
| STR_LEN | 0 | e | (-1),4-12 |
security/apparmor/policy_unpack.c aa_unpack_u32() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | size | 4 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),4-10 |
| STR_LEN | 0 | e | (-1),4-10 |
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack.c aa_unpack_u64() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | size | 8 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | (-1),8 |
| STR_LEN | 0 | e | (-1),8 |
| UNITS | 1 | size | unit_byte |
security/apparmor/policy_unpack.c unpack_u8() -> aa_inbounds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 7231096625482756096 |
| PARAM_VALUE | 0 | e->end | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | size | 1 |
| DATA_SOURCE | 0 | e | $0 |
| UNITS | 1 | size | unit_byte |