Commit Graph

1722 Commits

Author SHA1 Message Date
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
d0c0c84d66 Don't System.exit from baksmali.disassembleClass 2013-12-08 17:44:15 -08:00
65cb1628a0 Remove --check-package-private-access option
This ties the functionality to api >= 17
2013-12-08 17:44:15 -08:00
304aadf6e6 Allow primitive types for 21c instruction format (e.g. check-cast) 2013-12-08 17:44:15 -08:00
4f2620415d Add better handling for various types of invalid instructions 2013-12-08 17:44:11 -08:00
9057764c22 Add ReferenceInstruction.getReferenceType() 2013-12-07 15:11:37 -08:00
d3ba85b2ee Fix typo in method index OOB error message 2013-12-07 15:11:37 -08:00
dc802b0660 Make CodeItem annotations more robust 2013-12-07 15:11:37 -08:00
d7cd52308e Fix an issue with nop opcodes with a non-null second byte 2013-12-07 15:11:37 -08:00
ee3fb21461 Merge pull request #19 from whydoubt/master
Match and comment on resource IDs while performing baksmali
2013-12-07 14:53:21 -08:00
490c8d0d0f Merge pull request #20 from eyecatchup/master
Make AnalysisTest.java cross-platform safe
2013-12-07 14:49:38 -08:00
58d2efb8e5 baksmali: Write comments about possible floating-point values 2013-12-05 09:13:12 -06:00
20b7bbf63e baksmali: Only perform resource ID lookup once 2013-11-19 17:10:38 -06:00
9cf653f093 baksmali: resource-id-files should not be a debug option 2013-11-19 17:10:32 -06:00
d607960cff baksmali: Reverse pair ordering in resource-id-files option 2013-11-19 08:31:52 -06:00
4d9d58829b Make AnalysisTest.java cross-platform compatible
Use System.lineSeparator() for cross-platform compatible line endings for runTest() method in AnalysisTest.java. The patch fixes build failures of type `org.jf.baksmali.AnalysisTest > DuplicateTest FAILED [junit.framework.ComparisonFailure at AnalysisTest.java:107]` on Windows systems.
2013-11-18 10:01:55 +01:00