Home | History | Annotate | Download | only in libdex

Lines Matching refs:CheckState

71 struct CheckState {
92 static inline u4 fileOffset(const CheckState* state, const void* ptr) {
99 static inline void* filePointer(const CheckState* state, u4 offset) {
111 static inline bool checkPtrRange(const CheckState* state,
131 * Assumes "const CheckState* state".
150 * Assumes "const CheckState* state".
161 * Assumes "const CheckState* state" and "typeof(_count) == typeof(_elemSize)"
179 * Assumes "const CheckState* state".
233 static bool verifyFieldDefiner(const CheckState* state, u4 definingClass,
240 static bool verifyMethodDefiner(const CheckState* state, u4 definingClass,
250 static size_t calcDefinedClassBitsSize(const CheckState* state)
259 static bool setDefinedClassBit(const CheckState* state, u4 typeIdx) {
273 static bool swapDexHeader(const CheckState* state, DexHeader* pHeader)
323 static bool checkHeaderSection(const CheckState* state, u4 sectionOffset,
395 static bool swapMap(CheckState* state, DexMapList* pMap)
526 static bool checkMapSection(const CheckState* state, u4 sectionOffset,
547 static void* swapStringIdItem(const CheckState* state, void* ptr) {
557 static void* crossVerifyStringIdItem(const CheckState* state, void* ptr) {
580 static void* swapTypeIdItem(const CheckState* state, void* ptr) {
590 static void* crossVerifyTypeIdItem(const CheckState* state, void* ptr) {
614 static void* swapProtoIdItem(const CheckState* state, void* ptr) {
671 static void* crossVerifyProtoIdItem(const CheckState* state, void* ptr) {
764 static void* swapFieldIdItem(const CheckState* state, void* ptr) {
776 static void* crossVerifyFieldIdItem(const CheckState* state, void* ptr) {
836 static void* swapMethodIdItem(const CheckState* state, void* ptr) {
848 static void* crossVerifyMethodIdItem(const CheckState* state, void* ptr) {
902 static void* swapClassDefItem(const CheckState* state, void* ptr) {
918 static u4 findFirstClassDataDefiner(const CheckState* state,
920 static u4 findFirstAnnotationsDirectoryDefiner(const CheckState* state,
925 static bool verifyClassDataIsForDef(const CheckState* state, u4 offset,
954 static bool verifyAnnotationsDirectoryIsForDef(const CheckState* state,
968 static void* crossVerifyClassDefItem(const CheckState* state, void* ptr) {
1062 static u1* swapFieldAnnotations(const CheckState* state, u4 count, u1* addr) {
1091 static u1* swapMethodAnnotations(const CheckState* state, u4 count, u1* addr) {
1120 static u1* swapParameterAnnotations(const CheckState* state, u4 count,
1149 static void* swapAnnotationsDirectoryItem(const CheckState* state, void* ptr) {
1186 static const u1* crossVerifyFieldAnnotations(const CheckState* state, u4 count,
1206 static const u1* crossVerifyMethodAnnotations(const CheckState* state,
1226 static const u1* crossVerifyParameterAnnotations(const CheckState* state,
1248 static u4 findFirstAnnotationsDirectoryDefiner(const CheckState* state,
1278 static void* crossVerifyAnnotationsDirectoryItem(const CheckState* state,
1318 static void* swapTypeList(const CheckState* state, void* ptr)
1340 static void* swapAnnotationSetRefList(const CheckState* state, void* ptr) {
1360 static void* crossVerifyAnnotationSetRefList(const CheckState* state,
1379 static void* swapAnnotationSetItem(const CheckState* state, void* ptr) {
1406 static void* crossVerifyAnnotationSetItem(const CheckState* state, void* ptr) {
1438 static bool verifyFields(const CheckState* state, u4 size,
1464 static bool verifyMethods(const CheckState* state, u4 size,
1508 static bool verifyClassDataItem0(const CheckState* state,
1548 static void* intraVerifyClassDataItem(const CheckState* state, void* ptr) {
1571 static u4 findFirstClassDataDefiner(const CheckState* state,
1601 static void* crossVerifyClassDataItem(const CheckState* state, void* ptr) {
1648 static u4 setHandlerOffsAndVerify(const CheckState* state,
1726 static void* swapTriesAndCatches(const CheckState* state, DexCode* code) {
1801 static void* swapCodeItem(const CheckState* state, void* ptr) {
1860 static void* intraVerifyStringDataItem(const CheckState* state, void* ptr) {
1961 static void* intraVerifyDebugInfoItem(const CheckState* state, void* ptr) {
2103 static const u1* verifyEncodedValue(const CheckState* state, const u1* data,
2105 static const u1* verifyEncodedAnnotation(const CheckState* state,
2110 static u4 readUnsignedLittleEndian(const CheckState* state, const u1** pData,
2128 static const u1* verifyEncodedArray(const CheckState* state,
2151 static const u1* verifyEncodedValue(const CheckState* state,
2271 static const u1* verifyEncodedAnnotation(const CheckState* state,
2339 static void* intraVerifyEncodedArrayItem(const CheckState* state, void* ptr) {
2344 static void* intraVerifyAnnotationItem(const CheckState* state, void* ptr) {
2365 static void* crossVerifyAnnotationItem(const CheckState* state, void* ptr) {
2380 typedef void* ItemVisitorFunction(const CheckState* state, void* ptr);
2387 static bool iterateSectionWithOptionalUpdate(CheckState* state,
2447 static bool iterateSection(CheckState* state, u4 offset, u4 count,
2457 static bool checkBoundsAndIterateSection(CheckState* state,
2479 static bool iterateDataSection(CheckState* state, u4 offset, u4 count,
2513 static bool swapEverythingButHeaderAndMap(CheckState* state,
2687 static bool crossVerifyEverything(CheckState* state, DexMapList* pMap)
2820 CheckState state;