1355 Commits

Author SHA1 Message Date
Ben Gruver
60d834f951 Annotate StringDataItems 2013-03-02 15:21:33 -08:00
Ben Gruver
6d607ebe1d Annotate CodeItems 2013-03-02 14:04:51 -08:00
Ben Gruver
cd12f13ffc Annotate ClassDataItems 2013-02-28 23:02:22 -08:00
Ben Gruver
cc3be5df1e Make RawDexFile extends DexBackedDexFile.Impl 2013-02-28 22:49:31 -08:00
Ben Gruver
c1d7c834e7 Annotate AnnotationSetItems 2013-02-27 21:33:15 -08:00
Ben Gruver
d5f47bae49 Annotate AnnotationItems 2013-02-27 20:58:09 -08:00
Ben Gruver
6fb7190811 Annotate the map section 2013-02-27 18:33:44 -08:00
Ben Gruver
90f8ea9f1e Annotate AnnotationSetRefList items 2013-02-27 18:33:36 -08:00
Ben Gruver
ff32d5cc14 Refactor how annotatations are handled a bit, and add annotations for TypeListItems 2013-02-26 22:20:43 -08:00
Ben Gruver
867723e009 Annotate ClassDefItems 2013-02-26 22:20:43 -08:00
Ben Gruver
78612c7554 Factor out common annotation logic into SectionAnnotator 2013-02-26 22:20:43 -08:00
Ben Gruver
18b069d17e Annotate MethodIdItems 2013-02-26 22:20:43 -08:00
Ben Gruver
1771f92aaf Annotate FieldIdItems 2013-02-26 22:20:43 -08:00
Ben Gruver
5b71582325 Annotate ProtoIdItems 2013-02-26 22:20:43 -08:00
Ben Gruver
658dfb0880 Skip over inter-section blank space when annotating 2013-02-26 22:20:40 -08:00
Ben Gruver
df443569f2 Rename Section to SectionAnnotator 2013-02-24 16:22:08 -08:00
Ben Gruver
85fa15193d Annotate TypeIdItems 2013-02-24 15:58:40 -08:00
Ben Gruver
373ff22ec6 Beginning of annotated dump implementation 2013-02-24 15:58:24 -08:00
Ben Gruver
a78d169848 Make DexFileFactory return a DexBackedDexFile 2013-02-24 15:38:12 -08:00
Ben Gruver
50ef7eda3f Create smali.jar/baksmali.jar symlinks after building jars 2013-02-24 15:38:12 -08:00
Ben Gruver
b02edf521c Add javadoc for the AnnotationIterator class 2013-02-24 15:38:12 -08:00
Ben Gruver
84c1762a62 Merge DexBuffer functionality into DexBackedDexFile 2013-02-24 15:38:12 -08:00
Ben Gruver
0acc897cdd Refactor how method parameters are read/handled 2013-02-24 15:30:25 -08:00
Ben Gruver
bfd74a869e Create AbstractForwardSequentialList util class 2013-02-24 15:30:25 -08:00
Ben Gruver
8c74001967 Remove unwanted @Nonnull annotations from VariableSizeList and iterator 2013-02-24 15:30:25 -08:00
Ben Gruver
7301fbe30e Refactor DexBuffer and DexReader to make them easier to test 2013-02-24 15:30:25 -08:00
Ben Gruver
fd26bc6062 Remove the DexBuffer wrapper methods from DexReader 2013-02-24 15:11:25 -08:00
Ben Gruver
982e9f614f Fix some warnings in AnnotationDirectoryPool 2013-02-24 15:11:25 -08:00
Izzat Bahadirov
15ae0affc4 Handling jumbo string conversions and consequent offset adjustments for branch target instructions and 4-byte alignment enforcement for payload instructions (by prepending them with nops). 2013-02-20 23:28:37 -05:00
Izzat Bahadirov
0e56199557 Fixing spacing. 2013-02-20 22:52:16 -05:00
Ben Gruver
0c838afb2d Merge pull request #5 from psm14/feature/thread_safety
Make Utf8Utils thread-safe
2013-02-15 14:30:56 -08:00
Ben Gruver
625b799285 Move the version to a separate file 2013-02-14 16:04:06 -08:00
Ben Gruver
8867056494 Merge pull request #6 from izzytwosheds/index_stats
Providing listings of indexed item values in DexBackedDexFile.
2013-02-12 17:32:54 -08:00
Izzat Bahadirov
7f10374f40 Sorting items in encoded_array to match the order of fields. 2013-02-11 14:13:26 -05:00
Izzat Bahadirov
9d07f53741 Providing listings of indexed item values in DexBackedDexFile. 2013-01-16 15:51:08 -05:00
Patrick McLaughlin
9993130b74 Make Utf8Utils thread-safe 2013-01-11 18:25:58 -05:00
Ben Gruver
7b89cbdf6b Add @Override annotation for some methods missing it in ImmutableMethod 2012-12-30 20:58:53 -08:00
Ben Gruver
d4b08e1b21 Move MethodReference.getParameters() to Method, and replace with getParameterTypes()
It's common that the caller only needs the parameter type info, and not the
name/annotation/etc, and retrieving just the parameter types can be implemented
more efficiently.
2012-12-30 20:58:13 -08:00
Ben Gruver
a70faf072b Fix an error when getting parameters on a method with no debug info 2012-12-30 16:03:23 -08:00
Ben Gruver
d521168155 Return correct value on first attempt to resolve synthetic accessor 2012-12-30 16:03:23 -08:00
Ben Gruver
0a9e289eb2 Cache the strings when reading a dex file 2012-12-30 13:47:04 -08:00
Ben Gruver
e29142d406 Fix AnnotationDirectoryPool comparisons 2012-12-29 23:06:20 -08:00
Ben Gruver
db5d398850 Write an encoded char as uint rather than int. 2012-12-29 18:45:48 -08:00
Ben Gruver
8045a499ff Fix how proto id items are sorted 2012-12-29 18:44:58 -08:00
Ben Gruver
0843bbe9c6 Add TODO reminder to add support for unknown opcodes 2012-12-29 18:12:57 -08:00
Ben Gruver
97440a495b Merge pull request #3 from izzytwosheds/dexlib_redesign
Fixed ordering of field and proto index map_items in map_list.
2012-12-29 18:11:16 -08:00
Izzat Bahadirov
ca6bcd56b6 Writing field_idx before proto_idx to satisfy dex spec. 2012-12-29 18:06:06 -08:00
Ben Gruver
5152315e25 Fix method sorting in AnnotationDirectoryPool 2012-12-29 14:51:07 -08:00
Ben Gruver
7d5439950f Fix various issues related to comparing method references. 2012-12-29 14:50:15 -08:00
Ben Gruver
e77b5a7354 Sort the interfaces before writing them, in baksmali 2012-12-29 14:47:22 -08:00