Ben Gruver
f5d3fc4a6d
Switch the default for implicit references
2015-01-20 19:01:18 -08:00
Ben Gruver
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
yyjdelete
d1dbf6b14b
Use options.checkPackagePrivateAccess
2014-11-14 21:59:08 +08:00
Connor Tumbleson
6811d13935
Implement dex entry for non classes.dex files
2014-11-06 23:09:44 -06: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
5316638892
Improve the readability of the newline normalization stuff for tests
2014-07-19 20:33:37 -07:00
Ben Gruver
d33fd6773c
Implement implicit method/field references in baksmali
2014-07-19 20:26:50 -07: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
dd2079cd53
Fix NPE when using a custom inline method table
2014-01-29 19:39:34 -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
5b411f3447
Add gradle configuration for uploading smali artifacts to maven
2014-01-17 02:04:07 -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
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
4f2620415d
Add better handling for various types of invalid instructions
2013-12-08 17:44:11 -08:00
Ben Gruver
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
Jeff Smith
58d2efb8e5
baksmali: Write comments about possible floating-point values
2013-12-05 09:13:12 -06:00
Jeff Smith
20b7bbf63e
baksmali: Only perform resource ID lookup once
2013-11-19 17:10:38 -06:00
Jeff Smith
9cf653f093
baksmali: resource-id-files should not be a debug option
2013-11-19 17:10:32 -06:00
Jeff Smith
d607960cff
baksmali: Reverse pair ordering in resource-id-files option
2013-11-19 08:31:52 -06:00
Stephan Schmitz
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
Jeff Smith
eb0b009971
baksmali: resource IDs are 32-bit
2013-11-14 15:14:57 -06:00
Jeff Smith
7e9231a211
baksmali: Write comments about matched resource IDs
2013-11-11 19:44:31 -06:00
Jeff Smith
29d4ccc8a9
baksmali: add command-line option to specify resource ID files
2013-11-11 19:44:24 -06:00
Ben Gruver
318954d56b
Don't attempt to create the smali.jar/baksmali.jar symlinks on windows.
...
Unsurprisingly, ant.symlink is unsupported on windows.
2013-11-10 22:19:48 -08:00
Ben Gruver
7a03efcac6
Attempt to fix test for windows... again.
2013-10-10 20:41:36 -07:00
Ben Gruver
44c5c07c57
Don't output parameter names when using the -b/--no-debug-info option
2013-09-28 17:55:52 -07:00
Ben Gruver
f7d6d5fade
Gracefully handle instructions with invalid references
2013-09-14 19:53:21 -07:00
Ben Gruver
f9bcf89674
Attempt to fix tests for windows
2013-09-14 13:59:02 -07:00
Ben Gruver
49fa5f5f44
Don't crash if the smali/baksmali.properties file can't be found
2013-06-01 13:44:23 -07:00
Ben Gruver
13705697c2
Clean up how the classes are sorted before being disassembled
2013-05-18 17:36:25 -07:00
Ben Gruver
74436bdd2f
Fix issues with initialization of bootClassPath and inlineResolver
2013-05-12 20:55:10 -07:00
Ben Gruver
dea5f8d544
Exit with non-zero status if any error occurred while running baksmali
2013-05-12 12:32:08 -07:00
Ben Gruver
7e25c35df7
Make baksmali thread safe, and add -j option
2013-05-12 12:31:24 -07:00
Ben Gruver
4b171afedb
Misc baksmali cleanup
2013-05-11 13:37:19 -07:00
Ben Gruver
2a91095e8c
Fix up proguard configuration
2013-05-07 00:05:34 -07:00
Ben Gruver
5b69a5f3a5
Merge remote-tracking branch 'izzy_github/deodex2' into dexlib_redesign
...
Conflicts:
dexlib2/src/main/java/org/jf/dexlib2/analysis/ClassPath.java
2013-05-06 21:13:55 -07:00
Ben Gruver
d38f3a7983
Fix up line number handling to be unsigned int safe
2013-05-03 19:35:47 -07:00
Ben Gruver
936cc551f7
Clean up some TODOs
2013-04-30 21:57:08 -07:00
Izzat Bahadirov
03b8247850
Renamed getVersion() to getOdexVersion() in DexBackedOdexFile.
2013-04-29 16:27:45 -04:00
Ben Gruver
1bf6f23245
Implementation of new generificationified writer functionality
2013-04-27 22:23:30 -07:00
Izzat Bahadirov
9c72df65f7
Using standard InlineMethodResolver if no custom one is provided.
2013-04-22 14:00:49 -04:00
Ben Gruver
b6435e7a47
Add support to smali for a .source directive with no source file
2013-04-18 00:27:16 -07:00
Ben Gruver
3e4e5ec7a4
Change .param and .local syntax, to be able to handle empty name/type/signature
2013-04-18 00:17:34 -07:00