Skip to content

Latest commit

 

History

History
47 lines (43 loc) · 1.22 KB

3.nlp_approach.md

File metadata and controls

47 lines (43 loc) · 1.22 KB

Parameters Associate Analysis

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