{"name": "checkPasswdAccess", "code": "__int64 __fastcall checkPasswdAccess ( unsigned int @@a1@@ ) { return selinux_check_passwd_access_internal ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}]}
{"name": "selinux_check_passwd_access_internal", "code": "__int64 __fastcall selinux_check_passwd_access_internal ( unsigned int @@a1@@ ) { int @@v2@@ [ Number ] ; __int64 @@v3@@ ; int @@v4@@ ; unsigned __int16 @@v5@@ ; unsigned int @@v6@@ ; @@v6@@ = Number ; if ( ! ( unsigned int ) is_selinux_enabled_internal ( ) ) return Number L ; if ( ! ( unsigned int ) getprevcon_raw_internal ( & @@v3@@ ) ) { @@v5@@ = string_to_security_class ( String ) ; if ( ! @@v5@@ ) return Number L ; @@v4@@ = security_compute_av_raw_internal ( @@v3@@ , @@v3@@ , @@v5@@ , @@a1@@ , @@v2@@ ) ; if ( ! @@v4@@ && @@a1@@ == ( @@a1@@ & @@v2@@ [ Number ] ) ) @@v6@@ = Number ; freecon_internal ( @@v3@@ ) ; } if ( @@v6@@ ) { if ( ! ( unsigned int ) security_getenforce_internal ( ) ) @@v6@@ = Number ; } return @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v2", "t": {"T": 2, "n": 6, "s": 4, "t": "int"}, "location": "s48"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s6"}]}