Home
last modified time | relevance | path

Searched refs:vdata (Results 1 – 5 of 5) sorted by relevance

/dalvik/vm/analysis/
DDexVerify.c27 static bool verifyInstructions(VerifierData* vdata);
127 VerifierData vdata; in verifyMethod() local
129 memset(&vdata, 0x99, sizeof(vdata)); in verifyMethod()
132 vdata.method = meth; in verifyMethod()
133 vdata.insnsSize = dvmGetMethodInsnsSize(meth); in verifyMethod()
134 vdata.insnRegCount = meth->registersSize; in verifyMethod()
135 vdata.insnFlags = NULL; in verifyMethod()
136 vdata.uninitMap = NULL; in verifyMethod()
144 if (vdata.insnsSize == 0) { in verifyMethod()
170 vdata.insnFlags = (InsnFlags*) in verifyMethod()
[all …]
DRegisterMap.c42 static bool verifyMap(VerifierData* vdata, const RegisterMap* pMap);
187 RegisterMap* dvmGenerateRegisterMapV(VerifierData* vdata) in dvmGenerateRegisterMapV() argument
198 if (vdata->method->registersSize >= 2048) { in dvmGenerateRegisterMapV()
200 vdata->method->registersSize); in dvmGenerateRegisterMapV()
203 regWidth = (vdata->method->registersSize + 7) / 8; in dvmGenerateRegisterMapV()
212 if (vdata->insnsSize < 256) { in dvmGenerateRegisterMapV()
227 for (i = 0; i < (int) vdata->insnsSize; i++) { in dvmGenerateRegisterMapV()
228 if (dvmInsnIsGcPoint(vdata->insnFlags, i)) in dvmGenerateRegisterMapV()
244 vdata->method->clazz->descriptor, vdata->method->name, in dvmGenerateRegisterMapV()
257 for (i = 0; i < (int) vdata->insnsSize; i++) { in dvmGenerateRegisterMapV()
[all …]
DRegisterMap.h237 RegisterMap* dvmGenerateRegisterMapV(VerifierData* vdata);
DCodeVerify.h306 bool dvmVerifyCodeFlow(VerifierData* vdata);
DCodeVerify.c3088 bool dvmVerifyCodeFlow(VerifierData* vdata) in dvmVerifyCodeFlow() argument
3091 const Method* meth = vdata->method; in dvmVerifyCodeFlow()
3092 const int insnsSize = vdata->insnsSize; in dvmVerifyCodeFlow()
3135 if (!initRegisterTable(meth, vdata->insnFlags, &regTable, in dvmVerifyCodeFlow()
3139 vdata->addrRegs = NULL; /* don't set this until we need it */ in dvmVerifyCodeFlow()
3145 if (!setTypesFromSignature(meth, regTable.addrRegs[0], vdata->uninitMap)) in dvmVerifyCodeFlow()
3151 if (!doCodeVerification(meth, vdata->insnFlags, &regTable, vdata->uninitMap)) in dvmVerifyCodeFlow()
3158 vdata->addrRegs = regTable.addrRegs; in dvmVerifyCodeFlow()
3160 RegisterMap* pMap = dvmGenerateRegisterMapV(vdata); in dvmVerifyCodeFlow()