9546ddf95a
Add registers directive so example will compile
2015-01-20 08:18:32 -08:00
e032f1d8c7
Refactor ClassFileNameHandler
...
This makes the logic quite a bit easier to follow, and fixes an issue
with the previous implementatation, where it didn't correctly handle
the case when were multiple long names that collided after being
shortened
2015-01-07 17:14:44 -08:00
e778f7b865
Make the checkPackagePrivateAccess functionality an option
...
This is only needed for 4.2.0, but not 4.2.1. Both are api 17, so we can't
tie this functionality to an api level.
2014-12-28 15:03:02 -08:00
83ec5cf9a3
Merge pull request #25 from yyjdelete/patch-1
...
checkPackagePrivateAccess only for API 17(4.2)
2014-12-28 14:49:44 -08:00
d83c439ce2
Fix some generics issues when compiling with java 8
2014-12-28 14:15:08 -08:00
0b42b4f41e
Disable doclint for java 8
2014-12-28 14:14:39 -08:00
aae58716e7
Fix some javadoc issues
2014-12-28 14:14:19 -08:00
d15e31526f
Expose the various fixed-size item counts in DexBackedDexFile
2014-12-28 12:25:03 -08:00
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
d1dbf6b14b
Use options.checkPackagePrivateAccess
2014-11-14 21:59:08 +08:00
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
686cf35c8e
Add some additional checks related to instruction size
2014-11-06 23:03:46 -08:00
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
e6423bd1e1
Merge pull request #23 from iBotPeaches/master
...
Implement dex entry for non classes.dex files
2014-11-06 21:33:56 -08:00
6811d13935
Implement dex entry for non classes.dex files
2014-11-06 23:09:44 -06:00
f3d063dd17
Merge pull request #24 from CalebFenton/master
...
Use 2.x 'param' directive
2014-11-06 17:47:14 -08:00
45e4284c1d
Use 2.x 'param' directive
2014-10-10 14:17:57 -07:00
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
f1fe3a0062
Merge pull request #21 from whydoubt/floating-point-values
...
Floating point values
2014-08-16 11:55:01 -07:00
9cc35b2d05
No need to reevaluate 'resource != null'
2014-08-15 14:25:38 -05:00
0d8418ff1f
Allow but ignore multiple exception handlers for the same exception
2014-07-21 18:54:30 -07:00
5316638892
Improve the readability of the newline normalization stuff for tests
2014-07-19 20:33:37 -07:00
4143313b05
Fix potential NPE in MethodAnalyzer
2014-07-19 20:27:00 -07:00
d33fd6773c
Implement implicit method/field references in baksmali
2014-07-19 20:26:50 -07:00
ce7f93cd79
Implement implicit method/field references in smali
2014-07-19 18:53:53 -07:00
a37e508ffa
Add missing "break" from switch statement in BuilderClassPool
2014-07-15 22:57:25 -07:00
5280047b42
Ensure the annotation elements are sorted when written
2014-07-15 22:54:41 -07:00
37ade89bda
Improve how method parameter lists are lexed
2014-02-17 14:23:39 -08:00
0b836342e2
Give comment-generating functions more precise naming
2014-02-17 00:08:50 -06:00
bfecccf113
Merge remote-tracking branch 'upstream/master' into floating-point-values
2014-02-16 22:29:04 -06:00
b90e2a4c62
Clean up some unused/unneeded tokens in smaliParser.g
2014-02-03 19:32:41 -08:00
2d8cbfe6bc
Add support for non-standard invoke-object-init/range instructions
2014-02-02 19:29:26 -08:00
a837380521
Upgrade to gradle 1.10
2014-02-02 12:49:44 -08:00
3b5d84c3ae
Truncate filenames based on their utf-8 length
2014-02-01 14:43:54 -08:00
dd2079cd53
Fix NPE when using a custom inline method table
2014-01-29 19:39:34 -08:00
15e44d5b8b
support c++ dalvik in deodexerant
2014-01-29 19:21:32 -08:00
4357de47e3
Add new experimental dex rewriter functionality
2014-01-18 20:34:30 -08:00
78328a6035
Minor comment fix in MutableMethodImplementation
2014-01-18 15:47:57 -08:00
1d28b32ff5
Refactor the maven upload build stuff
...
This also adds the required javadoc jars
2014-01-18 11:33:39 -08:00
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
7cf2b33cbd
Bump the version to 2.0.3
2014-01-17 02:05:32 -08:00
5b411f3447
Add gradle configuration for uploading smali artifacts to maven
2014-01-17 02:04:07 -08:00
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
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
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
029ad25c66
Skip the call to String.format when annotating, if there are no values
2013-12-12 01:35:29 -08:00
86c677ba84
Merge remote-tracking branch 'upstream/master' into floating-point-values
2013-12-10 19:45:58 -06:00
fce4cc0c42
Replace use of System.lineSeparator(), to keep compatibility with java 6
2013-12-08 17:44:15 -08:00
338db9fdf7
Fix up option parsing code for resource id stuff to use 'i'
2013-12-08 17:44:15 -08:00
68564258a3
occured -> occurred
2013-12-08 17:44:15 -08:00