Mercurial > paraspace
comparison paraspace/dexfile.py @ 136:f31bfe55d9c2
Fix issue of corrupted offset list in _DEX_AnnotationSetItem after injection
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 09 Aug 2011 21:52:05 +0800 |
parents | 75a31967ebee |
children | 987fead83ce3 |
comparison
equal
deleted
inserted
replaced
135:b488ca519709 | 136:f31bfe55d9c2 |
---|---|
1295 'insnsSize insns padding try_items handlers_size ' \ | 1295 'insnsSize insns padding try_items handlers_size ' \ |
1296 'catch_handler_items padding2'.split() | 1296 'catch_handler_items padding2'.split() |
1297 pass | 1297 pass |
1298 | 1298 |
1299 | 1299 |
1300 class _DEX_AnnotationSetItem_anno_item(composite): | |
1301 offset = depend_off('_DEX_AnnotationItem')(uint32) | |
1302 | |
1303 child_names = ('offset',) | |
1304 pass | |
1305 | |
1306 | |
1300 class _DEX_AnnotationSetItem(composite): | 1307 class _DEX_AnnotationSetItem(composite): |
1301 size = uint32 | 1308 size = uint32 |
1302 annotationOffs = array('size', depend_off('_DEX_AnnotationItem')(uint32)) | 1309 annotationOffs = array('size', _DEX_AnnotationSetItem_anno_item) |
1303 | 1310 |
1304 child_names = 'size annotationOffs'.split() | 1311 child_names = 'size annotationOffs'.split() |
1305 pass | 1312 pass |
1306 | 1313 |
1307 | 1314 |