/dalvik/libdex/ |
D | DexCatch.c | 26 u4 dexGetFirstHandlerOffset(const DexCode* pCode) { in dexGetFirstHandlerOffset() argument 27 if (pCode->triesSize == 0) { in dexGetFirstHandlerOffset() 31 const u1* baseData = dexGetCatchHandlerData(pCode); in dexGetFirstHandlerOffset() 40 u4 dexGetHandlersSize(const DexCode* pCode) { in dexGetHandlersSize() argument 41 if (pCode->triesSize == 0) { in dexGetHandlersSize() 45 const u1* data = dexGetCatchHandlerData(pCode); in dexGetHandlersSize() 86 const DexCode* pCode) { in dexCatchIteratorGetEndOffset() argument 89 return (u4) (pIterator->pEncodedData - dexGetCatchHandlerData(pCode)); in dexCatchIteratorGetEndOffset()
|
D | DexCatch.h | 38 u4 dexGetFirstHandlerOffset(const DexCode* pCode); 41 u4 dexGetHandlersSize(const DexCode* pCode); 83 const DexCode* pCode, u4 offset) in dexCatchIteratorInit() argument 86 dexGetCatchHandlerData(pCode) + offset); in dexCatchIteratorInit() 111 const DexCode* pCode); 121 const DexCode* pCode, u4 address) { in dexFindCatchHandler() argument 122 u2 triesSize = pCode->triesSize; in dexFindCatchHandler() 131 const DexTry* tries = dexGetTries(pCode); in dexFindCatchHandler() 148 offset = dexFindCatchHandlerOffset0(triesSize, dexGetTries(pCode), in dexFindCatchHandler() 157 dexCatchIteratorInit(pIterator, pCode, offset); in dexFindCatchHandler()
|
D | DexFile.c | 700 size_t dexGetDexCodeSize(const DexCode* pCode) in dexGetDexCodeSize() argument 710 if (pCode->triesSize != 0) { in dexGetDexCodeSize() 711 handlersSize = dexGetHandlersSize(pCode); in dexGetDexCodeSize() 712 offset = dexGetFirstHandlerOffset(pCode); in dexGetDexCodeSize() 720 dexCatchIteratorInit(&iterator, pCode, offset); in dexGetDexCodeSize() 721 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in dexGetDexCodeSize() 724 const u1* handlerData = dexGetCatchHandlerData(pCode); in dexGetDexCodeSize() 730 return (handlerData - (u1*) pCode) + offset; in dexGetDexCodeSize() 850 const DexCode* pCode, in dexDecodeDebugInfo() argument 857 const u1 *stream = dexGetDebugInfoStream(pDexFile, pCode); in dexDecodeDebugInfo() [all …]
|
D | DexFile.h | 725 size_t dexGetDexCodeSize(const DexCode* pCode); 728 DEX_INLINE const DexTry* dexGetTries(const DexCode* pCode) { in dexGetTries() argument 729 const u2* insnsEnd = &pCode->insns[pCode->insnsSize]; in dexGetTries() 740 DEX_INLINE const u1* dexGetCatchHandlerData(const DexCode* pCode) { in dexGetCatchHandlerData() argument 741 const DexTry* pTries = dexGetTries(pCode); in dexGetCatchHandlerData() 742 return (const u1*) &pTries[pCode->triesSize]; in dexGetCatchHandlerData() 747 const DexCode* pCode) in dexGetDebugInfoStream() argument 749 if (pCode->debugInfoOff == 0) { in dexGetDebugInfoStream() 752 return pDexFile->baseAddr + pCode->debugInfoOff; in dexGetDebugInfoStream()
|
/dalvik/dexlist/ |
D | DexList.c | 95 const DexCode* pCode; in dumpMethod() local 109 pCode = dexGetCode(pDexFile, pDexMethod); in dumpMethod() 110 assert(pCode != NULL); in dumpMethod() 125 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpMethod() 140 insnsOff, pCode->insnsSize * 2, in dumpMethod()
|
/dalvik/vm/analysis/ |
D | VerifySubs.c | 99 const DexCode* pCode = dvmGetMethodCode(meth); in dvmSetTryFlags() local 100 u4 triesSize = pCode->triesSize; in dvmSetTryFlags() 110 pTries = dexGetTries(pCode); in dvmSetTryFlags() 111 handlersSize = dexGetHandlersSize(pCode); in dvmSetTryFlags() 142 offset = dexGetFirstHandlerOffset(pCode); in dvmSetTryFlags() 145 dexCatchIteratorInit(&iterator, pCode, offset); in dvmSetTryFlags() 166 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in dvmSetTryFlags()
|
D | CodeVerify.c | 2730 const DexCode* pCode; in getCaughtExceptionType() local 2739 pCode = dvmGetMethodCode(meth); in getCaughtExceptionType() 2741 if (pCode->triesSize != 0) { in getCaughtExceptionType() 2742 handlersSize = dexGetHandlersSize(pCode); in getCaughtExceptionType() 2743 offset = dexGetFirstHandlerOffset(pCode); in getCaughtExceptionType() 2751 dexCatchIteratorInit(&iterator, pCode, offset); in getCaughtExceptionType() 2787 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in getCaughtExceptionType() 5625 const DexCode* pCode = dvmGetMethodCode(meth); in verifyInstruction() local 5628 if (dexFindCatchHandler(&iterator, pCode, insnIdx)) { in verifyInstruction()
|
D | RegisterMap.c | 3142 const DexCode* pCode = dvmGetMethodCode(meth); 3145 if (dexFindCatchHandler(&iterator, pCode, insnIdx)) {
|
/dalvik/dexdump/ |
D | DexDump.c | 562 void dumpCatches(DexFile* pDexFile, const DexCode* pCode) in dumpCatches() argument 564 u4 triesSize = pCode->triesSize; in dumpCatches() 573 const DexTry* pTries = dexGetTries(pCode); in dumpCatches() 584 dexCatchIteratorInit(&iterator, pCode, pTry->handlerOff); in dumpCatches() 612 void dumpPositions(DexFile* pDexFile, const DexCode* pCode, in dumpPositions() argument 621 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpPositions() 637 void dumpLocals(DexFile* pDexFile, const DexCode* pCode, in dumpLocals() argument 647 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpLocals() 700 void dumpInstruction(DexFile* pDexFile, const DexCode* pCode, int insnIdx, in dumpInstruction() argument 703 const u2* insns = pCode->insns; in dumpInstruction() [all …]
|
/dalvik/vm/oo/ |
D | Object.h | 787 const DexCode* pCode = dvmGetMethodCode(meth); in dvmGetMethodInsnsSize() local 788 return (pCode == NULL) ? 0 : pCode->insnsSize; in dvmGetMethodInsnsSize()
|
/dalvik/vm/ |
D | Exception.c | 774 const DexCode* pCode = dvmGetMethodCode(method); in findCatchInMethod() local 777 if (dexFindCatchHandler(&iterator, pCode, relPc)) { in findCatchInMethod()
|