23 Commits

Author SHA1 Message Date
JesusFreke@JesusFreke.com
83e6f4bb60 Changed the "from-scratch" constructor in the format classes to a static emit method
git-svn-id: https://smali.googlecode.com/svn/trunk@410 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-24 05:42:49 +00:00
JesusFreke@JesusFreke.com
613d7e6f69 Fixed typo in usage message
git-svn-id: https://smali.googlecode.com/svn/trunk@290 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-28 01:57:51 +00:00
JesusFreke@JesusFreke.com
1df7df69fa Changed ArrayDeque to LinkedList, for compatibility with java 5
git-svn-id: https://smali.googlecode.com/svn/trunk@258 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-07 01:43:12 +00:00
JesusFreke@JesusFreke.com
aaf4c4062a Fixed an issue with the handling of large line numbers (larger than a signed short)
git-svn-id: https://smali.googlecode.com/svn/trunk@231 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-03 02:13:54 +00:00
JesusFreke@JesusFreke.com
a537069854 Improved version handling
git-svn-id: https://smali.googlecode.com/svn/trunk@225 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-27 04:43:53 +00:00
JesusFreke@JesusFreke.com
dd5fc67202 Added support for the V type as a literal in annotations
git-svn-id: https://smali.googlecode.com/svn/trunk@223 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-25 07:14:58 +00:00
JesusFreke@JesusFreke.com
87f4a1a35e Added support for NaNd, NaNf, InfinityD, InfinityF, -InfinityD and -InfinityF constants
git-svn-id: https://smali.googlecode.com/svn/trunk@222 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-25 07:07:05 +00:00
JesusFreke@JesusFreke.com
69c3abb483 - fixed an issue where java.lang.Object from core.jar couldn't be re-assembled, because it has no superclass
git-svn-id: https://smali.googlecode.com/svn/trunk@221 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-25 04:38:00 +00:00
JesusFreke@JesusFreke.com
2cd9246976 Significant rewrite of the command line interface, using apache commons CLI
git-svn-id: https://smali.googlecode.com/svn/trunk@216 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 06:19:50 +00:00
JesusFreke@JesusFreke.com
ec857fcecd - Added the ability to sort the offsetted sections in a way that guarantees a unique order for a given set of items (helpful when trying to compare dex files)
- Fixed an issue with decodeLong in NumberUtils


git-svn-id: https://smali.googlecode.com/svn/trunk@209 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-22 07:57:13 +00:00
JesusFreke@JesusFreke.com
0871036088 Misc cleanup/refactoring
git-svn-id: https://smali.googlecode.com/svn/trunk@206 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 20:38:03 +00:00
JesusFreke@JesusFreke.com
bf4ca730cc Misc cleanup/refactoring
git-svn-id: https://smali.googlecode.com/svn/trunk@204 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 20:07:36 +00:00
JesusFreke@JesusFreke.com
ed91584410 Misc cleanup
git-svn-id: https://smali.googlecode.com/svn/trunk@201 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 08:03:39 +00:00
JesusFreke@JesusFreke.com
cae10ef11f Fixed an issue with the the --dump-to option, where it would always dump to classes.dump, regardless of the filename provided on the commandline
git-svn-id: https://smali.googlecode.com/svn/trunk@193 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-20 23:45:20 +00:00
JesusFreke@JesusFreke.com
8bb1d77b66 - Fixed an issue when decoding the index for instructions that contain an indexed item references
git-svn-id: https://smali.googlecode.com/svn/trunk@175 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-20 20:02:58 +00:00
JesusFreke@JesusFreke.com
1c9fcdee6d - Fixed an issue where smali didn't support class, method or field declarations with no access flags
- Added support for "null" encoded value literals

git-svn-id: https://smali.googlecode.com/svn/trunk@174 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-20 20:00:29 +00:00
JesusFreke@JesusFreke.com
45b5a1d0e3 Added support for the .catchall directive
git-svn-id: https://smali.googlecode.com/svn/trunk@168 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-19 03:14:06 +00:00
JesusFreke@JesusFreke.com
5f50a1a8b3 Cleaned up imports
git-svn-id: https://smali.googlecode.com/svn/trunk@161 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-18 01:56:53 +00:00
JesusFreke@JesusFreke.com
2fb16c8f4b Fixed an issue with alignment for the pseudo opcodes, and a test to exercise the issue
git-svn-id: https://smali.googlecode.com/svn/trunk@153 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-16 03:31:44 +00:00
JesusFreke@JesusFreke.com
a99ae3ba2b Split up the ANTLR executions again, so each file is in a seperate execute of the ANTLR plugin. This makes it possible to turn on debugging for just one file.
git-svn-id: https://smali.googlecode.com/svn/trunk@151 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-15 06:04:47 +00:00
JesusFreke@JesusFreke.com
3a76e6904b Changed the implementation of the sparse and packed switch directives, so that they don't required the base offset label. Instead, it looks for and uses the offset of the first packed/sparse switch instruction that references it, to calculate the offset for each target
git-svn-id: https://smali.googlecode.com/svn/trunk@150 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-15 06:02:49 +00:00
JesusFreke@JesusFreke.com
9a24119f62 further refactoring
added the beginnings of a smali plugin for maven



git-svn-id: https://smali.googlecode.com/svn/trunk@139 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-13 04:46:22 +00:00
JesusFreke@JesusFreke.com
57b5423285 Refactoring project
git-svn-id: https://smali.googlecode.com/svn/trunk@138 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-12 01:40:03 +00:00