We use use nlp (FP-Growth) approach to get the associations of the parameters.
After using FP-Growth algorithm for associate rules mining, some keywords such as id, token, uid, cert, package are used to perform word synonyms analysis.
Different keywords set are used to extract more associate Identity accessing or enforcement methods. Here is an example for a set of keywords and the results:
keywords:
"userid", "uid", "pid", "identity", "package", "enforce", "permission"
results:
Keyword: uid ->
getDataLayerSnapshotForUid
getCallingUid
startUserUidEnumeration
getUuids
Keyword: identity ->
restoreCallingIdentity
clearCallingIdentity
Keyword: userid ->
getEffectiveUserId
getCurrentUserId
getCallingUserId
getUserId
Keyword: permission ->
checkPermission
requestPermission
enforceChangePermission
enforceAccessPermission
enforceConnectivityInternalPermission
enforceCallingOrSelfPermission
Keyword: package ->
getPackageInfo
getDeviceOwnerPackageName
getPackageInfoNoCheck
Keyword: pid ->
getCallingPid
Keyword: enforce ->
enforceChangePermission
enforceAccessPermission
enforceConnectivityInternalPermission
enforceCallingOrSelfPermission
enforceExpandStatusBar