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
Ben Gruver
83f77f51aa
Refactor how api specific Opcodes work (make them non-static)
2013-04-17 22:32:08 -07:00
Ben Gruver
8979759556
Gracefully handle duplicate fields/methods in baksmali
2013-04-13 18:55:34 -07:00
Ben Gruver
0a18ea7f8b
Separate direct/virtual methods and static/instance fields in the ClassDef interface
...
This is unfortunately required to support not-quite-well-formed dex files
containing duplicate static/instance fields, or duplicate direct/virtual methods,
which dalvik inadvertently allows.
In cases when there are duplicate fields/methods in the same category, we
unambiguously remove/hide the latter duplicate fields/methods.
2013-04-13 16:25:37 -07:00
Ben Gruver
5b99529feb
Remove unneeded TODO
2013-04-12 00:03:41 -07:00
Ben Gruver
2363e6e43c
Gracefully handle unknown instructions
2013-04-11 23:58:43 -07:00
Ben Gruver
5fa302678c
Add support for custom inline tables
2013-04-10 21:14:46 -07:00
Ben Gruver
a55990c876
Re-enable deodexing in baksmali
...
It's not quite working yet.
2013-04-09 23:45:48 -07:00
Ben Gruver
7172de2aab
Always write out the register info in numeric order
2013-04-09 21:17:38 -07:00
Ben Gruver
c017b06cd0
Add a register info test for the case of multiple start instructions
2013-04-09 20:34:22 -07:00
Ben Gruver
8c2d92d954
Enforce strict reference equality for uninit ref register types
2013-04-08 21:45:22 -07:00
Ben Gruver
3f05570b6b
Always use .equals for comparing RegisterType instances
2013-04-08 20:27:35 -07:00
Ben Gruver
d87770e69b
Add a test framework for baksmali
...
This also adds a test for register info comments in constructors
2013-04-08 00:09:15 -07:00
Ben Gruver
93aa50139c
Refactor the way the baksmali options are handled
2013-04-08 00:09:15 -07:00
Ben Gruver
c91b03ba45
Add support for generating register information
2013-04-08 00:09:15 -07:00
Ben Gruver
ffe82bdcb5
Fully remove the dependency on the old dexlib from baksmali
2013-04-08 00:09:15 -07:00
Ben Gruver
92d690894a
Remove some unneeded baksmali command line options
2013-04-08 00:09:15 -07:00
Ben Gruver
db7795ffaa
Add support for odex format 20bc
2013-03-09 20:35:26 -08:00
Ben Gruver
61277b50b3
Add support for odex formats 3rms and 3rmi
2013-03-09 19:28:19 -08:00