Ben Gruver
aae58716e7
Fix some javadoc issues
2014-12-28 14:14:19 -08:00
Ben Gruver
d15e31526f
Expose the various fixed-size item counts in DexBackedDexFile
2014-12-28 12:25:03 -08:00
Ben Gruver
7296c9e957
Refactor VariableSizeLookaheadIterator
...
Previously, when referencing instance fields from readNextItem,
the fields wouldn't have been initialized yet on the first call to
readNextItem
2014-12-28 12:15:17 -08:00
yyjdelete
d1dbf6b14b
Use options.checkPackagePrivateAccess
2014-11-14 21:59:08 +08:00
yyjdelete
62c103d92a
checkPackagePrivateAccess only for API 17(4.2)
...
Google revert this for compatibility.
see 7284c78e14
for details.
BTW, it seems that is also disabled for late 4.2
2014-11-14 20:50:13 +08:00
Ben Gruver
686cf35c8e
Add some additional checks related to instruction size
2014-11-06 23:03:46 -08:00
Ben Gruver
20d4a3c2b4
Use dlerror() to clear any error before retrying with the mangled name
...
Thanks to Catalin Ontanu for reporting this, and then doing more
investigation to find and test the solution.
2014-11-06 23:03:46 -08:00
Ben Gruver
e6423bd1e1
Merge pull request #23 from iBotPeaches/master
...
Implement dex entry for non classes.dex files
2014-11-06 21:33:56 -08:00
Connor Tumbleson
6811d13935
Implement dex entry for non classes.dex files
2014-11-06 23:09:44 -06:00
Ben Gruver
f3d063dd17
Merge pull request #24 from CalebFenton/master
...
Use 2.x 'param' directive
2014-11-06 17:47:14 -08:00
Caleb Fenton
45e4284c1d
Use 2.x 'param' directive
2014-10-10 14:17:57 -07:00
edwardxwu
d354893f71
Fixed the bug of not setting the location field of the instruction in addInstruction(i,instruction) method
2014-08-29 20:45:22 -07:00
Ben Gruver
f1fe3a0062
Merge pull request #21 from whydoubt/floating-point-values
...
Floating point values
2014-08-16 11:55:01 -07:00
Jeff Smith
9cc35b2d05
No need to reevaluate 'resource != null'
2014-08-15 14:25:38 -05:00
Ben Gruver
0d8418ff1f
Allow but ignore multiple exception handlers for the same exception
2014-07-21 18:54:30 -07:00
Ben Gruver
5316638892
Improve the readability of the newline normalization stuff for tests
2014-07-19 20:33:37 -07:00
Ben Gruver
4143313b05
Fix potential NPE in MethodAnalyzer
2014-07-19 20:27:00 -07:00
Ben Gruver
d33fd6773c
Implement implicit method/field references in baksmali
2014-07-19 20:26:50 -07:00
Ben Gruver
ce7f93cd79
Implement implicit method/field references in smali
2014-07-19 18:53:53 -07:00
Ben Gruver
a37e508ffa
Add missing "break" from switch statement in BuilderClassPool
2014-07-15 22:57:25 -07:00
Ben Gruver
5280047b42
Ensure the annotation elements are sorted when written
2014-07-15 22:54:41 -07:00
Ben Gruver
37ade89bda
Improve how method parameter lists are lexed
2014-02-17 14:23:39 -08:00
Jeff Smith
0b836342e2
Give comment-generating functions more precise naming
2014-02-17 00:08:50 -06:00
Jeff Smith
bfecccf113
Merge remote-tracking branch 'upstream/master' into floating-point-values
2014-02-16 22:29:04 -06:00
Ben Gruver
b90e2a4c62
Clean up some unused/unneeded tokens in smaliParser.g
2014-02-03 19:32:41 -08:00
Ben Gruver
2d8cbfe6bc
Add support for non-standard invoke-object-init/range instructions
2014-02-02 19:29:26 -08:00
Ben Gruver
a837380521
Upgrade to gradle 1.10
2014-02-02 12:49:44 -08:00
Ben Gruver
3b5d84c3ae
Truncate filenames based on their utf-8 length
2014-02-01 14:43:54 -08:00
Ben Gruver
dd2079cd53
Fix NPE when using a custom inline method table
2014-01-29 19:39:34 -08:00
Ben Gruver
15e44d5b8b
support c++ dalvik in deodexerant
2014-01-29 19:21:32 -08:00
Ben Gruver
4357de47e3
Add new experimental dex rewriter functionality
2014-01-18 20:34:30 -08:00
Ben Gruver
78328a6035
Minor comment fix in MutableMethodImplementation
2014-01-18 15:47:57 -08:00
Ben Gruver
1d28b32ff5
Refactor the maven upload build stuff
...
This also adds the required javadoc jars
2014-01-18 11:33:39 -08:00
Ben Gruver
0845df7dd0
Don't throw an exception in the build if the sonatype user/password isn't set
2014-01-17 02:40:12 -08:00
Ben Gruver
7cf2b33cbd
Bump the version to 2.0.3
2014-01-17 02:05:32 -08:00
Ben Gruver
5b411f3447
Add gradle configuration for uploading smali artifacts to maven
2014-01-17 02:04:07 -08:00
Ben Gruver
90db3a16b7
Lazily create the lists in MethodLocation
...
Millions of MethodLocations can be created and kept in memory when
using the Builder interface to build a large dex file. The arrays
backing these lists were taking up a large amount of memory.
2014-01-16 21:29:26 -08:00
Ben Gruver
532c04b27d
Use known-good locale when doing jflex codegen
...
jflex appears to be using the default locale for a String.toUpperCase
somewhere, which causes incorrect java code to be generated in the
turkish locale.
2013-12-29 14:51:09 -08:00
Ben Gruver
eae0b0edbf
Make sure we always shut down the executor
...
Previously, an ExecutionException from the task could cause the process
to hang, because the ExecutorService was never shut down
2013-12-12 01:37:14 -08:00
Ben Gruver
029ad25c66
Skip the call to String.format when annotating, if there are no values
2013-12-12 01:35:29 -08:00
Jeff Smith
86c677ba84
Merge remote-tracking branch 'upstream/master' into floating-point-values
2013-12-10 19:45:58 -06:00
Ben Gruver
fce4cc0c42
Replace use of System.lineSeparator(), to keep compatibility with java 6
2013-12-08 17:44:15 -08:00
Ben Gruver
338db9fdf7
Fix up option parsing code for resource id stuff to use 'i'
2013-12-08 17:44:15 -08:00
Ben Gruver
68564258a3
occured -> occurred
2013-12-08 17:44:15 -08:00
Ben Gruver
d0c0c84d66
Don't System.exit from baksmali.disassembleClass
2013-12-08 17:44:15 -08:00
Ben Gruver
65cb1628a0
Remove --check-package-private-access option
...
This ties the functionality to api >= 17
2013-12-08 17:44:15 -08:00
Ben Gruver
304aadf6e6
Allow primitive types for 21c instruction format (e.g. check-cast)
2013-12-08 17:44:15 -08:00
Ben Gruver
4f2620415d
Add better handling for various types of invalid instructions
2013-12-08 17:44:11 -08:00
Ben Gruver
9057764c22
Add ReferenceInstruction.getReferenceType()
2013-12-07 15:11:37 -08:00
Ben Gruver
d3ba85b2ee
Fix typo in method index OOB error message
2013-12-07 15:11:37 -08:00