Documented in 1 files:

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_u16_chunk_basic() -> aa_unpack_u16_chunk()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->end 4096-ptr_max
PARAM_VALUE 0 e->pos 4096-ptr_max
PARAM_VALUE 1 chunk 1751376198614736896
PARAM_VALUE 1 *chunk 0
PARAM_VALUE 1 *(*chunk) 0

security/apparmor/policy_unpack_test.c policy_unpack_test_unpack_u16_chunk_out_of_bounds_1() -> aa_unpack_u16_chunk()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 1 chunk 3420621996702224384
PARAM_VALUE 1 *chunk 0
PARAM_VALUE 1 *(*chunk) 0

security/apparmor/policy_unpack_test.c policy_unpack_test_unpack_u16_chunk_out_of_bounds_2() -> aa_unpack_u16_chunk()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->pos 4096-ptr_max
PARAM_VALUE 1 chunk 79637982021386240
PARAM_VALUE 1 *chunk 0
PARAM_VALUE 1 *(*chunk) 0

security/apparmor/policy_unpack.c aa_unpack_nameX() -> aa_unpack_u16_chunk()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->pos 4097-18446744073709547521
PARAM_VALUE 1 chunk 2472844721227902976
PARAM_VALUE 1 *chunk 0
PARAM_VALUE 1 *(*chunk) 0
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_str() -> aa_unpack_u16_chunk()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->pos 4097-18446744073709547521
PARAM_VALUE 1 chunk 2850836124941123584
DATA_SOURCE 0 e $0
STR_LEN 0 e (-1),4,6,9,11-12
STR_LEN 0 e (-1),4,6,9,11-12