MCPcopy
hub / github.com/ElderDrivers/EdXposed / genBackupMethod

Function genBackupMethod

edxp-sandhook/genhookstubs.py:120–124  ·  view source on GitHub ↗
(is64Bit, args, index)

Source from the content-addressed store, hash-verified

118
119
120def genBackupMethod(is64Bit, args, index):
121 java_type = JAVA_TYPE_LONG if is64Bit else JAVA_TYPE_INT
122 args_list_def = genArgsList(is64Bit, True, args)
123 method = TEMP_STUB_BACKUP_METHOD % (java_type, getMethodBackupName(index), args_list_def, getMethodId(args, index))
124 return method
125
126def genCallOriginClass(is64Bit, args, index):
127 method = TEMP_STUB_CALL_ORIGIN_CLASS % (getCallOriginClassName(args, index), getMethodBackupName(index), genArgsListForCallOriginMethod(is64Bit, args))

Callers 2

gen32StubFunction · 0.85
gen64StubFunction · 0.85

Calls 3

genArgsListFunction · 0.85
getMethodBackupNameFunction · 0.85
getMethodIdFunction · 0.85

Tested by

no test coverage detected