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_unpack_str_out_of_bounds() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | string | 7387199909843173376 |
| PARAM_VALUE | 1 | *string | 0 |
| PARAM_VALUE | 1 | *(*string) | 0 |
| PARAM_VALUE | 2 | name | 6803282748124319744 |
| BUF_SIZE | 2 | name | 12 |
| STR_LEN | 0 | e | 11 |
| TERMINATED | 2 | name | 1 |
security/apparmor/policy_unpack_test.c policy_unpack_test_unpack_str_with_name() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | string | 6421822320463855616 |
| PARAM_VALUE | 1 | *string | 0 |
| PARAM_VALUE | 1 | *(*string) | 0 |
| PARAM_VALUE | 2 | name | 6803282748124319744 |
| BUF_SIZE | 2 | name | 12 |
| STR_LEN | 0 | e | 11 |
| TERMINATED | 2 | name | 1 |
security/apparmor/policy_unpack_test.c policy_unpack_test_unpack_str_with_null_name() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->pos | 4096-ptr_max |
| PARAM_VALUE | 1 | string | 2628438381480947712 |
| PARAM_VALUE | 1 | *string | 0 |
| PARAM_VALUE | 1 | *(*string) | 0 |
| PARAM_VALUE | 2 | name | 0 |
security/apparmor/policy_unpack.c aa_unpack_strdup() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | string | 2231188901462888448 |
| PARAM_VALUE | 2 | name | 0,1245605407747706880,6803282748124319744 |
| BUF_SIZE | 2 | name | (-1),12-13 |
| BUF_SIZE | 2 | name | (-1),12-13 |
| DATA_SOURCE | 0 | e | $0 |
| DATA_SOURCE | 2 | name | $2 |
| STR_LEN | 0 | e | (-1),4,6,11-12 |
| STR_LEN | 0 | e | (-1),4,6,11-12 |
security/apparmor/policy_unpack.c unpack_profile() -> aa_unpack_str()
| 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 | 0 | e->start | 0-18446744073709547519 |
| PARAM_VALUE | 1 | string | 5390198419080839168 |
| PARAM_VALUE | 1 | *string | 0 |
| PARAM_VALUE | 1 | *(*string) | 0 |
| PARAM_VALUE | 2 | name | 0 |
| DATA_SOURCE | 0 | e | $0 |
security/apparmor/policy_unpack.c unpack_profile() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 7231096625482756096 |
| PARAM_VALUE | 0 | e->end | 4096-ptr_max |
| PARAM_VALUE | 0 | e->start | 0-18446744073709547519 |
| PARAM_VALUE | 1 | string | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 8372722981330219008 |
| BUF_SIZE | 2 | name | 7 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | 6 |
| TERMINATED | 2 | name | 1 |
security/apparmor/policy_unpack.c unpack_profile() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 7231096625482756096 |
| PARAM_VALUE | 0 | e->end | 4096-ptr_max |
| PARAM_VALUE | 0 | e->start | 0-18446744073709547519 |
| PARAM_VALUE | 1 | string | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 441595835286130688 |
| BUF_SIZE | 2 | name | 7 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | 6 |
| TERMINATED | 2 | name | 1 |
security/apparmor/policy_unpack.c verify_header() -> aa_unpack_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 7231096625482756096 |
| PARAM_VALUE | 0 | e->end | 4096-ptr_max |
| PARAM_VALUE | 0 | e->start | 0-18446744073709547519 |
| PARAM_VALUE | 1 | string | 8753630504292012032 |
| PARAM_VALUE | 1 | *string | 0 |
| PARAM_VALUE | 1 | *(*string) | 0 |
| PARAM_VALUE | 2 | name | 4035853548056555520 |
| BUF_SIZE | 2 | name | 10 |
| DATA_SOURCE | 0 | e | $0 |
| STR_LEN | 0 | e | 9 |
| TERMINATED | 2 | name | 1 |